Documentation ¶
Overview ¶
Copyright 2022 Serv Foundation This file is part of the Serv Network packages.
Serv 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 Serv 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 Serv packages. If not, see https://github.com/twobitedd/serv/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, cdc codec.BinaryCodec, ) error
MigrateStore migrates the x/evm module state from the consensus version 4 to version 5. Specifically, it takes the parameters that are currently stored in separate keys and stores them directly into the x/evm module state using a single params key.
Types ¶
This section is empty.