Skip to content

Commit

Permalink
fix: lower timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNicolau committed Oct 22, 2024
1 parent 077aef5 commit f40d017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/chainio/avs_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ func (w *AvsWriter) SendAggregatedResponse(batchIdentifierHash [32]byte, batchMe
onRetry()
}
i++

bumpedGasPrice := utils.CalculateGasPriceBump(lastTxGasPrice, gasBumpPercentage)
lastTxGasPrice = bumpedGasPrice
txOpts.GasPrice = bumpedGasPrice
Expand All @@ -130,7 +129,7 @@ func (w *AvsWriter) SendAggregatedResponse(batchIdentifierHash [32]byte, batchMe
}
}

ctx, cancel := context.WithTimeout(context.Background(), time.Second*36)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
defer cancel()
receipt, err := utils.WaitForTransactionReceipt(w.Client, ctx, tx.Hash())

Expand Down

0 comments on commit f40d017

Please sign in to comment.