Skip to content

Commit

Permalink
remove an unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Dec 9, 2024
1 parent 7fcce98 commit d0b52e6
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit d0b52e6

Please sign in to comment.