aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/evm/vm.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index fc571b9..2732a79 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -243,11 +243,10 @@ func (vm *VM) Initialize(
// TODO switch to correct block number of the fork
switch {
case g.Config.ChainID.Cmp(params.AvalancheMainnetChainID) == 0:
- g.Config.ApricotBlock = nil
+ g.Config = params.AvalancheApricotMainnetChainConfig
case g.Config.ChainID.Cmp(params.AvalancheFujiChainID) == 0:
- g.Config.ApricotBlock = nil
+ g.Config = params.AvalancheApricotFujiChainConfig
}
-
vm.acceptedDB = prefixdb.New([]byte(acceptedPrefix), db)
vm.chainID = g.Config.ChainID