This commit is contained in:
cui 2026-07-17 21:53:00 -07:00 committed by GitHub
commit 841178fbc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@ func NewEnv(cfg *Config) *vm.EVM {
BaseFee: cfg.BaseFee, BaseFee: cfg.BaseFee,
BlobBaseFee: cfg.BlobBaseFee, BlobBaseFee: cfg.BlobBaseFee,
Random: cfg.Random, Random: cfg.Random,
SlotNum: cfg.SlotNum,
CostPerStateByte: params.CostPerStateByte, CostPerStateByte: params.CostPerStateByte,
} }

View file

@ -49,6 +49,7 @@ type Config struct {
BlobHashes []common.Hash BlobHashes []common.Hash
BlobFeeCap *big.Int BlobFeeCap *big.Int
Random *common.Hash Random *common.Hash
SlotNum uint64
State *state.StateDB State *state.StateDB
GetHashFn func(n uint64) common.Hash GetHashFn func(n uint64) common.Hash