Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, paramsSubspace *paramstypes.Subspace) error
MigrateStore performs in-place store migrations from v2 to v3 The things done here are the following: 1. setting up the next reason id and report id keys for existing subspaces 2. setting up the module params
Types ¶
type Upgrade ¶
type Upgrade struct {
// contains filtered or unexported fields
}
Upgrade represents the v4 upgrade
func NewUpgrade ¶
func NewUpgrade(mm *module.Manager, configurator module.Configurator, storeageKeeper storagemodulekeeper.Keeper) *Upgrade
NewUpgrade returns a new Upgrade instance
func (*Upgrade) Handler ¶
func (u *Upgrade) Handler() upgradetypes.UpgradeHandler
Handler implements upgrades.Upgrade
func (*Upgrade) StoreUpgrades ¶
func (u *Upgrade) StoreUpgrades() *storetypes.StoreUpgrades
StoreUpgrades implements upgrades.Upgrade
Click to show internal directories.
Click to hide internal directories.