From 27e3639b8b147ccb7c9622d9baf0fef3b000be6f Mon Sep 17 00:00:00 2001 From: ranupthestairs Date: Thu, 17 Mar 2022 00:37:55 +0800 Subject: [PATCH] fix: testnet init chain error (#405) --- cmd/evmosd/testnet.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/evmosd/testnet.go b/cmd/evmosd/testnet.go index b53ef8a..922a6dd 100644 --- a/cmd/evmosd/testnet.go +++ b/cmd/evmosd/testnet.go @@ -34,7 +34,6 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - mintypes "github.com/cosmos/cosmos-sdk/x/mint/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/tharsis/ethermint/crypto/hd" @@ -411,12 +410,6 @@ func initGenFiles( govGenState.DepositParams.MinDeposit[0].Denom = coinDenom appGenState[govtypes.ModuleName] = clientCtx.Codec.MustMarshalJSON(&govGenState) - var mintGenState mintypes.GenesisState - clientCtx.Codec.MustUnmarshalJSON(appGenState[mintypes.ModuleName], &mintGenState) - - mintGenState.Params.MintDenom = coinDenom - appGenState[mintypes.ModuleName] = clientCtx.Codec.MustMarshalJSON(&mintGenState) - var crisisGenState crisistypes.GenesisState clientCtx.Codec.MustUnmarshalJSON(appGenState[crisistypes.ModuleName], &crisisGenState)