Skip to content

Commit

Permalink
another additions
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown unknown committed Aug 27, 2024
1 parent f994046 commit 67ee80b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
5 changes: 3 additions & 2 deletions app/app_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
upgrade4_0_2 "github.com/archway-network/archway/app/upgrades/4_0_2"
upgrade6_0_0 "github.com/archway-network/archway/app/upgrades/6_0_0"
upgrade7_0_0 "github.com/archway-network/archway/app/upgrades/7_0_0"
upgrade8_0_0 "github.com/archway-network/archway/app/upgrades/8_0_0"
upgrade9_0_0 "github.com/archway-network/archway/app/upgrades/9_0_0"
)

// UPGRADES
Expand All @@ -28,7 +28,8 @@ var Upgrades = []upgrades.Upgrade{
upgrade4_0_2.Upgrade, // v4.0.2
upgrade6_0_0.Upgrade, // v6.0.0
upgrade7_0_0.Upgrade, // v7.0.0
upgrade8_0_0.Upgrade, // v8.0.0
// upgrade8_0_0.Upgrade, // v8.0.0: was reserved for a consensus breaking wasmd upgrade
upgrade9_0_0.Upgrade, // v9.0.0
}

func (app *ArchwayApp) RegisterUpgradeHandlers() {
Expand Down
19 changes: 11 additions & 8 deletions app/upgrades/8_0_0/upgrades.go → app/upgrades/9_0_0/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ import (
upgradetypes "cosmossdk.io/x/upgrade/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
ibchookstypes "github.com/cosmos/ibc-apps/modules/ibc-hooks/v8/types"

"github.com/archway-network/archway/app/keepers"
"github.com/archway-network/archway/app/upgrades"
)

const Name = "v8.0.0"
const NameAsciiArt = `
### ### ###
# # # # # # # #
# # ### # # # #
# # # # # # #
### # ### # ###
const Name = "v9.0.0"
const NameAsciiArt = `
### ### ###
# # # # # # # #
# # ## # # # #
# # # # # #
### # ### # ###
`

Expand All @@ -35,5 +36,7 @@ var Upgrade = upgrades.Upgrade{
return migrations, nil
}
},
StoreUpgrades: storetypes.StoreUpgrades{},
StoreUpgrades: storetypes.StoreUpgrades{
Added: []string{ibchookstypes.StoreKey},
},
}

0 comments on commit 67ee80b

Please sign in to comment.