cmd/evm: default to mirror mainnet forks enabled (#28691)

cmd/evm:  default to using dev chain config (all mainnet HFs activated at block/timestamp 0
This commit is contained in:
jwasinger 2023-12-18 20:56:27 +08:00 committed by GitHub
parent 02766d349a
commit 05bbc56677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ func runCmd(ctx *cli.Context) error {
initialGas = genesisConfig.GasLimit initialGas = genesisConfig.GasLimit
} }
} else { } else {
genesisConfig.Config = params.AllEthashProtocolChanges genesisConfig.Config = params.AllDevChainProtocolChanges
} }
db := rawdb.NewMemoryDatabase() db := rawdb.NewMemoryDatabase()