Skip to content

Commit

Permalink
Skip blockchain reference tests with no transactions (#1403)
Browse files Browse the repository at this point in the history
* Skip blockchain reference tests with no transactions

* Fix spotless
  • Loading branch information
gauravahuja authored Oct 10, 2024
1 parent e1494ea commit 6370425
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ public static void executeTest(final BlockchainReferenceTestCaseSpec spec) {
zkTracer.traceStartConflation(spec.getCandidateBlocks().length);

for (var candidateBlock : spec.getCandidateBlocks()) {
if (!candidateBlock.isExecutable()) {
if (!candidateBlock.isExecutable()
|| candidateBlock.getBlock().getBody().getTransactions().isEmpty()) {
return;
}

Expand Down

0 comments on commit 6370425

Please sign in to comment.