diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java index a7efb8567b7..e1b4aebcf2a 100644 --- a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java +++ b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java @@ -73,7 +73,7 @@ public class BlockBlobSidecarsTrackersPoolImpl extends AbstractIgnoringFutureHis enum TrackerObject { BLOCK, - BLOB_SIDECAR; + BLOB_SIDECAR } static final String COUNTER_BLOCK_TYPE = "block"; @@ -596,7 +596,7 @@ private void onFirstSeen( final Duration blockFetchDelay = calculateBlockFetchDelay(slotAndBlockRoot); asyncRunner.runAfterDelay(() -> fetchMissingContent(slotAndBlockRoot), blockFetchDelay); } - // no delay for attempting to fetch blobs for when the block is first seen + // no delay for attempting to fetch blobs for when the block is first seen case BLOCK -> fetchMissingContent(slotAndBlockRoot); } } diff --git a/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImplTest.java b/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImplTest.java index 23db2505e8f..f6def954e12 100644 --- a/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImplTest.java +++ b/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImplTest.java @@ -883,11 +883,6 @@ void shouldNotDropUnusedBlobSidecarsIfFetchingHasNotOccurred() { .index(UInt64.valueOf(2)) .build(); - final Set blobsNotUserInBlock = - Set.of( - new BlobIdentifier(slotAndBlockRoot.getBlockRoot(), UInt64.valueOf(2)), - new BlobIdentifier(slotAndBlockRoot.getBlockRoot(), UInt64.valueOf(3))); - mockedTrackersFactory = Optional.of( (slotAndRoot) -> {