Skip to content

Commit f40d017

Browse files
committed
fix: lower timeout
1 parent 077aef5 commit f40d017

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/chainio/avs_writer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ func (w *AvsWriter) SendAggregatedResponse(batchIdentifierHash [32]byte, batchMe
109109
onRetry()
110110
}
111111
i++
112-
113112
bumpedGasPrice := utils.CalculateGasPriceBump(lastTxGasPrice, gasBumpPercentage)
114113
lastTxGasPrice = bumpedGasPrice
115114
txOpts.GasPrice = bumpedGasPrice
@@ -130,7 +129,7 @@ func (w *AvsWriter) SendAggregatedResponse(batchIdentifierHash [32]byte, batchMe
130129
}
131130
}
132131

133-
ctx, cancel := context.WithTimeout(context.Background(), time.Second*36)
132+
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
134133
defer cancel()
135134
receipt, err := utils.WaitForTransactionReceipt(w.Client, ctx, tx.Hash())
136135

0 commit comments

Comments
 (0)