Add hoodi testnet flag (#15057)

* Add hoodi testnet flag

* Add upstream test

* Fix test
This commit is contained in:
terence
2025-03-16 22:49:27 -07:00
committed by GitHub
parent 4e44999207
commit 5c24978702
15 changed files with 139 additions and 0 deletions

View File

@@ -106,6 +106,10 @@ func cliActionRequestBlocks(cliCtx *cli.Context) error {
if err := params.SetActive(params.HoleskyConfig()); err != nil {
log.Fatal(err)
}
case params.HoodiName:
if err := params.SetActive(params.HoodiConfig()); err != nil {
log.Fatal(err)
}
case params.MainnetName:
// Do nothing
default:

View File

@@ -169,6 +169,7 @@ var Commands = []*cli.Command{
features.Mainnet,
features.SepoliaTestnet,
features.HoleskyTestnet,
features.HoodiTestnet,
cmd.AcceptTosFlag,
}),
Before: func(cliCtx *cli.Context) error {