forked from osmosis-labs/osmosis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
27 lines (20 loc) · 875 Bytes
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package v9
import (
"github.com/MonOsmosis/osmosis/v10/app/upgrades"
store "github.com/cosmos/cosmos-sdk/store/types"
icahosttypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/host/types"
tokenfactorytypes "github.com/MonOsmosis/osmosis/v10/x/tokenfactory/types"
)
// UpgradeName defines the on-chain upgrade name for the Osmosis v9 upgrade.
const UpgradeName = "v9"
// The historic name of the claims module, which is removed in this release.
// Cross-check against https://github.com/MonOsmosis/osmosis/blob/v7.2.0/x/claim/types/keys.go#L5
const ClaimsModuleName = "claim"
var Upgrade = upgrades.Upgrade{
UpgradeName: UpgradeName,
CreateUpgradeHandler: CreateUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{
Added: []string{tokenfactorytypes.ModuleName, icahosttypes.StoreKey},
Deleted: []string{ClaimsModuleName},
},
}