Repository navigation
names, resolver: report until when a registration can be ended - #2087
Closed
brenzi-agent wants to merge 44 commits into
Closed
brenzi-agent wants to merge 44 commits into
brenzi-agent wants to merge 44 commits into
Conversation
brenzi-agent
marked this pull request as ready for review
November 20, 2026 14:26
brenzi-agent
requested review from
epoberezkin and
spaced4ndy
as code owners
November 20, 2026 14:26
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.
Follows simplex-network/ens-contracts#51, merged on
simplexas ebf7698, which gives every registration made through the sponsor a dispute period of 14 to 120 days, untildisputeUntil(id): until then, a registrar controller can end the registration, and its renewal is refused. Plan: plans/2026-11-20-names-dispute-period.md.Resolver (
scripts/resolver/service/snrc-resolve.py)disputeUntil(uint256)of the 2LD's token is read in the first round, besidenameExpires, and reported in the v1 answer and in v2registered:.testing's;CallReverted).Router (
src/Simplex/Messaging/Names/Record.hs)NRRegistered.disputeUntil :: Maybe SystemSeconds, passed to clients in RNAME;Nothingis left out.Docs
protocol/simplex-messaging.md: thedisputeUntilfield (a time afterlastBlockTs, 0, or absent when unknown), the dispute period, anddisputeUntilas the one field left out instead ofERR NAME RESOLVER.scripts/resolver/README.md: the zero expiry of an ended registration,disputeUntilin v1 and v2, and when it is 0 or null.Tests
scripts/resolver/service/test_snrc_resolve.py: the read, a time, 0, a revert by each node's encoding, a node error and an empty answer, a subname, v1 and v2 shapes, the read in the first round of a multicall and of a batch.tests/SMPNamesTests.hs,tests/RSLVTests.hs: the router's answer with a time, 0 and an unknown value; RNAME direct and forwarded through a proxy.simplex-chat at its next simplexmq bump
NRRegistered(tests/NameResolver.hs,tests/ChatTests/Names.hs) needdisputeUntil = Nothing.disputeUntil(StoreService/Names/Contracts.hs).