Skip to content

Commit

Permalink
ci fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Sep 23, 2024
1 parent 1f3e96b commit b46260a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
10 changes: 4 additions & 6 deletions handlers/clients_cl.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,11 @@ func buildCLClientsPageData() (*models.ClientsCLPageData, time.Duration) {
}

// Transform the custody columns to a map for easier access
if resColumns != nil {
for _, idx := range resColumns {
if _, ok := columnDistribution[idx]; !ok {
columnDistribution[idx] = make(map[string]bool)
}
columnDistribution[idx][v.PeerID] = true
for _, idx := range resColumns {
if _, ok := columnDistribution[idx]; !ok {
columnDistribution[idx] = make(map[string]bool)
}
columnDistribution[idx][v.PeerID] = true
}

peerDASInfo := models.ClientCLPageDataPeerDAS{
Expand Down
6 changes: 1 addition & 5 deletions utils/peerdas.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import (

var (
// Custom errors
errCustodySubnetCountTooLarge = errors.New("custody subnet count larger than data column sidecar subnet count")
errIndexTooLarge = errors.New("column index is larger than the specified columns count")
errMismatchLength = errors.New("mismatch in the length of the commitments and proofs")
errRecordNil = errors.New("record is nil")
errCannotLoadCustodySubnetCount = errors.New("cannot load the custody subnet count from peer")
errCustodySubnetCountTooLarge = errors.New("custody subnet count larger than data column sidecar subnet count")

// maxUint256 is the maximum value of a uint256.
maxUint256 = &uint256.Int{math.MaxUint64, math.MaxUint64, math.MaxUint64, math.MaxUint64}
Expand Down

0 comments on commit b46260a

Please sign in to comment.