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
buyer pool row's deployment tag carries no chain id #2198
area:clidecdn binary: get, gateway, pool, publish, origin, setuparea:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwisestatus:mainnet-blockingMust land before the mainnet deployment
BuyerPoolState::payment_pool (crates/incentive/src/buyer_pool.rs) tags each buyer row with the PaymentPool contract address alone. The seller-side stamp added for #2181 (Deployment in crates/node/src/channel_store.rs) deliberately includes the EIP-712 chainId as well, because a deterministic (CREATE2) deployer can produce the same contract address on two chains.
Why
A node moved between two chains that carry the same-address PaymentPool would drop its seller lane state (the stamp includes the chain id) but reuse its buyer pool rows: is_on(payment_pool) matches, so the node resumes lane progress against a pool the other chain's contract never redeemed. Same failure shape as #2087/#2181, gated on an address collision across chains instead of a redeploy.
Expected
The buyer row's deployment tag matches the voucher domain: (chainId, payment_pool). is_on takes both, drop_foreign_row and the pull-path filter compare both. Pre-launch rules: change the row format, no migration.
Surfaced by the PR #2191 review (seller-side deployment binding).
area:clidecdn binary: get, gateway, pool, publish, origin, setuparea:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:bugSomething does not behave as documentedprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwisestatus:mainnet-blockingMust land before the mainnet deployment
Activity