Skip to content

Commit

Permalink
fix: TestPrepareProposalFiltering
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Sep 18, 2023
1 parent d873db1 commit d80e551
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/test/prepare_proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,14 @@ func TestPrepareProposalFiltering(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
height := testApp.LastBlockHeight() + 1
blockTime := time.Now()

resp := testApp.PrepareProposal(abci.RequestPrepareProposal{
BlockData: &tmproto.Data{Txs: tt.txs()},
ChainId: testutil.ChainID,
Height: height,
Time: blockTime,
})
// check that we have the expected number of transactions
require.Equal(t, len(tt.txs())-len(tt.prunedTxs), len(resp.BlockData.Txs))
Expand Down

0 comments on commit d80e551

Please sign in to comment.