From d7dd1d7affc02a819845802da540bc2742d82074 Mon Sep 17 00:00:00 2001 From: Prathyusha Lakkireddy Date: Wed, 12 May 2021 20:49:27 +0530 Subject: [PATCH] Fixed parse key issue (#9299) * Fixed parse key issue * Added getconfig in root command * uncommented changes in parse.go --- simapp/simd/cmd/root.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simapp/simd/cmd/root.go b/simapp/simd/cmd/root.go index 2b18ddc7a1a4..c392bf1a3da2 100644 --- a/simapp/simd/cmd/root.go +++ b/simapp/simd/cmd/root.go @@ -78,6 +78,9 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { } func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) { + cfg := sdk.GetConfig() + cfg.Seal() + rootCmd.AddCommand( genutilcli.InitCmd(simapp.ModuleBasics, simapp.DefaultNodeHome), genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, simapp.DefaultNodeHome),