You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: pool send errors do not warn that a transport failure may have broadcast #2416
area:clidecdn binary: get, gateway, pool, publish, origin, setuparea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedprio:mediumScheduled
A timeout, connection reset, or HTTP 5xx can occur after the node broadcast the tx. No hash is captured. If the operator re-runs, the tx can be sent twice. This matters most for openPool, because it escrows a USDC deposit.
decdn_incentive::tx::send_for_receipt already warns in this case (#1577). It uses the public classifier decdn_incentive::tx::send_broadcast_unknown.
Fix
At each site, call send_broadcast_unknown(&err) on the non-revert send error. When it is true, add the #1577 wording: the request may have reached the node and broadcast the transaction; check this signer's pending and mined transactions before re-running.
Checks
A mocked-provider test per site: a transport failure on eth_sendTransaction gives an error that contains the warning, and a JSON-RPC error response does not.
area:clidecdn binary: get, gateway, pool, publish, origin, setuparea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedprio:mediumScheduled
Activity
fix: warn when a failed pool send may have broadcast (#2424)