Repository navigation
docs(adr): drop adminReclaimNodeId; reclaimNodeId is sufficient (#410) - #414
Merged
Merged
Conversation
The legitimate reclaimNodeId path (verifies Ed25519 ownership of the NodeId's private key) covers every realistic squat scenario. The adminReclaimNodeId override existed as an "early testing safety valve" with no concrete use case once the protocol is committed to its design. Removing it collapses the StakingRegistry PoC/production split: - One contract (StakingRegistry), no PocStakingRegistry extension - One deploy script, not Foundry-mode-conditional - One row removed from the seams appendix inventory Same simplification pattern as #408. Closes #410. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request removes the adminReclaimNodeId function and all associated documentation from the ADRs, effectively eliminating the administrative 'safety valve' for NodeId reclamation. The reclaimNodeId function, which requires a valid Ed25519 signature, is now the sole mechanism for reclaiming a NodeId in both PoC and production environments. Feedback was provided to explicitly emphasize the requirement of Ed25519 signatures in the documentation to maintain precision regarding cryptographic key usage.
…ll environments Address Gemini review comment on PR #414. Strengthen the reclaim-flow paragraph to explicitly state that ed25519 wire-key ownership is the sole reclaim path in both PoC and production, distinguishing it from the secp256k1 on-chain signatures used for slash evidence and the NodeId<->Ethereum binding. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
thiras
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #410.
Drops the
adminReclaimNodeIdadmin-override path fromStakingRegistry. The legitimatereclaimNodeIdpath (verifies Ed25519 ownership of the NodeId's private key) covers every realistic squat scenario. The admin override existed as an early-testing safety valve with no concrete use case.Changes
adr/001-network.md— dropsadminReclaimNodeIdfrom the interface, gas-cost table, and the "PoC safety valve" subsection. The reclaim-flow paragraph now ends with "reclaimNodeIdis the sole reclaim mechanism: there is no admin override."adr/appendix-poc-production-seams.md— drops theadminReclaimNodeIdrow from the inventory table; drops the "Contracts:unsafe-adminfeature" subsection (which describedPocStakingRegistryextendingStakingRegistrywith the admin function via separate Foundry deploy scripts).adr/architecture.md— updates the open-question summary line to "reclaimNodeIdas the sole reclaim mechanism in both PoC and production."Wins
StakingRegistry), not two (PocStakingRegistryextension dropped)Same simplification pattern as #408: a hedge that doesn't earn its keep, removed cleanly pre-launch.
Test plan
adminReclaimNodeIdorPocStakingRegistryinadr/🤖 Generated with Claude Code