Skip to content

Commit

Permalink
revert: non-essential changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Oct 11, 2024
1 parent ed45e7a commit e7f9a6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/default_overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ func DefaultConsensusConfig() *tmcfg.Config {

cfg.Mempool.TTLNumBlocks = 12
cfg.Mempool.TTLDuration = 75 * time.Second
cfg.Mempool.MaxTxBytes = 8 * mebibyte // 8 MiB
cfg.Mempool.MaxTxsBytes = 40 * mebibyte // 40 MiB
cfg.Mempool.Version = "v1" // prioritized mempool
cfg.Mempool.MaxTxBytes = 7_897_088
cfg.Mempool.MaxTxsBytes = 39_485_440
cfg.Mempool.Version = "v1" // prioritized mempool

cfg.Consensus.TimeoutPropose = appconsts.TimeoutPropose
cfg.Consensus.TimeoutCommit = appconsts.TimeoutCommit
Expand Down
6 changes: 3 additions & 3 deletions app/default_overrides_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ func TestDefaultConsensusConfig(t *testing.T) {
WalPath: tmcfg.DefaultMempoolConfig().WalPath,

// Overrides
TTLNumBlocks: 12,
MaxTxBytes: 7_897_088,
MaxTxsBytes: 39_485_440,
TTLDuration: 75 * time.Second,
MaxTxBytes: 8 * mebibyte,
MaxTxsBytes: 40 * mebibyte,
TTLNumBlocks: 12,
Version: "v1",
}
assert.Equal(t, want, *got.Mempool)
Expand Down

0 comments on commit e7f9a6c

Please sign in to comment.