Skip to content

ADR 001: Specify on-chain node registry contract interface #5

Closed

Description

@thiras

Priority: Must-fix before implementation

ADR 001 states: "All staked nodes register in an on-chain registry mapping NodeId → QUIC multiaddrs + Ethereum address." This registry is critical for node discovery, but no ADR specifies:

  • Contract interface (functions, events, data structures)
  • How a node updates its multiaddrs (gas cost, frequency)
  • Whether this is part of StakingRegistry or a separate contract
  • Gas cost of initial registration
  • How clients query the registry (event logs, view functions, subgraph)

Recommendation

Add a contract interface section to ADR 001 or architecture.md, similar to the StablePaymentChannel spec in ADR 003.

ADRs affected

  • ADR 001 (Network Topology)
  • Architecture overview (Crate Structure)

Activity

  1. added a commit that references this issue on Mar 29, 2026
    7ebe51c
  2. added a commit that references this issue on May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

prio:critical

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions