v4

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UpgradeName is the shared upgrade plan name for mainnet and testnet
	UpgradeName = "v4.0.0"
	// MainnetUpgradeHeight defines the Evmos mainnet block height on which the upgrade will take place
	MainnetUpgradeHeight = 257_850
	// TestnetUpgradeHeight defines the Evmos testnet block height on which the upgrade will take place
	TestnetUpgradeHeight = 1_200_000
	// UpgradeInfo defines the binaries that will be used for the upgrade
	UpgradeInfo = `` /* 552-byte string literal not displayed */

	// ExpiredOsmosisClient defines the client ID of the expired Osmosis IBC client
	ExpiredOsmosisClient = "07-tendermint-0"
	// ActiveOsmosisClient defines the client ID of the active Osmosis IBC client
	ActiveOsmosisClient = "07-tendermint-26"
	// ExpiredCosmosHubClient defines the client ID of the expired Cosmos Hub IBC client
	ExpiredCosmosHubClient = "07-tendermint-3"
	// ActiveCosmosHubClient defines the client ID of the active CosmosHub IBC client
	ActiveCosmosHubClient = "07-tendermint-29"
)

Variables

This section is empty.

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	clientKeeper ibcclientkeeper.Keeper,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler creates an SDK upgrade handler for v4

func UpdateIBCClients

func UpdateIBCClients(ctx sdk.Context, k ibcclientkeeper.Keeper) error

UpdateIBCClients updates the IBC client IDs for the Osmosis and Cosmos Hub IBC channels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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