-
Notifications
You must be signed in to change notification settings - Fork 609
/
constants.go
31 lines (26 loc) · 1.03 KB
/
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
28
29
30
31
package v15
import (
store "cosmossdk.io/store/types"
packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward/types"
icqtypes "github.com/cosmos/ibc-apps/modules/async-icq/v8/types"
"github.com/osmosis-labs/osmosis/v28/app/upgrades"
poolmanagertypes "github.com/osmosis-labs/osmosis/v28/x/poolmanager/types"
protorevtypes "github.com/osmosis-labs/osmosis/v28/x/protorev/types"
valsetpreftypes "github.com/osmosis-labs/osmosis/v28/x/valset-pref/types"
)
// UpgradeName defines the on-chain upgrade name for the Osmosis v15 upgrade.
const UpgradeName = "v15"
// pool ids to migrate
const (
stOSMO_OSMOPoolId = 833
stJUNO_JUNOPoolId = 817
stSTARS_STARSPoolId = 810
)
var Upgrade = upgrades.Upgrade{
UpgradeName: UpgradeName,
CreateUpgradeHandler: CreateUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{
Added: []string{poolmanagertypes.StoreKey, valsetpreftypes.StoreKey, protorevtypes.StoreKey, icqtypes.StoreKey, packetforwardtypes.StoreKey},
Deleted: []string{},
},
}