diff --git a/CHANGELOG.md b/CHANGELOG.md index 42d353e5fb..24e4cf2a79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +*Nov 17, 2022* + +## v1.0.0-rc4 + +### Bug Fixes + +- [#771](https://github.com/crypto-org-chain/cronos/pull/771) Fix london hardfork number in testnet3 parameters. + +*Nov 13, 2022* + ## v1.0.0-rc3 ### State Machine Breaking diff --git a/app/upgrades.go b/app/upgrades.go index 5924fc24dd..9879900838 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -3,6 +3,7 @@ package app import ( "fmt" + sdkmath "cosmossdk.io/math" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" @@ -21,6 +22,11 @@ func (app *App) RegisterUpgradeHandlers(experimental bool) { // Ref: https://github.com/crypto-org-chain/cronos/issues/755 params := app.EvmKeeper.GetParams(ctx) params.ExtraEIPs = []int64{} + + // fix the incorrect value on testnet parameters + zero := sdkmath.ZeroInt() + params.ChainConfig.LondonBlock = &zero + app.EvmKeeper.SetParams(ctx, params) return m, nil }