From 326a6c22da31503e1cd4c2e91267ea73b72b5e47 Mon Sep 17 00:00:00 2001 From: Nishant Das Date: Thu, 15 Aug 2024 16:51:28 +0800 Subject: [PATCH] Fix CI in PeerDAS (#14347) * Update go.yml * Disable mnd * Update .golangci.yml * Update go.yml * Update go.yml * Update .golangci.yml * Update go.yml * Fix Lint Issues * Remove comment * Update .golangci.yml --- beacon-chain/core/peerdas/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon-chain/core/peerdas/helpers.go b/beacon-chain/core/peerdas/helpers.go index 07dc7256cf5a..efdc2d83f62a 100644 --- a/beacon-chain/core/peerdas/helpers.go +++ b/beacon-chain/core/peerdas/helpers.go @@ -206,7 +206,7 @@ func populateAndFilterIndices(indices map[uint64]bool, blobCount uint64) []uint6 // If no indices are provided, provide all blobs. if len(indices) == 0 { for i := range blobCount { - indices[uint64(i)] = true + indices[i] = true } } @@ -317,7 +317,7 @@ func Blobs(indices map[uint64]bool, dataColumnsSidecar []*ethpb.DataColumnSideca } blobSidecar := ðpb.BlobSidecar{ - Index: uint64(blobIndex), + Index: blobIndex, Blob: blob[:], KzgCommitment: blobKZGCommitment[:], KzgProof: blobKzgProof[:],