Skip to content

Commit

Permalink
test(e2e): workaround for broken ConsensusParams
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 30, 2024
1 parent e2db0e2 commit 4a22097
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/tests/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ func TestApp_TxTooBig(t *testing.T) {
client, err := node.Client()
require.NoError(t, err)

cp, err := client.ConsensusParams(ctx, nil)
// FIXME: ConsensusParams is broken for last height, this is just workaround
status, err := client.Status(ctx)
assert.NoError(t, err)
cp, err := client.ConsensusParams(ctx, &status.SyncInfo.LatestBlockHeight)
assert.NoError(t, err)

// ensure we have more txs than fits the block
Expand Down

0 comments on commit 4a22097

Please sign in to comment.