From d80e551d92baaa0775cbf6999b1189567e82bc49 Mon Sep 17 00:00:00 2001 From: evan-forbes Date: Sun, 17 Sep 2023 20:59:09 -0500 Subject: [PATCH] fix: TestPrepareProposalFiltering --- app/test/prepare_proposal_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/test/prepare_proposal_test.go b/app/test/prepare_proposal_test.go index d1ec7c1dd6..b28002913a 100644 --- a/app/test/prepare_proposal_test.go +++ b/app/test/prepare_proposal_test.go @@ -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))