Skip to content

Commit

Permalink
fix other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 12, 2024
1 parent 99e8083 commit 0ca5247
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public int getMaxRequestBlocksDeneb() {
}

@Override
@Deprecated
public int getMaxRequestBlobSidecars() {
return maxRequestBlobSidecars;
}
Expand All @@ -127,6 +128,11 @@ public int getEpochsStoreBlobs() {
.orElse(minEpochsForBlobSidecarsRequests);
}

@Override
public int getMaxRequestBlobSidecarsInEffect() {
return maxRequestBlobSidecars;
}

@Override
public int getBlobSidecarSubnetCountInEffect() {
return blobSidecarSubnetCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public int getTargetBlobsPerBlockElectra() {
}

@Override
@Deprecated
public int getBlobSidecarSubnetCountElectra() {
return blobSidecarSubnetCountElectra;
}
Expand All @@ -200,10 +201,15 @@ public int getMaxRequestBlobSidecarsElectra() {
}

@Override
public int getBlobSidecarSubnetCountInEffect() {
public int getMaxRequestBlobSidecarsInEffect() {
return maxRequestBlobSidecarsElectra;
}

@Override
public int getBlobSidecarSubnetCountInEffect() {
return blobSidecarSubnetCountElectra;
}

@Override
public int getMaxBlobsPerBlockInEffect() {
return maxBlobsPerBlockElectra;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private static List<Method> listGetters(final Class<?> clazz) {
.filter(m -> Modifier.isPublic(m.getModifiers()))
.filter(m -> m.getParameterTypes().length == 0)
.filter(m -> m.getName().startsWith("get"))
.filter(m -> !m.getName().endsWith("InEffect"))
.filter(m -> !m.getName().endsWith("InEffect"))
.collect(Collectors.toList());
}
}

0 comments on commit 0ca5247

Please sign in to comment.