v_3_0_0

package
v0.0.0-...-a9c8dba Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpgradeName = "v3.0.0"
)

Variables

View Source
var (
	ICAHostAllowMessages = []string{

		sdk.MsgTypeURL(&ibctransfertypes.MsgTransfer{}),

		sdk.MsgTypeURL(&banktypes.MsgSend{}),
	}
	// List of module accounts to check in state.
	// These include all dYdX custom module accounts.
	ModuleAccsToInitialize = []string{
		satypes.ModuleName,
		perpetualsmoduletypes.InsuranceFundName,
	}
)

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	ak authkeeper.AccountKeeper,
) upgradetypes.UpgradeHandler

func IcaHostKeeperUpgradeHandler

func IcaHostKeeperUpgradeHandler(
	ctx sdk.Context,
	vm module.VersionMap,
	mm *module.Manager,
)

func InitializeModuleAccs

func InitializeModuleAccs(ctx sdk.Context, ak authkeeper.AccountKeeper)

This module account initialization logic is copied from v2.0.0 upgrade handler. Testnet is to be upgraded from v1.0.1 to v3.0.0 directly and needs this logic to fix some accounts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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