From f69b149d9bfb3427b5b963ab14f8a5544ac08043 Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Tue, 15 Nov 2022 20:17:18 -0500 Subject: [PATCH] Revert "overide default configs in init" This reverts commit 05f6bde6ecdae6bd1615df985daba6214f17ce84. --- x/genutil/client/cli/init.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/x/genutil/client/cli/init.go b/x/genutil/client/cli/init.go index c96c458c734e..f3a186b77fe8 100644 --- a/x/genutil/client/cli/init.go +++ b/x/genutil/client/cli/init.go @@ -6,7 +6,6 @@ import ( "fmt" "os" "path/filepath" - "time" "github.com/cosmos/go-bip39" "github.com/pkg/errors" @@ -81,14 +80,6 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command { serverCtx := server.GetServerContextFromCmd(cmd) config := serverCtx.Config - - // default mamaki configs TODO: move to the app to be more explicit - // in what we are setting as defaults - config.Consensus.TimeoutCommit = time.Second * 25 - config.Consensus.SkipTimeoutCommit = false - config.Mempool.KeepInvalidTxsInCache = true - config.Mempool.TTLNumBlocks = 15 - config.SetRoot(clientCtx.HomeDir) chainID, _ := cmd.Flags().GetString(flags.FlagChainID)