diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigDenebImpl.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigDenebImpl.java index 3d7fd587156..a95fc201d0d 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigDenebImpl.java +++ b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigDenebImpl.java @@ -105,6 +105,7 @@ public int getMaxRequestBlocksDeneb() { } @Override + @Deprecated public int getMaxRequestBlobSidecars() { return maxRequestBlobSidecars; } @@ -127,6 +128,11 @@ public int getEpochsStoreBlobs() { .orElse(minEpochsForBlobSidecarsRequests); } + @Override + public int getMaxRequestBlobSidecarsInEffect() { + return maxRequestBlobSidecars; + } + @Override public int getBlobSidecarSubnetCountInEffect() { return blobSidecarSubnetCount; diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigElectraImpl.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigElectraImpl.java index b0fce0325f1..3619b54b6a8 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigElectraImpl.java +++ b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/SpecConfigElectraImpl.java @@ -189,6 +189,7 @@ public int getTargetBlobsPerBlockElectra() { } @Override + @Deprecated public int getBlobSidecarSubnetCountElectra() { return blobSidecarSubnetCountElectra; } @@ -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; diff --git a/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigAssertions.java b/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigAssertions.java index 1779f88003f..2660fa4e5c8 100644 --- a/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigAssertions.java +++ b/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigAssertions.java @@ -44,7 +44,7 @@ private static List 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()); } }