From d0b52e6bfb2448513c3d196797936eb49eb28a1b Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Mon, 9 Dec 2024 18:05:54 +0100 Subject: [PATCH] remove an unneeded test --- .../blobs/BlockBlobSidecarsTrackerTest.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/blobs/BlockBlobSidecarsTrackerTest.java b/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/blobs/BlockBlobSidecarsTrackerTest.java index c3f5bab0133..d5d702acbc9 100644 --- a/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/blobs/BlockBlobSidecarsTrackerTest.java +++ b/ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/blobs/BlockBlobSidecarsTrackerTest.java @@ -165,21 +165,6 @@ void getCompletionFuture_returnsIndependentFutures() { SafeFutureAssert.assertThatSafeFuture(completionFuture3).isCompleted(); } - @Test - void add_shouldFailIfBlobsIsNotMarkedAsKzgAndInclusionProofValidated() { - final BlockBlobSidecarsTracker blockBlobSidecarsTracker = - new BlockBlobSidecarsTracker(slotAndBlockRoot, maxBlobsPerBlock); - final BlobSidecar toAdd = - dataStructureUtil - .createRandomBlobSidecarBuilder() - .signedBeaconBlockHeader(block.asHeader()) - .build(); - - assertThatThrownBy(() -> blockBlobSidecarsTracker.add(toAdd)) - .isInstanceOf(IllegalArgumentException.class) - .hasMessage("BlobSidecar must be validated before adding"); - } - @Test void add_shouldWorkTillCompletionWhenAddingBlobsBeforeBlockIsSet() { final BlockBlobSidecarsTracker blockBlobSidecarsTracker =