Skip to content

Commit

Permalink
remove the upgrade handler code that tried remove proposal..
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed Mar 27, 2024
1 parent 40b1a4d commit 4e51b63
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions app/upgrades/v6_5_0/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ func CreateUpgradeHandler(
keepers.IbcTransferMiddlewareKeeper.SetParams(ctx, custommiddlewareparams.Params)

// remove broken proposals
BrokenProposals := [3]uint64{2, 6, 11}
for _, proposal_id := range BrokenProposals {
_, ok := keepers.GovKeeper.GetProposal(ctx, proposal_id)
if ok {
keepers.GovKeeper.DeleteProposal(ctx, proposal_id)
}

}
// BrokenProposals := [3]uint64{2, 6, 11}
// for _, proposal_id := range BrokenProposals {
// _, ok := keepers.GovKeeper.GetProposal(ctx, proposal_id)
// if ok {
// keepers.GovKeeper.DeleteProposal(ctx, proposal_id)
// }
// }

// burn extra ppica in escrow account
// this ppica is unused because it is a native token stored in escrow account
Expand Down

0 comments on commit 4e51b63

Please sign in to comment.