From cd0a1c812a6975bed6da2f277ba6b3971a491bfc Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 7 Apr 2022 18:02:36 -0400 Subject: [PATCH] fix request process proposal test --- internal/state/execution_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/state/execution_test.go b/internal/state/execution_test.go index d25f34ba9..f3c1482ac 100644 --- a/internal/state/execution_test.go +++ b/internal/state/execution_test.go @@ -330,15 +330,17 @@ func TestProcessProposal(t *testing.T) { block1.Txs = txs expectedRpp := abci.RequestProcessProposal{ + Txs: block1.Txs.ToSliceOfBytes(), Hash: block1.Hash(), Height: block1.Header.Height, Time: block1.Header.Time, - Txs: block1.Txs.ToSliceOfBytes(), ByzantineValidators: block1.Evidence.ToABCI(), ProposedLastCommit: abci.CommitInfo{ Round: 0, Votes: voteInfos, }, + ProposerAddress: block1.ProposerAddress, + NextValidatorsHash: block1.NextValidatorsHash, } app.On("ProcessProposal", mock.Anything).Return(abci.ResponseProcessProposal{Status: abci.ResponseProcessProposal_ACCEPT})