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
docs(node): dht/origin.rs module doc still says ChainOriginDirectory doesn't exist #1289
crates/node/src/dht/origin.rs (module doc ~L18-21 and the comment at ~L67) states that the chain-backed ChainOriginDirectory "lands with the on-chain origin-directory follow-up" and that the module "ships only the trait + a ConfigOriginDirectory".
That doc rotted when crates/node/src/dht/chain_origin_directory.rs landed. ChainOriginDirectory is a full implementation (impl OriginDirectory at chain_origin_directory.rs:624), exported from dht/mod.rs:30, and selected by the runtime at crates/node/src/runtime/mod.rs:709 whenever origin_assignment_address + publisher_registry_address are configured. ConfigOriginDirectory is only the fallback.
This actively misleads: PR #1285 scoped an e2e test away from origin recognition on the strength of that comment, asserting in its module docs that the capability did not exist. Caught in review and fixed there, but the underlying trap is still armed for the next reader.
Fix: update the origin.rs module doc to describe the trait plus its two implementations and which one the runtime picks.
Activity
test(e2e): tighten G-ORIGIN-01 assertions and fix timelock flake
test(e2e): cover G-ORIGIN-01 namespace publish + claim journeys (#1285)