diff --git a/core/vm/runtime/env.go b/core/vm/runtime/env.go index de3e8d4ae2..afd14e73cd 100644 --- a/core/vm/runtime/env.go +++ b/core/vm/runtime/env.go @@ -41,6 +41,7 @@ func NewEnv(cfg *Config) *vm.EVM { BaseFee: cfg.BaseFee, BlobBaseFee: cfg.BlobBaseFee, Random: cfg.Random, + SlotNum: cfg.SlotNum, CostPerStateByte: params.CostPerStateByte, } diff --git a/core/vm/runtime/runtime.go b/core/vm/runtime/runtime.go index f7554fbfd8..182c7b7c1a 100644 --- a/core/vm/runtime/runtime.go +++ b/core/vm/runtime/runtime.go @@ -49,6 +49,7 @@ type Config struct { BlobHashes []common.Hash BlobFeeCap *big.Int Random *common.Hash + SlotNum uint64 State *state.StateDB GetHashFn func(n uint64) common.Hash