Skip to content

e2e G-NODE-08: authorized-origin recognition (opaque backend fetch) #1035

Closed

Description

@alpergundogdu

Depends on: e2e harness + decdn publish (G-ORIGIN-01/02 published state).

  • Setup: publisher claims H + proposes operator set; DAO ratifies; node configured with a backend holding H.
  • Steps: client fetches H → on miss the origin node fetches opaquely from its backend and serves verified bytes → assert backend URL never appears on the wire.
  • Negative: the same node without on-chain authorization serves H only as cache (not as recognized origin); ranged origin fetch returns hash-correct bytes.

Spec anchor: internal/Product/gaps-and-e2e-test-specs.md#g-node-08.

Activity

  1. added
    prio:medium
    kind:test
    on Jun 30, 2026
  2. yigitdot commented on Jul 18, 2026

    @yigitdot
    Contributor

    Triage note for a later run: automated dispatch skipped this because chain-backed origin recognition does not exist yet.

    crates/node/src/dht/origin.rs ships only the OriginDirectory trait plus ConfigOriginDirectory (TOML-driven), with the docstring: "The chain-backed ChainOriginDirectory lands with the on-chain origin-directory follow-up." No daemon path turns on-chain getOrigins/isAuthorizedOrigin into origin recognition — the pull_through_require_authorized_origin gate resolves through the TOML directory.

    Consequence: the assertion that a node is recognized as origin because of its on-chain authorization (and the negative — the same node without it) cannot be distinguished today. Needs ChainOriginDirectory first; that should be its own issue if one does not exist.

    (#1039 additionally needs a GOVERNANCE_ROLE activation fixture that crates/e2e/src/bindings.rs:106 flags as "not yet implemented".)

  3. self-assigned this
    on Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:testprio:medium

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions