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
Drop adminReclaimNodeId from PoC; legitimate reclaimNodeId is sufficient #410
StakingRegistry has two reclaim functions for NodeId squatting:
reclaimNodeId(nodeId, ed25519Signature) — legitimate path. Verifies an Ed25519 signature proving ownership of the NodeId's private key, deregisters the squatter, and clears the binding. Production-canonical (ADR 001 § Reclaim flow).
adminReclaimNodeId(...) — onlyOwner admin override, present in the PoC "as a safety valve for early testing." Production removes it (appendix-poc-production-seams.md).
The seams split is implemented at the contract level: script/DeployPoc.s.sol deploys PocStakingRegistry (extends with admin reclaim); script/DeployProduction.s.sol deploys StakingRegistry directly.
Why drop now
Same shape as #408 — a hedge that doesn't earn its keep:
The legitimate reclaimNodeId path covers every realistic squat scenario where the operator controls the original Ed25519 key.
The admin override was a "what if registration goes wrong during early testing" safety valve. Pre-launch, there is no production traffic to be safe-valved from; the admin would need to actively front-run a real squatter, and even then the legitimate holder can act on the same evidence faster.
Removing it collapses the PoC/production split for StakingRegistry entirely: one contract, one deploy script.
Proposed change
Drop adminReclaimNodeId from the PoC.
Drop PocStakingRegistry extension contract; deploy StakingRegistry directly in both PoC and production.
adr/001-network.md — drop admin-reclaim mention from the interface section
adr/appendix-poc-production-seams.md — drop the adminReclaimNodeId row from the inventory table; consolidate StakingRegistry deploy story
Any contract scaffolding referenced in the deploy-script split
Out of scope
The legitimate reclaimNodeId path (stays unchanged)
The Ed25519 NodeId-ownership proof on registerNode (stays unchanged)
Pattern reference
This is the second instance of the pattern surfaced in #408: historical PoC/production hedge with no use case once the protocol is committed to its design. Pre-launch is the cheap window to remove these.
Activity
docs(adr): drop adminReclaimNodeId; reclaimNodeId is sufficient (#410) (