upgrades

package
v0.0.0-...-018c514 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProductionChainID     = "quicksilver-2"
	RhyeChainID           = "rhye-1"
	DevnetChainID         = "quicktest-1"
	TestChainID           = "testchain1"
	OsmosisTestnetChainID = "osmo-test-5"

	V010402rc1UpgradeName = "v1.4.2-rc1"
	V010402rc2UpgradeName = "v1.4.2-rc2"
	V010402rc3UpgradeName = "v1.4.2-rc3"
	V010402rc4UpgradeName = "v1.4.2-rc4"
	V010402rc5UpgradeName = "v1.4.2-rc5"
	V010402rc6UpgradeName = "v1.4.2-rc6"
	V010402rc7UpgradeName = "v1.4.2-rc7"
	V010403rc0UpgradeName = "v1.4.3-rc0"
)

upgrade name consts: vMMmmppUpgradeName (M=Major, m=minor, p=patch).

Variables

This section is empty.

Functions

func NoOpHandler

func NoOpHandler(
	mm *module.Manager,
	configurator module.Configurator,
	_ *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func V010402rc1UpgradeHandler

func V010402rc1UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	appKeepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func V010402rc3UpgradeHandler

func V010402rc3UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	appKeepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func V010402rc4UpgradeHandler

func V010402rc4UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	appKeepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func V010402rc5UpgradeHandler

func V010402rc5UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	appKeepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func V010402rc6UpgradeHandler

func V010402rc6UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	appKeepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

func V010403rc0UpgradeHandler

func V010403rc0UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	appKeepers *keepers.AppKeepers,
) upgradetypes.UpgradeHandler

Types

type Upgrade

type Upgrade struct {
	// Upgrade version name, for the upgrade handler, e.g. `v7`
	UpgradeName string

	// CreateUpgradeHandler defines the function that creates an upgrade handler
	CreateUpgradeHandler func(*module.Manager, module.Configurator, *keepers.AppKeepers) upgradetypes.UpgradeHandler

	// Store upgrades, should be used for any new modules introduced, new modules deleted, or store names renamed.
	StoreUpgrades storetypes.StoreUpgrades
}

Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal must have written, in order for the state migration to go smoothly. An upgrade must implement this struct, and then set it in the app.go. The app.go will then define the handler.

func Upgrades

func Upgrades() []Upgrade

Jump to

Keyboard shortcuts

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