We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe54d2 commit 1f38c8bCopy full SHA for 1f38c8b
packages/beacon-node/src/chain/validation/blobSidecar.ts
@@ -19,7 +19,7 @@ export async function validateGossipBlobSidecar(
19
const blobSlot = blobSidecar.signedBlockHeader.message.slot;
20
21
// [REJECT] The sidecar's index is consistent with `MAX_BLOBS_PER_BLOCK` -- i.e. `blob_sidecar.index < MAX_BLOBS_PER_BLOCK`.
22
- if (blobSidecar.index < chain.config.MAX_BLOBS_PER_BLOCK) {
+ if (blobSidecar.index >= chain.config.MAX_BLOBS_PER_BLOCK) {
23
throw new BlobSidecarGossipError(GossipAction.REJECT, {
24
code: BlobSidecarErrorCode.INDEX_TOO_LARGE,
25
blobIdx: blobSidecar.index,
0 commit comments