Skip to content

Commit 62f1fff

Browse files
committed
rm cmts
1 parent c3124c3 commit 62f1fff

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

aggregator/pkg/aggregator.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ func (agg *Aggregator) AddNewTask(batchMerkleRoot [32]byte, senderAddress [20]by
392392

393393
// |---RETRYABLE---|
394394

395-
// TODO: Add Retryable Label
396395
/*
397396
InitializeNewTask
398397
Initialize a new task in the BLS Aggregation service

aggregator/pkg/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ func (agg *Aggregator) ProcessOperatorSignedTaskResponseV2(signedTaskResponse *t
5353
"operatorId", hex.EncodeToString(signedTaskResponse.OperatorId[:]))
5454
taskIndex := uint32(0)
5555

56-
// TODO: Add Retryable
5756
taskIndex, err := agg.GetTaskIndexRetryable(signedTaskResponse.BatchIdentifierHash)
5857

5958
if err != nil {

core/chainio/avs_subscriber.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,12 @@ func (s *AvsSubscriber) SubscribeToNewTasksV2(newTaskCreatedChan chan *servicema
6868
// Subscribe to new tasks
6969
sub, err := SubscribeToNewTasksV2Retryable(&bind.WatchOpts{}, s.AvsContractBindings.ServiceManager, internalChannel, nil)
7070
if err != nil {
71-
//TODO: Confirm these are accurate
7271
s.logger.Error("Primary failed to subscribe to new AlignedLayer V2 tasks after %d retries", retry.DefaultNumRetries, "err", err)
7372
return nil, err
7473
}
7574

7675
subFallback, err := SubscribeToNewTasksV2Retryable(&bind.WatchOpts{}, s.AvsContractBindings.ServiceManagerFallback, internalChannel, nil)
7776
if err != nil {
78-
//TODO: Confirm these are accurate
7977
s.logger.Error("Fallback failed to subscribe to new AlignedLayer V2 tasks after %d retries", retry.DefaultNumRetries, "err", err)
8078
return nil, err
8179
}

core/retry.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ request retry_interval (12 sec) randomized_interval (0.5) randomized_int
123123
Reference: https://github.com/cenkalti/backoff/blob/v4/exponential.go#L9
124124
*/
125125

126-
// TODO: Make config optional by using default but passing nil.
127126
// Same as Retry only that the functionToRetry can return a value upon correct execution
128127
func RetryWithData[T any](functionToRetry func() (T, error), config *RetryConfig) (T, error) {
129128
//func RetryWithData[T any](functionToRetry func() (T, error), minDelay time.Duration, factor float64, maxTries uint64, maxInterval time.Duration, maxElapsedTime time.Duration) (T, error) {

0 commit comments

Comments
 (0)