From ca03731297b2fd1a471212c83960a9bf4c53e5ce Mon Sep 17 00:00:00 2001 From: Gabriel Fukushima Date: Thu, 17 Oct 2024 15:21:20 +1000 Subject: [PATCH] spotless Signed-off-by: Gabriel Fukushima --- .../pegasys/teku/storage/server/kvstore/DatabaseTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/DatabaseTest.java b/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/DatabaseTest.java index 1f9be527d93..313ffc52052 100644 --- a/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/DatabaseTest.java +++ b/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/DatabaseTest.java @@ -2283,7 +2283,8 @@ public void pruneFinalizedBlocks_UpdatesEarliestAvailableBlockSlotWhenLimited( } @TestTemplate - public void pruneFinalizedBlocks_ClearEarliestAvailableBlockSlotVariableWhenNoBlocksLeftAfterPrune( + public void + pruneFinalizedBlocks_ClearEarliestAvailableBlockSlotVariableWhenNoBlocksLeftAfterPrune( final DatabaseContext context) throws Exception { initialize(context, StateStorageMode.ARCHIVE); final List blockAndStates = chainBuilder.generateBlocksUpToSlot(5); @@ -2292,10 +2293,10 @@ public void pruneFinalizedBlocks_ClearEarliestAvailableBlockSlotVariableWhenNoBl final SignedBlockAndState finalizedBlock = chainBuilder.generateBlockAtSlot(7); addBlocks(finalizedBlock); justifyAndFinalizeEpoch( - spec.computeEpochAtSlot(finalizedBlock.getSlot()).plus(1), finalizedBlock); + spec.computeEpochAtSlot(finalizedBlock.getSlot()).plus(1), finalizedBlock); final UInt64 lastPrunedSlot1 = - database.pruneFinalizedBlocks(UInt64.valueOf(7), 10, UInt64.valueOf(10)); + database.pruneFinalizedBlocks(UInt64.valueOf(7), 10, UInt64.valueOf(10)); assertThat(lastPrunedSlot1).isEqualTo(UInt64.valueOf(7)); assertThat(database.getEarliestAvailableBlockSlot()).isEqualTo(Optional.empty()); }