Skip to content

Commit

Permalink
Merge pull request Consensys#45 from ConsenSys/fix/circleci-not-check…
Browse files Browse the repository at this point in the history
…ing-spotless

Ensure Spotless checks are run in CircleCI
  • Loading branch information
ermyas authored Nov 10, 2021
2 parents 9cffb27 + b6933b0 commit 62a8e27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ jobs:
background: true
command: docker-compose up
- run: sleep 30
- run:
name: Spotless
command: ./gradlew spotlessCheck
- run:
name: Build and test
command: ./gradlew test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ private void proveTxReceipt(
}

while (true) {

BigInteger id = BigInteger.TWO;

// CompletableFuture<TransactionReceipt>[] transactionReceiptCompletableFutures =
// (CompletableFuture<TransactionReceipt>[]) new Object[numTransactionsPerBlock];
CompletableFuture<?>[] transactionReceiptCompletableFutures =
Expand All @@ -246,7 +246,7 @@ private void proveTxReceipt(
CompletableFuture<Void> combinedFuture =
CompletableFuture.allOf(transactionReceiptCompletableFutures);
combinedFuture.get();

Set<String> headers = new HashSet<String>();
for (int i = 0; i < numTransactionsPerBlock; i++) {
receipts[i] = (TransactionReceipt) transactionReceiptCompletableFutures[i].get();
Expand Down

0 comments on commit 62a8e27

Please sign in to comment.