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
client: treat a buyer pool the chain reads with a zero owner as gone during a funding recovery step #2665
PoolFunder::chain_remaining (crates/client/src/funding.rs) reads getPool. When the owner is not this wallet, the step falls back to the run's view, and since #2662 it logs a warning. One common cause is a pool id the chain does not know: after a testnet redeploy the stored pool id can name nothing (poolId is keccak(owner, nonce) and repeats across deployments). getPool then returns a zeroed struct with owner == Address::ZERO and status == Open, because Open is enum value 0 in PaymentPool.sol.
The step then tries a topUp. That reverts NotPoolOwner, not PoolNotOpen, so the step skips the replacement path and the fetch ends "funding needed" behind an opaque revert.
Ask. In the recovery step, treat pool.owner == Address::ZERO as "pool gone" and go to open_replacement, the same as a Closing/Closed pool. Check whether the lane-build pool read (open_or_reuse_pool) already handles this case, and share the classification. Add an Asserter-mocked test next to a_full_closing_pool_is_replaced.
Activity