Skip to content

Commit

Permalink
test: default override rates (#4215)
Browse files Browse the repository at this point in the history
Part of #4213

The real fix is in celestiaorg/cosmos-sdk#425
but this is a nice to have.
  • Loading branch information
rootulp authored Jan 14, 2025
1 parent 2e16394 commit 4c5c058
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/default_overrides_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ func TestDefaultConsensusConfig(t *testing.T) {
}
assert.Equal(t, want, *got.Mempool)
})
t.Run("p2p overrides", func(t *testing.T) {
const mebibyte = 1048576
assert.Equal(t, int64(10*mebibyte), got.P2P.SendRate)
assert.Equal(t, int64(10*mebibyte), got.P2P.RecvRate)
})
}

func Test_icaDefaultGenesis(t *testing.T) {
Expand Down

0 comments on commit 4c5c058

Please sign in to comment.