Skip to content

e2e: pin that the deployment preflight aborts before the lane store is touched #2234

Closed

Description

@yigitdot

What

An anvil e2e that proves the boot deployment preflight (check_deployment_preflight, crates/node/src/runtime/mod.rs) protects the lane store: repoint a seeded node at a codeless address (and at a non-PaymentPool contract, e.g. the snapshot's FeeRouter), assert the daemon exits nonzero without logging the rebind drop WARN, then revert the config and assert the original lane still serves and redeems.

Why

The preflight's verdicts are unit-tested with a mocked provider (#2191), but only an e2e pins the ordering guarantee the docs state: the abort happens BEFORE PersistentPoolStateStore::open, so the store is untouched. A regression that reorders the call after the store open would pass every unit test.

NodeFixture::repoint_payment_pool (crates/e2e/src/node.rs) already does the config rewrite + restart; the variant needs a restart that tolerates a failing daemon and reads its exit/log.

Surfaced by the second review pass on #2191.

Activity

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

Metadata

Metadata

Assignees

Labels

area:nodearea:paymentskind:testprio:lowstatus: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