upgrades

package
v7.2.0-mocks-mechain.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// V5 defines the upgrade name for the ibc-go/v5 upgrade handler.
	V5 = "normal upgrade" // NOTE: keeping as "normal upgrade" as existing tags depend on this name
	// V6 defines the upgrade name for the ibc-go/v6 upgrade handler.
	V6 = "v6"
	// V7 defines the upgrade name for the ibc-go/v7 upgrade handler.
	V7 = "v7"
	// V7_1 defines the upgrade name for the ibc-go/v7.1 upgrade handler.
	V7_1 = "v7.1"
)

Variables

This section is empty.

Functions

func CreateDefaultUpgradeHandler

func CreateDefaultUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
) upgradetypes.UpgradeHandler

CreateDefaultUpgradeHandler creates an upgrade handler which can be used for regular upgrade tests that do not require special logic

func CreateV6UpgradeHandler

func CreateV6UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	cdc codec.BinaryCodec,
	capabilityStoreKey *storetypes.KVStoreKey,
	capabilityKeeper *capabilitykeeper.Keeper,
	moduleName string,
) upgradetypes.UpgradeHandler

CreateV6UpgradeHandler creates an upgrade handler for the ibc-go/v6 SimApp upgrade. NOTE: The v6.MigrateICS27ChannelCapabiliity function can be omitted if chains do not yet implement an ICS27 controller module

func CreateV7LocalhostUpgradeHandler

func CreateV7LocalhostUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	clientKeeper clientkeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateV7LocalhostUpgradeHandler creates an upgrade handler for the ibc-go/v7.1 SimApp upgrade.

func CreateV7UpgradeHandler

func CreateV7UpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	cdc codec.BinaryCodec,
	clientKeeper clientkeeper.Keeper,
	consensusParamsKeeper consensusparamskeeper.Keeper,
	paramsKeeper paramskeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateV7UpgradeHandler creates an upgrade handler for the ibc-go/v7 SimApp upgrade.

Types

This section is empty.

Jump to

Keyboard shortcuts

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