diff --git a/api/deneb/blindedblobsbundle_ssz.go b/api/deneb/blindedblobsbundle_ssz.go index 0ad3c27..5582575 100644 --- a/api/deneb/blindedblobsbundle_ssz.go +++ b/api/deneb/blindedblobsbundle_ssz.go @@ -1,5 +1,5 @@ // Code generated by fastssz. DO NOT EDIT. -// Hash: f7d4b7227dc3b524b3fb633095154ac7b2b48cba8b4007551f73e34360ab96c3 +// Hash: 38b1a2605bf26b45e7795273db7872157e4d0e24c0dd59c99bbfa4863b462eeb // Version: 0.1.3 package deneb @@ -32,8 +32,8 @@ func (b *BlindedBlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error) { offset += len(b.BlobRoots) * 32 // Field (0) 'Commitments' - if size := len(b.Commitments); size > 4 { - err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Commitments", size, 4) + if size := len(b.Commitments); size > 6 { + err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Commitments", size, 6) return } for ii := 0; ii < len(b.Commitments); ii++ { @@ -41,8 +41,8 @@ func (b *BlindedBlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error) { } // Field (1) 'Proofs' - if size := len(b.Proofs); size > 4 { - err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Proofs", size, 4) + if size := len(b.Proofs); size > 6 { + err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Proofs", size, 6) return } for ii := 0; ii < len(b.Proofs); ii++ { @@ -50,8 +50,8 @@ func (b *BlindedBlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error) { } // Field (2) 'BlobRoots' - if size := len(b.BlobRoots); size > 4 { - err = ssz.ErrListTooBigFn("BlindedBlobsBundle.BlobRoots", size, 4) + if size := len(b.BlobRoots); size > 6 { + err = ssz.ErrListTooBigFn("BlindedBlobsBundle.BlobRoots", size, 6) return } for ii := 0; ii < len(b.BlobRoots); ii++ { @@ -94,7 +94,7 @@ func (b *BlindedBlobsBundle) UnmarshalSSZ(buf []byte) error { // Field (0) 'Commitments' { buf = tail[o0:o1] - num, err := ssz.DivideInt2(len(buf), 48, 4) + num, err := ssz.DivideInt2(len(buf), 48, 6) if err != nil { return err } @@ -107,7 +107,7 @@ func (b *BlindedBlobsBundle) UnmarshalSSZ(buf []byte) error { // Field (1) 'Proofs' { buf = tail[o1:o2] - num, err := ssz.DivideInt2(len(buf), 48, 4) + num, err := ssz.DivideInt2(len(buf), 48, 6) if err != nil { return err } @@ -120,7 +120,7 @@ func (b *BlindedBlobsBundle) UnmarshalSSZ(buf []byte) error { // Field (2) 'BlobRoots' { buf = tail[o2:] - num, err := ssz.DivideInt2(len(buf), 32, 4) + num, err := ssz.DivideInt2(len(buf), 32, 6) if err != nil { return err } @@ -159,8 +159,8 @@ func (b *BlindedBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { // Field (0) 'Commitments' { - if size := len(b.Commitments); size > 4 { - err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Commitments", size, 4) + if size := len(b.Commitments); size > 6 { + err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Commitments", size, 6) return } subIndx := hh.Index() @@ -168,13 +168,13 @@ func (b *BlindedBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { hh.PutBytes(i[:]) } numItems := uint64(len(b.Commitments)) - hh.MerkleizeWithMixin(subIndx, numItems, 4) + hh.MerkleizeWithMixin(subIndx, numItems, 6) } // Field (1) 'Proofs' { - if size := len(b.Proofs); size > 4 { - err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Proofs", size, 4) + if size := len(b.Proofs); size > 6 { + err = ssz.ErrListTooBigFn("BlindedBlobsBundle.Proofs", size, 6) return } subIndx := hh.Index() @@ -182,13 +182,13 @@ func (b *BlindedBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { hh.PutBytes(i[:]) } numItems := uint64(len(b.Proofs)) - hh.MerkleizeWithMixin(subIndx, numItems, 4) + hh.MerkleizeWithMixin(subIndx, numItems, 6) } // Field (2) 'BlobRoots' { - if size := len(b.BlobRoots); size > 4 { - err = ssz.ErrListTooBigFn("BlindedBlobsBundle.BlobRoots", size, 4) + if size := len(b.BlobRoots); size > 6 { + err = ssz.ErrListTooBigFn("BlindedBlobsBundle.BlobRoots", size, 6) return } subIndx := hh.Index() @@ -196,7 +196,7 @@ func (b *BlindedBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { hh.Append(i[:]) } numItems := uint64(len(b.BlobRoots)) - hh.MerkleizeWithMixin(subIndx, numItems, 4) + hh.MerkleizeWithMixin(subIndx, numItems, 6) } hh.Merkleize(indx) diff --git a/api/deneb/blobsbundle_ssz.go b/api/deneb/blobsbundle_ssz.go index da07d07..bd76259 100644 --- a/api/deneb/blobsbundle_ssz.go +++ b/api/deneb/blobsbundle_ssz.go @@ -1,5 +1,5 @@ // Code generated by fastssz. DO NOT EDIT. -// Hash: c6b76f7f064aa399e33e95fc859f9dcc33fbe18976165fbb88abb8f54f1f9350 +// Hash: ab124b93579f8996010b3c7fe144fdc154d151bbcb4848aa2eb177c45631019e // Version: 0.1.3 package deneb @@ -31,8 +31,8 @@ func (b *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error) { offset += len(b.Blobs) * 131072 // Field (0) 'Commitments' - if size := len(b.Commitments); size > 4 { - err = ssz.ErrListTooBigFn("BlobsBundle.Commitments", size, 4) + if size := len(b.Commitments); size > 6 { + err = ssz.ErrListTooBigFn("BlobsBundle.Commitments", size, 6) return } for ii := 0; ii < len(b.Commitments); ii++ { @@ -40,8 +40,8 @@ func (b *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error) { } // Field (1) 'Proofs' - if size := len(b.Proofs); size > 4 { - err = ssz.ErrListTooBigFn("BlobsBundle.Proofs", size, 4) + if size := len(b.Proofs); size > 6 { + err = ssz.ErrListTooBigFn("BlobsBundle.Proofs", size, 6) return } for ii := 0; ii < len(b.Proofs); ii++ { @@ -49,8 +49,8 @@ func (b *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error) { } // Field (2) 'Blobs' - if size := len(b.Blobs); size > 4 { - err = ssz.ErrListTooBigFn("BlobsBundle.Blobs", size, 4) + if size := len(b.Blobs); size > 6 { + err = ssz.ErrListTooBigFn("BlobsBundle.Blobs", size, 6) return } for ii := 0; ii < len(b.Blobs); ii++ { @@ -93,7 +93,7 @@ func (b *BlobsBundle) UnmarshalSSZ(buf []byte) error { // Field (0) 'Commitments' { buf = tail[o0:o1] - num, err := ssz.DivideInt2(len(buf), 48, 4) + num, err := ssz.DivideInt2(len(buf), 48, 6) if err != nil { return err } @@ -106,7 +106,7 @@ func (b *BlobsBundle) UnmarshalSSZ(buf []byte) error { // Field (1) 'Proofs' { buf = tail[o1:o2] - num, err := ssz.DivideInt2(len(buf), 48, 4) + num, err := ssz.DivideInt2(len(buf), 48, 6) if err != nil { return err } @@ -119,7 +119,7 @@ func (b *BlobsBundle) UnmarshalSSZ(buf []byte) error { // Field (2) 'Blobs' { buf = tail[o2:] - num, err := ssz.DivideInt2(len(buf), 131072, 4) + num, err := ssz.DivideInt2(len(buf), 131072, 6) if err != nil { return err } @@ -158,8 +158,8 @@ func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { // Field (0) 'Commitments' { - if size := len(b.Commitments); size > 4 { - err = ssz.ErrListTooBigFn("BlobsBundle.Commitments", size, 4) + if size := len(b.Commitments); size > 6 { + err = ssz.ErrListTooBigFn("BlobsBundle.Commitments", size, 6) return } subIndx := hh.Index() @@ -167,13 +167,13 @@ func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { hh.PutBytes(i[:]) } numItems := uint64(len(b.Commitments)) - hh.MerkleizeWithMixin(subIndx, numItems, 4) + hh.MerkleizeWithMixin(subIndx, numItems, 6) } // Field (1) 'Proofs' { - if size := len(b.Proofs); size > 4 { - err = ssz.ErrListTooBigFn("BlobsBundle.Proofs", size, 4) + if size := len(b.Proofs); size > 6 { + err = ssz.ErrListTooBigFn("BlobsBundle.Proofs", size, 6) return } subIndx := hh.Index() @@ -181,13 +181,13 @@ func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { hh.PutBytes(i[:]) } numItems := uint64(len(b.Proofs)) - hh.MerkleizeWithMixin(subIndx, numItems, 4) + hh.MerkleizeWithMixin(subIndx, numItems, 6) } // Field (2) 'Blobs' { - if size := len(b.Blobs); size > 4 { - err = ssz.ErrListTooBigFn("BlobsBundle.Blobs", size, 4) + if size := len(b.Blobs); size > 6 { + err = ssz.ErrListTooBigFn("BlobsBundle.Blobs", size, 6) return } subIndx := hh.Index() @@ -195,7 +195,7 @@ func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error) { hh.PutBytes(i[:]) } numItems := uint64(len(b.Blobs)) - hh.MerkleizeWithMixin(subIndx, numItems, 4) + hh.MerkleizeWithMixin(subIndx, numItems, 6) } hh.Merkleize(indx)