Bci 3621/try new estimation for insufficient fund error instead of retry
Jira BCI-3621
Description During gas spike the TXM tried to broadcast an initial attempt with a high gas price. Given the high default limit that CCIP uses (100m) the total cost of the attempt reached a very large amount (~4ETH) which resulted in InsufficientFunds error.
Solution: Instead of retrying with the same attempt, use tryAgainWithNewEstimation to replace the existing attempt with a new one and return. Don’t call handleInProgressTx right away and just return as we need some time for the gas spike to pass.
Acceptance Criteria Resolve gas spike issue and backward compatible.
Quality Gate passed
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
65.5% Coverage on New Code
0.0% Duplication on New Code