upgrades

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Upgrade_0_22_0 = Upgrade{
	UpgradeName:          "v0.22.0",
	CreateUpgradeHandler: v0_22_0_UpgradeHandler,
	StoreUpgrades:        store.StoreUpgrades{},
}
View Source
var Upgrade_0_23_0 = Upgrade{
	UpgradeName:          "v0.23.0",
	CreateUpgradeHandler: v0_23_0_UpgradeHandler,
	StoreUpgrades:        store.StoreUpgrades{Added: []string{dualstakingtypes.StoreKey}},
}
View Source
var Upgrade_0_23_2 = Upgrade{
	UpgradeName:          "v0.23.2",
	CreateUpgradeHandler: defaultUpgradeHandler,
	StoreUpgrades:        store.StoreUpgrades{},
}
View Source
var Upgrade_0_23_3 = Upgrade{
	UpgradeName:          "v0.23.3",
	CreateUpgradeHandler: v0_23_0_UpgradeHandler,
	StoreUpgrades:        store.StoreUpgrades{Added: []string{dualstakingtypes.StoreKey}},
}

Functions

This section is empty.

Types

type BaseAppParamManager

type BaseAppParamManager interface {
	GetConsensusParams(ctx sdk.Context) *types.ConsensusParams
	StoreConsensusParams(ctx sdk.Context, cp *types.ConsensusParams)
}

type Upgrade

type Upgrade struct {
	// Upgrade version name.
	UpgradeName          string
	CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, *keepers.LavaKeepers) upgradetypes.UpgradeHandler
	StoreUpgrades        store.StoreUpgrades
}

Jump to

Keyboard shortcuts

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