Skip to content

Commit

Permalink
Fix CI in PeerDAS (#14347)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nisdas authored and nalepae committed Aug 28, 2024
1 parent e74d7b6 commit 9612e3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.55.2
version: v1.56.1
args: --config=.golangci.yml --out-${NO_FUTURE}format colored-line-number

build:
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ linters:
- promlinter
- protogetter
- revive
- spancheck
- staticcheck
- stylecheck
- tagalign
Expand Down
4 changes: 2 additions & 2 deletions beacon-chain/core/peerdas/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down Expand Up @@ -317,7 +317,7 @@ func Blobs(indices map[uint64]bool, dataColumnsSidecar []*ethpb.DataColumnSideca
}

blobSidecar := &ethpb.BlobSidecar{
Index: uint64(blobIndex),
Index: blobIndex,
Blob: blob[:],
KzgCommitment: blobKZGCommitment[:],
KzgProof: blobKzgProof[:],
Expand Down

0 comments on commit 9612e3a

Please sign in to comment.