Skip to content

Commit

Permalink
style: add go report card and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NimaVaziri committed Apr 24, 2024
1 parent cfcae95 commit ce46be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Incredible Squaring AVS

[![Go Report Card](https://goreportcard.com/badge/github.com/Layr-Labs/incredible-squaring-avs)](https://goreportcard.com/report/github.com/Layr-Labs/incredible-squaring-avs)

<b> Do not use it in Production, testnet only. </b>

Basic repo demoing a simple AVS middleware with full eigenlayer integration. See this [video walkthrough](https://www.loom.com/share/50314b3ec0f34e2ba386d45724602d76?sid=9d68d8cb-d2d5-4123-bd06-776de2076de0).
Expand Down
2 changes: 1 addition & 1 deletion aggregator/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (agg *Aggregator) sendNewTask(numToSquare *big.Int) error {
agg.tasksMu.Unlock()

quorumThresholdPercentages := make([]uint32, len(newTask.QuorumNumbers))
for i, _ := range newTask.QuorumNumbers {
for i := range newTask.QuorumNumbers {
quorumThresholdPercentages[i] = newTask.QuorumThresholdPercentage
}
// TODO(samlaf): we use seconds for now, but we should ideally pass a blocknumber to the blsAggregationService
Expand Down

0 comments on commit ce46be2

Please sign in to comment.