Skip to content

Commit

Permalink
Update plugin/evm/vm.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Darioush Jalali <[email protected]>
  • Loading branch information
darioush and StephenButtolph authored Jan 26, 2024
1 parent 259f85f commit 127a95b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/evm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ func (vm *VM) Initialize(
}

mandatoryNetworkUpgrades := params.GetMandatoryNetworkUpgrades(chainCtx.NetworkID)
if chainCtx.NetworkID == avalanchegoConstants.MainnetID ||
chainCtx.NetworkID == avalanchegoConstants.FujiID {
if avalanchegoConstants.ProductionNetworkIDs.Contains(chainCtx.NetworkID) {
// We enforce network upgrades here, regardless of the chain config
// provided in the genesis file
g.Config.MandatoryNetworkUpgrades = mandatoryNetworkUpgrades
Expand Down

0 comments on commit 127a95b

Please sign in to comment.