Skip to content

buyer pool row's deployment tag carries no chain id #2198

Closed

Description

@yigitdot

What

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).

Activity

  1. added
    kind:bug
    area:node
    area:cli
    area:payments
    rust
    status:mainnet-blocking
    prio:low
    on Sep 28, 2026
  2. self-assigned this
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cliarea:nodearea:paymentskind:bugprio:lowruststatus:mainnet-blocking

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions