16df7725c5
* evm: export genesis state * x/evm: split keeper.go * x/evm: retrieve storage from address * changelog * fixes * add check for nil logs * update validation func * fixes * fix non-determinism * stop storage iteration * remove error return value * update changelog * fix test * lint
16 lines
385 B
Go
16 lines
385 B
Go
package evm_test
|
|
|
|
import (
|
|
"github.com/cosmos/ethermint/x/evm"
|
|
"github.com/cosmos/ethermint/x/evm/types"
|
|
)
|
|
|
|
func (suite *EvmTestSuite) TestExportImport() {
|
|
var genState types.GenesisState
|
|
suite.Require().NotPanics(func() {
|
|
genState = evm.ExportGenesis(suite.ctx, suite.app.EvmKeeper, suite.app.AccountKeeper)
|
|
})
|
|
|
|
_ = evm.InitGenesis(suite.ctx, suite.app.EvmKeeper, genState)
|
|
}
|