upgrade

package
v8.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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