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(e2e): cover the PaymentPool redeploy collision against two live deployments #2088
An anvil e2e that deploys PaymentPool twice, opens a buyer pool against the first, points the node at the second, and asserts it opens a fresh pool rather than resuming the tracked row.
Why
#2087 scopes buyer pool rows to their PaymentPool deployment, because poolId = keccak256(owner, ownerPoolNonce) carries neither the contract address nor the chain id and a redeploy restarts that nonce — so the same owner's Nth pool has a byte-identical id on every deployment. The unit tests cover the mechanism (a_foreign_row_is_dropped_even_when_there_is_nothing_to_adopt, the_pull_path_ignores_a_row_from_another_deployment), but nothing exercises it against a real contract pair.
This matters more than a usual e2e gap: contract-shape drift against the hand-written sol! bindings is only caught by the anvil e2e job, and this change is specifically about two deployments of the same contract being confusable. The bug it fixes was found in production after the 2026-09-20 Arbitrum Sepolia redeploy, not by the suite.
Fixed on main: #2182 (af5a682) added the buyer-side redeploy journeys in crates/e2e/tests/node_pull_pool_redeploy.rs (foreign-row drop + empty getPools + fresh pool; reissued pool id adopted without lanes), and #2191 (e90f1e3) added the repointed-seller journey this issue was waiting on.
Activity
test(e2e): cover the PaymentPool redeploy collision against two live …
thiras commentedon Sep 30, 2026
Fixed on main: #2182 (af5a682) added the buyer-side redeploy journeys in
crates/e2e/tests/node_pull_pool_redeploy.rs(foreign-row drop + empty getPools + fresh pool; reissued pool id adopted without lanes), and #2191 (e90f1e3) added the repointed-seller journey this issue was waiting on.