cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370)

This PR fully removes the --miner.gastarget flag, as previously it was only hidden from the geth --help command, but could still be used.
This commit is contained in:
Zachinquarantine
2022-09-23 22:32:10 +02:00
committed by GitHub
parent 3da42f85d9
commit 15b4a4bf2e
5 changed files with 3 additions and 27 deletions
-3
View File
@@ -1649,9 +1649,6 @@ func setMiner(ctx *cli.Context, cfg *miner.Config) {
if ctx.IsSet(MinerNoVerifyFlag.Name) {
cfg.Noverify = ctx.Bool(MinerNoVerifyFlag.Name)
}
if ctx.IsSet(LegacyMinerGasTargetFlag.Name) {
log.Warn("The generic --miner.gastarget flag is deprecated and will be removed in the future!")
}
}
func setRequiredBlocks(ctx *cli.Context, cfg *ethconfig.Config) {