v1

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UpgradeName defines the on-chain upgrade name.
	UpgradeName = "v1"
)

Variables

Functions

func CreateUpgradeHandler

func CreateUpgradeHandler(
	mm *module.Manager,
	configurator module.Configurator,
	paramsKeeper paramskeeper.Keeper,
	consensusKeeper consensusparamkeeper.Keeper,
	ibcKeeper ibckeeper.Keeper,
	bridgeKeeper bridgekeeper.Keeper,
	accountKeeper authkeeper.AccountKeeper,
	mintKeeper mintkeeper.Keeper,
	evmKeeper *evmkeeper.Keeper,
	evmStoreKey storetypes.StoreKey,
) upgradetypes.UpgradeHandler

CreateUpgradeHandler creates an SDK upgrade handler for v2

func MigrateEthAccountsToBaseAccounts

func MigrateEthAccountsToBaseAccounts(ctx sdk.Context, ak authkeeper.AccountKeeper, ek *evmkeeper.Keeper)

MigrateEthAccountsToBaseAccounts is used to store the code hash of the associated smart contracts in the dedicated store in the EVM module and convert the former EthAccounts to standard Cosmos SDK accounts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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