Skip to content

Commit f0e58cf

Browse files
committed
fix: permanent err in send aggregator
1 parent 24a96ff commit f0e58cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/chainio/avs_writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func (w *AvsWriter) SendAggregatedResponse(batchIdentifierHash [32]byte, batchMe
118118
// Retry with fallback
119119
gasPrice, err = w.ClientFallback.SuggestGasPrice(context.Background())
120120
if err != nil {
121-
return nil, fmt.Errorf("transaction simulation failed: %v", err)
121+
return nil, connection.PermanentError{Inner: err}
122122
}
123123
}
124124
txOpts.GasPrice = utils.CalculateGasPriceBumpBasedOnRetry(gasPrice, GasBumpPercentage, i)

0 commit comments

Comments
 (0)