Documentation ¶
Index ¶
Constants ¶
View Source
const (
// UpgradeName defines the on-chain upgrade name.
UpgradeName = "v2"
)
Variables ¶
View Source
var V2StoreUpgrades = storetypes.StoreUpgrades{ Added: []string{ consensustypes.ModuleName, crisistypes.ModuleName, bridgetypes.ModuleName, }, }
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.
Click to show internal directories.
Click to hide internal directories.