v3

package
v0.47.15-ics-lsm Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 9

README

IMPORTANT

The migration history of the cosmos-sdk line with LSM diverges from the mainline cosmos-sdk.

Migrations in this directory were not executed.

The cosmos-sdk migration has that was executed on for cosmos-sdk@v0.45.16-ics-lsm is in ./lsm directory. All files under ./lsm are excluded from the build process and kept for posterity.

Documentation

Index

Constants

View Source
const (
	// ModuleName is the name of the module
	ModuleName = "staking"
)

Variables

This section is empty.

Functions

func MigrateJSON

func MigrateJSON(oldState types.GenesisState) (types.GenesisState, error)

MigrateJSON accepts exported v0.43 x/stakinng genesis state and migrates it to v0.46 x/staking genesis state. The migration includes:

- Add MinCommissionRate param.

func MigrateStore

func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec, paramstore exported.Subspace) error

MigrateStore performs in-place store migrations from v0.43/v0.44/v0.45 to v0.46. The migration includes:

- Setting the MinCommissionRate param in the paramstore

Types

This section is empty.

Jump to

Keyboard shortcuts

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