Revert "core/vm/runtime: Add Random field to config (#28001)"

This reverts commit d1920b4ffe.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 92fd5bcef6
commit 674303b4d2
2 changed files with 0 additions and 2 deletions

View file

@ -37,7 +37,6 @@ func NewEnv(cfg *Config) *vm.EVM {
Difficulty: cfg.Difficulty,
GasLimit: cfg.GasLimit,
BaseFee: cfg.BaseFee,
Random: cfg.Random,
}
return vm.NewEVM(blockContext, txContext, cfg.State, cfg.ChainConfig, cfg.EVMConfig)

View file

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