v3

package
v1.2.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateParams

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

MigrateParams migrates the x/cfeminter module state from the consensus version 2 to version 3. Specifically, it takes the parameters that are currently stored and managed by the x/params module and stores them directly into the x/cfeminter module state. The migration also includes: - cfeminter module refactoring - delete type field from minterConfig - minter config is now of type Any rather than using 2 fields (LinearMinting and ExponentialStepMinting) - MinterConfig was deleted and minters and start-time was moved directly to cfeminter params

Types

This section is empty.

Jump to

Keyboard shortcuts

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