Skip to content

test(e2e): drive decdn publish (namespace/claim/assign) against the anvil fixture #1073

Closed

Description

@yigitdot

Follow-up to #1029. The decdn publish command (PR closing the CLI half of G-ORIGIN-01/02) ships with unit tests for output formatting only, matching the decdn node register precedent; the on-chain path is not yet exercised from the binary.

Add an e2e test in crates/e2e that runs the decdn publish namespace create / claim <hash> --namespace <id> / assign <namespace> <ops...> binary paths end-to-end against the deployed PublisherRegistry / OriginAssignment on the anvil fixture (write bindings already exist in crates/e2e/src/bindings.rs), asserting that namespaceOf(hash), getOrigins, and getPendingAssignment reflect the writes. Covers the on-chain submit path the unit tests intentionally skip.

Activity

  1. added
    area:cli
    on Jul 7, 2026
  2. self-assigned this
    on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cliprio: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