Repository navigation
Closed
Labels
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve pathgood first issueScoped and documented well enough for a first contributionkind:choreCleanup, dependencies, tooling or release work; no user-visible changekind:testTest coverage, flakes, fixtures or the e2e harnessprio:lowWhen convenient
Description
What
Rename the upstream node in three e2e journeys from "seeder" to "provider":
crates/e2e/tests/node_pull_pool_redeploy.rs(test(e2e): cover the PaymentPool redeploy collision against two live deployments #2088)crates/e2e/tests/node_pull_topup.rscrates/e2e/tests/node_pull_pool_adopt.rs
Scope covers identifiers, doc comments, comments, and error strings. There is no behaviour change.
Why
Outside these three files, the upstream node a pull-through node buys from is called a provider:
- the contract:
PaymentPool.getWatermark(poolId, signer, provider) - the admin API:
BuyerLaneSnapshot.provider - lane keys:
LaneKey::provider - the sibling journey
node_to_node_coalesce.rs(provider_lanes_from)
"Seeder" appears nowhere else. It started in the adopt journey and was copied as a template, so these tests now read against the API they assert on. For example, lane_to(&row, seeder2) matches on lane.provider, and getWatermark(.., seeder2) fills the provider slot.
How
- Map
seeder1/seeder2/_seeder1/seeder1_addrtoprovider1/provider2/_provider1/provider1_addr. - Rename any
for seeder in [..]loop variable toprovider. - Replace
SEEDER,SEEDER #1,SEEDER #2withPROVIDER,PROVIDER #1,PROVIDER #2in module docs, comments, and messages. - Replace "seeder's" and "fresh seeder" with "provider's" and "fresh provider".
- Match case per occurrence. Re-read each hit so the prose still reads naturally.
- Keep
SERVERas it is. It names the pull-through node's role toward the client, and that node is also the buyer, so "provider" would be ambiguous there. - Update the wording in node: seller lane state collides across PaymentPool redeploys (lane_state_v1 keyed without the contract address) #2181 ("serves the redeploy leg from a fresh seeder") to the same term.
Acceptance
grep -rni seeder crates/e2ereturns no hits.- These pass:
cargo fmt -- --checkcargo clippy -p decdn-e2e --all-targets --features anvil-e2e -- -D warningscargo clippy --workspace --all-targets -- -D warnings
cargo nextest run -p decdn-e2e --features anvil-e2e --test node_pull_pool_redeploy --test node_pull_pool_adopt --test node_pull_topuppasses.
Metadata
Metadata
Assignees
Labels
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve pathgood first issueScoped and documented well enough for a first contributionkind:choreCleanup, dependencies, tooling or release work; no user-visible changekind:testTest coverage, flakes, fixtures or the e2e harnessprio:lowWhen convenient
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsDone
Activity
test(e2e): call the upstream node a provider in the node-to-node pull…