Skip to content

Commit

Permalink
Set the default iavl-disable-fastnode to false and the default tx_ind…
Browse files Browse the repository at this point in the history
…ex.indexer to 'null'.
  • Loading branch information
SpicyLemon committed Jan 11, 2024
1 parent abe627b commit e2c8bb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/provenanced/config/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func ExtractAppConfigAndMap(cmd *cobra.Command) (*serverconfig.Config, FieldValu
func DefaultAppConfig() *serverconfig.Config {
rv := serverconfig.DefaultConfig()
rv.MinGasPrices = pioconfig.GetProvenanceConfig().ProvenanceMinGasPrices
rv.IAVLDisableFastNode = false
return rv
}

Expand Down Expand Up @@ -125,6 +126,7 @@ func ExtractTmConfigAndMap(cmd *cobra.Command) (*tmconfig.Config, FieldValueMap,
func DefaultTmConfig() *tmconfig.Config {
rv := tmconfig.DefaultConfig()
rv.Consensus.TimeoutCommit = DefaultConsensusTimeoutCommit
rv.TxIndex.Indexer = "null"
return rv
}

Expand Down

0 comments on commit e2c8bb6

Please sign in to comment.