upgrade

package
v8.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 32 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 BurnSurplusSupply

func BurnSurplusSupply(ctx context.Context, authority string, accountKeeper authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper) error

BurnSurplusSupply performs a burn of the surplus $STAKE supply.

func CreateStoreLoader

func CreateStoreLoader(upgradeHeight int64) baseapp.StoreLoader

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	cfg module.Configurator,
	cdc codec.Codec,
	logger log.Logger,
	capabilityStoreKey *storetypes.KVStoreKey,
	accountKeeper authkeeper.AccountKeeper,
	authorityKeeper *authoritykeeper.Keeper,
	bankKeeper bankkeeper.Keeper,
	capabilityKeeper *capabilitykeeper.Keeper,
	clientKeeper clientkeeper.Keeper,
	consensusKeeper consensuskeeper.Keeper,
	paramsKeeper paramskeeper.Keeper,
	stakingKeeper *stakingkeeper.Keeper,
) upgradetypes.UpgradeHandler

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