diff options
author | Aaron Buchwald <[email protected]> | 2020-12-15 17:30:03 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-12-15 17:30:03 -0500 |
commit | cc2a13f91f95bd377f5c3efb86ebbcc7096f6d97 (patch) | |
tree | 141d6f6a5a6f1d73ea934f2923ec439f6ca1ef69 /core | |
parent | b892b31f7f9bc9a63eb9774e7fbe0b5cd82891ae (diff) |
Set chain rules based on block times for mainnet/fuji
Diffstat (limited to 'core')
-rw-r--r-- | core/vm/evm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/evm.go b/core/vm/evm.go index ab04790..fe840da 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -152,7 +152,7 @@ func NewEVM(ctx Context, statedb StateDB, chainConfig *params.ChainConfig, vmCon StateDB: statedb, vmConfig: vmConfig, chainConfig: chainConfig, - chainRules: chainConfig.Rules(ctx.BlockNumber), + chainRules: chainConfig.AvalancheRules(ctx.BlockNumber, ctx.Time), interpreters: make([]Interpreter, 0, 1), } |