fixstrays

package
v2.1.1-0...-d24ec66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 9 Imported by: 0

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) Name

func (u *Upgrade) Name() string

Name implements upgrades.Upgrade

func (*Upgrade) StoreUpgrades

func (u *Upgrade) StoreUpgrades() *storetypes.StoreUpgrades

StoreUpgrades implements upgrades.Upgrade

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL