core/vm: evm fix panic (#23047)
* core/vm: evm fix panic * core/vm/runtime: default to params.initialbasefee
This commit is contained in:
committed by
GitHub
parent
ae315ef7a1
commit
080b6ebe91
@ -35,6 +35,7 @@ func NewEnv(cfg *Config) *vm.EVM {
|
||||
Time: cfg.Time,
|
||||
Difficulty: cfg.Difficulty,
|
||||
GasLimit: cfg.GasLimit,
|
||||
BaseFee: cfg.BaseFee,
|
||||
}
|
||||
|
||||
return vm.NewEVM(blockContext, txContext, cfg.State, cfg.ChainConfig, cfg.EVMConfig)
|
||||
|
Reference in New Issue
Block a user