Incorrect `ssz-max` limits for BlockContents
jtraglia opened this issue · comments
Hi there, I was reviewing the Deneb structures and noticed that *BlockContents
limits the number of KZG proofs and blobs to 6 (MAX_BLOBS_PER_BLOCK
) rather than 4096 (MAX_BLOB_COMMITMENTS_PER_BLOCK
) like I think it should.
go-eth2-client/api/v1/deneb/blockcontents.go
Lines 24 to 28 in bdc5ab4
go-eth2-client/api/v1/deneb/signedblockcontents.go
Lines 24 to 28 in bdc5ab4
For reference, see the definition of BlockContents
in the Beacon-APIs repo:
Another reference, this is Prysm's definition for BeaconBlockContentsDeneb
:
yes I think we had some issue publishing ssz encoded blocks to lighthouse, this might be the issue
Thanks; I'll address this.
@avalonche this is unlikely to be the cause of publishing SSZ blocks as it only changes bounds checks. I have successfully published SSZ-encoded deneb blocks to lighthouse 5.0.0.