index
:
coreth
Avalanche C-Chain service code.
log msg
author
committer
range
dev
devnet-no-plugin
ecstasy-fixes
ecstasy-transfer
geth-tavum
master
multi-coin
about
summary
refs
log
tree
commit
diff
path:
root
/
core
/
vm
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Aaron Buchwald <aaron.buchwald56@gmail.com>
2020-12-15 17:30:03 -0500
committer
Aaron Buchwald <aaron.buchwald56@gmail.com>
2020-12-15 17:30:03 -0500
commit
cc2a13f91f95bd377f5c3efb86ebbcc7096f6d97
(
patch
)
tree
141d6f6a5a6f1d73ea934f2923ec439f6ca1ef69
/
core/vm
parent
b892b31f7f9bc9a63eb9774e7fbe0b5cd82891ae
(
diff
)
Set chain rules based on block times for mainnet/fuji
Diffstat
(limited to 'core/vm')
-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),
}