cmd/geth: add flag --dev.gaslimit for dev mode (#23686)

* cmd, core: add flag --dev.gaslimit to allow configuring initial block gas limit in dev mode

* core: use provided gaslimit

Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
Jesse Tane
2021-11-16 13:45:02 +01:00
committed by GitHub
co-authored by Martin Holst Swende
parent b7a6409cc1
commit 33f2813809
6 changed files with 12 additions and 5 deletions
+1
View File
@@ -140,6 +140,7 @@ var (
utils.MainnetFlag,
utils.DeveloperFlag,
utils.DeveloperPeriodFlag,
utils.DeveloperGasLimitFlag,
utils.RopstenFlag,
utils.SepoliaFlag,
utils.RinkebyFlag,
+1
View File
@@ -75,6 +75,7 @@ var AppHelpFlagGroups = []flags.FlagGroup{
Flags: []cli.Flag{
utils.DeveloperFlag,
utils.DeveloperPeriodFlag,
utils.DeveloperGasLimitFlag,
},
},
{