Documentation ¶
Overview ¶
Copyright 2022 Hekas Foundation This file is part of the Hekas Network packages.
Hekas is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The Hekas packages are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Hekas packages. If not, see https://github.com/hekas-network/hekas/blob/main/LICENSE
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateStore ¶
func MigrateStore( ctx sdk.Context, storeKey storetypes.StoreKey, legacySubspace types.Subspace, cdc codec.BinaryCodec, ) error
MigrateStore migrates the x/evm module state from the consensus version 3 to version 4. Specifically, it takes the parameters that are currently stored and managed by the Cosmos SDK params module and stores them directly into the x/evm module state.
Types ¶
This section is empty.