mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
Merge 2ebca53bd6 into dddbaa4bf3
This commit is contained in:
commit
841178fbc7
2 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue