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
test(cli): pool open and pool top-up keep the escrow named during the record write #2521
#2515 keeps a mined openPool or topUp pending on the command's UnconfirmedEscrows until its record commits, so a second Ctrl-C during the record write names the tx. Library tests cover the client paths (StoreFaults::watching in funding/adoption_tests.rs). The CLI's own paths have no test:
decdn pool open (crates/cli/src/commands/pool.rs, open)
decdn pool top-up (crates/cli/src/commands/pool.rs, top_up_cmd)
A change that calls recorded() before the store write would reopen the window, and no test would fail.
Fix direction
Drive each command's body against a scripted RPC (decdn_incentive::test_rpc::ScriptedRpc::mined) and a store that notes whether the handle names the tx during record or add_deposit (model: StoreFaults::watching, or the fake store in pool/tests.rs).
Checks
During the record write, the handle names the tx, for pool open and pool top-up.
After a committed write, the handle holds nothing.
Activity
fix(client,cli): name every closed pool on every exit; review follow-…
fix(client,cli)!: replacement reporting, drained-build lock waits, po…