Skip to content

Commit

Permalink
Modify Upgrade Handler (#335)
Browse files Browse the repository at this point in the history
* modify upgrade due to Khanh, Vuong, and Long having backed out of their stated agreement twice.

* refactor: change UpgradeName

* deps: bump cosmos-sdk

---------

Co-authored-by: Khanh Hoa <[email protected]>
Co-authored-by: Sen Com <[email protected]>
  • Loading branch information
3 people authored Feb 29, 2024
1 parent 3710f56 commit 979ad18
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 367 deletions.
4 changes: 1 addition & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import (
"github.com/rakyll/statik/fs"

v3_0_2 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v3_0_2"
v4 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_1_1"
v4 "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/app/upgrades/v4_1_2"

// unnamed import of statik for swagger UI support
_ "github.com/White-Whale-Defi-Platform/migaloo-chain/v4/client/docs/statik"
Expand Down Expand Up @@ -1150,8 +1150,6 @@ func (app *MigalooApp) setupUpgradeHandlers() {
app.ConsensusParamsKeeper,
app.ICAControllerKeeper,
app.AccountKeeper,
*app.StakingKeeper,
app.BankKeeper,
),
)

Expand Down
9 changes: 0 additions & 9 deletions app/upgrades/v4_1_1/constants.go

This file was deleted.

48 changes: 0 additions & 48 deletions app/upgrades/v4_1_1/mainnet_account.go

This file was deleted.

204 changes: 0 additions & 204 deletions app/upgrades/v4_1_1/upgrades.go

This file was deleted.

102 changes: 0 additions & 102 deletions app/upgrades/v4_1_1/upgrades_test.go

This file was deleted.

7 changes: 7 additions & 0 deletions app/upgrades/v4_1_2/constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package v4

// UpgradeName defines the on-chain upgrade name for the Migaloo v4.1.2 upgrade.
// this upgrade includes the fix for pfm
const (
UpgradeName = "v4.1.2"
)
Loading

0 comments on commit 979ad18

Please sign in to comment.