diff --git a/app/test/process_proposal_test.go b/app/test/process_proposal_test.go index 44603b09b9..ae805021b2 100644 --- a/app/test/process_proposal_test.go +++ b/app/test/process_proposal_test.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "testing" + "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -299,9 +300,14 @@ func TestProcessProposal(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: tt.input, ChainId: testutil.ChainID, + Height: height, + Time: blockTime, }) require.Equal(t, len(tt.input.Txs), len(resp.BlockData.Txs)) tt.mutator(resp.BlockData)