From 7560a44be73b9ff828908acdc09fd2f81caeac9f Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Thu, 2 Nov 2023 16:03:52 +0000 Subject: [PATCH] make protected --- .../beaconchain/methods/AbstractBlobSidecarsValidator.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/AbstractBlobSidecarsValidator.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/AbstractBlobSidecarsValidator.java index 6e579ddade2..51a4748c941 100644 --- a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/AbstractBlobSidecarsValidator.java +++ b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/AbstractBlobSidecarsValidator.java @@ -27,9 +27,8 @@ public class AbstractBlobSidecarsValidator { private static final Logger LOG = LogManager.getLogger(); protected final Peer peer; - - private final Spec spec; - private final KZG kzg; + protected final Spec spec; + protected final KZG kzg; public AbstractBlobSidecarsValidator(final Peer peer, final Spec spec, final KZG kzg) { this.peer = peer; @@ -37,7 +36,7 @@ public AbstractBlobSidecarsValidator(final Peer peer, final Spec spec, final KZG this.kzg = kzg; } - void verifyKzg(final BlobSidecar blobSidecar) { + protected void verifyKzg(final BlobSidecar blobSidecar) { if (!verifyBlobKzgProof(blobSidecar)) { throw new BlobSidecarsResponseInvalidResponseException( peer, BLOB_SIDECAR_KZG_VERIFICATION_FAILED);