Add RO blob sidecar (#13144)

This commit is contained in:
Terence
2023-11-01 10:03:49 -07:00
committed by GitHub
parent a54e61ecb0
commit 57eda1de63
66 changed files with 1420 additions and 1001 deletions

View File

@@ -962,7 +962,7 @@ func TestTimeToWait(t *testing.T) {
func TestSortBlobs(t *testing.T) {
_, blobs := util.ExtendBlocksPlusBlobs(t, []blocks.ROBlock{}, 10)
shuffled := make([]*ethpb.BlobSidecar, len(blobs))
shuffled := make([]*ethpb.DeprecatedBlobSidecar, len(blobs))
for i := range blobs {
shuffled[i] = blobs[i]
}
@@ -1047,7 +1047,7 @@ func TestBlobRequest(t *testing.T) {
require.Equal(t, len(allAfter), int(req.Count))
}
func testSequenceBlockWithBlob(t *testing.T, nblocks int) ([]blocks.BlockWithVerifiedBlobs, []*ethpb.BlobSidecar) {
func testSequenceBlockWithBlob(t *testing.T, nblocks int) ([]blocks.BlockWithVerifiedBlobs, []*ethpb.DeprecatedBlobSidecar) {
blks, blobs := util.ExtendBlocksPlusBlobs(t, []blocks.ROBlock{}, nblocks)
sbbs := make([]interfaces.ReadOnlySignedBeaconBlock, len(blks))
for i := range blks {