Skip to content

Commit

Permalink
Merge pull request #284 from rootulp/rp/revert-config-overrides
Browse files Browse the repository at this point in the history
chore!: revert "overide default configs in init"
  • Loading branch information
rootulp authored Nov 16, 2022
2 parents a78f3e1 + f69b149 commit d11c222
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions x/genutil/client/cli/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"os"
"path/filepath"
"time"

"github.com/cosmos/go-bip39"
"github.com/pkg/errors"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d11c222

Please sign in to comment.