Skip to content

Commit

Permalink
fix: plato upgrade contract code (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
setunapo authored May 17, 2023
1 parent 781c3b4 commit b584fa5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/systemcontracts/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,10 @@ func UpgradeBuildInSystemContract(config *chain.Config, blockNumber *big.Int, st
applySystemContractUpgrade(LubanUpgrade[config.ChainName], blockNumber, statedb, logger)
}

if config.IsOnPlato(blockNumber) {
applySystemContractUpgrade(PlatoUpgrade[config.ChainName], blockNumber, statedb, logger)
}

/*
apply other upgrades
*/
Expand Down

0 comments on commit b584fa5

Please sign in to comment.