diff --git a/internal/state/execution_test.go b/internal/state/execution_test.go index 1e245d777..0d1e0e913 100644 --- a/internal/state/execution_test.go +++ b/internal/state/execution_test.go @@ -699,10 +699,10 @@ func TestPrepareProposalPanicOnInvalid(t *testing.T) { eventBus, ) pa, _ := state.Validators.GetByIndex(0) - commit := makeValidCommit(ctx, t, height, types.BlockID{}, state.Validators, privVals) + commit, votes := makeValidCommit(ctx, t, height, types.BlockID{}, state.Validators, privVals) require.Panics(t, func() { - blockExec.CreateProposalBlock(ctx, height, state, commit, pa, nil) //nolint:errcheck + blockExec.CreateProposalBlock(ctx, height, state, commit, pa, votes) //nolint:errcheck }) mp.AssertExpectations(t)