Documentation
¶
Index ¶
- Constants
- func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader
- func CreateUpgradeHandler(mm *module.Manager, cfg module.Configurator, cdc codec.Codec, ...) upgradetypes.UpgradeHandler
- func GetModuleMessages(registry codectypes.InterfaceRegistry, name string) (messages []string)
- func MigrateValidatorAccounts(ctx context.Context, accountKeeper authkeeper.AccountKeeper, ...)
Constants ¶
View Source
const UpgradeASCII = `` /* 166-byte string literal not displayed */
View Source
const UpgradeName = "helium"
UpgradeName is the name of this specific software upgrade used on-chain.
Variables ¶
This section is empty.
Functions ¶
func CreateStoreLoader ¶
func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, cfg module.Configurator, cdc codec.Codec, registry codectypes.InterfaceRegistry, logger log.Logger, capabilityStoreKey *storetypes.KVStoreKey, accountKeeper authkeeper.AccountKeeper, authorityKeeper *authoritykeeper.Keeper, bankKeeper bankkeeper.Keeper, capabilityKeeper *capabilitykeeper.Keeper, clientKeeper clientkeeper.Keeper, consensusKeeper consensuskeeper.Keeper, globalFeeKeeper *globalfeekeeper.Keeper, paramsKeeper paramskeeper.Keeper, stakingKeeper *stakingkeeper.Keeper, ) upgradetypes.UpgradeHandler
func GetModuleMessages ¶
func GetModuleMessages(registry codectypes.InterfaceRegistry, name string) (messages []string)
GetModuleMessages is a utility that returns all messages registered by a module.
func MigrateValidatorAccounts ¶
func MigrateValidatorAccounts(ctx context.Context, accountKeeper authkeeper.AccountKeeper, stakingKeeper *stakingkeeper.Keeper)
MigrateValidatorAccounts performs a migration of all validator operators to permanently locked vesting accounts. NOTE: In a future upgrade, think about clawing back inactive validator staking tokens.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.