aboutsummaryrefslogtreecommitdiff
path: root/core/vm
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-12-15 17:30:03 -0500
committerAaron Buchwald <[email protected]>2020-12-15 17:30:03 -0500
commitcc2a13f91f95bd377f5c3efb86ebbcc7096f6d97 (patch)
tree141d6f6a5a6f1d73ea934f2923ec439f6ca1ef69 /core/vm
parentb892b31f7f9bc9a63eb9774e7fbe0b5cd82891ae (diff)
Set chain rules based on block times for mainnet/fuji
Diffstat (limited to 'core/vm')
-rw-r--r--core/vm/evm.go2
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),
}