diff --git a/internal/state/execution_test.go b/internal/state/execution_test.go index 96c126098..e1823df69 100644 --- a/internal/state/execution_test.go +++ b/internal/state/execution_test.go @@ -822,8 +822,9 @@ func TestPrepareProposalReorderTxs(t *testing.T) { } -// TestPrepareProposalReorderTxs tests that CreateBlock produces a block with transactions -// in the order matching the order they are returned from PrepareProposal. +// TestPrepareProposalModifiedTxFalse tests that CreateBlock correctly ignores +// the ResponsePrepareProposal TxRecords if ResponsePrepareProposal does not +// set ModifiedTx to true. func TestPrepareProposalModifiedTxFalse(t *testing.T) { const height = 2 ctx, cancel := context.WithCancel(context.Background())