Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 6, 2023
1 parent 868b94a commit 36f74a2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
clientkeeper "github.com/cosmos/ibc-go/v7/modules/core/02-client/keeper"
"github.com/cosmos/ibc-go/v7/modules/core/exported"
ibctmmigrations "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint/migrations"
cronosparamstypes "github.com/crypto-org-chain/cronos/v2/x/cronos/types"
cronostypes "github.com/crypto-org-chain/cronos/v2/x/cronos/types"
icaauthtypes "github.com/crypto-org-chain/cronos/v2/x/icaauth/types"
v0evmtypes "github.com/evmos/ethermint/x/evm/migrations/v0/types"
Expand Down Expand Up @@ -126,8 +125,10 @@ func (app *App) RegisterUpgradeHandlers(cdc codec.BinaryCodec, clientKeeper clie
return m, err
}
params := app.CronosKeeper.GetParams(ctx)
params.MaxCallbackGas = cronosparamstypes.MaxCallbackGasDefaultValue
app.CronosKeeper.SetParams(ctx, params)
params.MaxCallbackGas = cronostypes.MaxCallbackGasDefaultValue
if err := app.CronosKeeper.SetParams(ctx, params); err != nil {
return m, err
}
return m, nil

Check warning on line 132 in app/upgrades.go

View check run for this annotation

Codecov / codecov/patch

app/upgrades.go#L123-L132

Added lines #L123 - L132 were not covered by tests
})

Expand Down

0 comments on commit 36f74a2

Please sign in to comment.