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
node: deployment preflight accepts FeeRouter/BuybackBurner as a PaymentPool and drops the lane store #2279
check_deployment_preflight (crates/node/src/runtime/mod.rs) identifies the configured blockchain.payment_pool_address by calling PaymentPool.usdc(). FeeRouter and BuybackBurner also expose IERC20 public immutable usdc, so the probe answers for them too.
A node whose config points payment_pool_address at the FeeRouter (or BuybackBurner) passes the preflight. PersistentPoolStateStore::open then rebinds to that address, drops the seller lane state and forfeits the unredeemed vouchers. This is the exact loss the preflight exists to prevent.
Evidence
Found while writing the e2e for #2234. With a seeded seller lane, repointing the node at the snapshot FeeRouter boots the daemon (no exit) and logs:
WARN decdn_node::channel_store: dropping seller lane state, pending settles and watcher checkpoints written against another PaymentPool deployment ... configured_payment_pool=<FeeRouter> dropped_lanes=1 undecodable_lanes=0 forfeited_micro_usdc=20
The #2234 journey uses the TOKEN contract (no usdc()) for its other-contract case instead.
Fix direction
Probe a selector only PaymentPool answers (for example feeRouter(), or a getPool/getWatermark view), or check more than one. Add the FeeRouter case to the #2234 e2e (crates/e2e/tests/deployment_preflight_guard.rs) once the probe rejects it.
Follow-up in #2280: feeRouter() was not unique either (DecdnGovernor declares it), so the probe is now PaymentPool.getRateBounds(), and the e2e sweeps every contract in the deploy manifest.
Activity
fix(node): identify the PaymentPool by feeRouter() in the deployment …
yigitdot commentedon Oct 1, 2026
Fixed in #2280: the preflight now probes
PaymentPool.feeRouter(), and thedeployment_preflight_guarde2e covers theFeeRoutercase.yigitdot commentedon Oct 1, 2026
Follow-up in #2280:
feeRouter()was not unique either (DecdnGovernordeclares it), so the probe is nowPaymentPool.getRateBounds(), and the e2e sweeps every contract in the deploy manifest.fix(node): pin the deployment preflight ahead of the lane store, and …