Skip to content

Commit

Permalink
Merge pull request #2867 from irisnet/yuandu/v2.1.x
Browse files Browse the repository at this point in the history
clean code
  • Loading branch information
aofengli authored Oct 12, 2023
2 parents f3778fb + 465f0ef commit 664dda4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/upgrades/v210/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,6 @@ func upgradeHandlerConstructor(
app upgrades.AppKeepers,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
// this migration is optional
// add proposal ids with proposers which are active (deposit or voting period)
// proposals := make(map[uint64]string)
// proposals[1] = "cosmos1luyncewxk4lm24k6gqy8y5dxkj0klr4tu0lmnj"
// v4.AddProposerAddressToProposal(
// ctx,
// sdk.NewKVStoreKey(v4.ModuleName),
// app.AppCodec,
// proposals,
// )

// Enable 09-localhost type in allowed clients according to
// https://github.com/cosmos/ibc-go/blob/v7.3.0/docs/migrations/v7-to-v7_1.md
params := app.IBCKeeper.ClientKeeper.GetParams(ctx)
Expand Down

0 comments on commit 664dda4

Please sign in to comment.