Repository navigation
ci: test the resolver against a seeded chain and known mainnet names - #2016
Draft
brenzi-agent wants to merge 7 commits into
Draft
brenzi-agent wants to merge 7 commits into
brenzi-agent wants to merge 7 commits into
Conversation
This was referenced Nov 21, 2026
Contributor
Author
|
#2091 changes the This draft needs two changes once it includes them:
|
# Conflicts: # scripts/ci/README.md
brenzi-agent
force-pushed
the
ep/resolver-ground-truth
branch
from
November 24, 2026 17:00
3558f94 to
19d7570
Compare
This branch has not been deployed
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.
The resolver is tested against real contracts: in the build, against a local chain with one name per lookup answer, and daily, against known mainnet names. Stacked on #2015 (its commits are included until it is merged).
Local chain, from public repositories only, in "Test resolver" of the Linux build job when the resolver or build.yml changes:
contractsandanvilstages of itswebapp/dev/Dockerfile(simplex-network/ens-contracts at the commit that Dockerfile pins, compiled, and Foundry's anvil), copies the artifacts and anvil out of them, and installs the webapp's dependencies: 59 s. "Test resolver" then takes 10 s.test_ground_truth.pyLocalChainTestsstarts anvil and deploys.simplexwith the webapp'sdev/deploy.ts: registry, registrar, controller behind its proxy, subname registrar, resolver, name policy and sponsor, withbakery(contact and channel links),harbour(no links) and the community namebakehouseregistered, andsupport,simplexandofficialreserved.deploy.tslacks, over JSON-RPC from anvil's unlocked accounts:lapsedandexpiring, registered through the registrar for 1 and 30 days; the controller and the name policy refuse less than 2 years, so the deployer is added as a registrar controller. The chain then moves on by the registrar's grace period plus 2 days:lapsedis past its grace period,expiringis in it, andbakeryis still registered;expiring, and the subnamemenu.bakery, created through the subname registrar, with its own contact link;brandnamereserved as trademark andprivacyas community;bakery: registered, with its contact and channel links, owned by the holder;harbour: registered, without links;expiring: registered, in grace, with its contact link;menu.bakery: registered, owned by the holder ofbakerythrough the subname registrar, with its contact link;sunflower,lapsedandmenu.expiring: available at the launch price ($50 a year, $100 for 7 letters, $200 for 6, minimum length 6);simplex,brandnameandprivacy: reserved, as internal, trademark and community;Pin:
SIMPLEX_DOMAINS_COMMITis b4cc2f47fe534c03e3f9157c246c9ab471bc8e94 of brenzi-agent/simplex.domains, the head of simplex-chat/simplex.domains#31, which builds the dev chain without simplex-namespace-contract. Before this pull request is marked ready, the pin moves to the merge commit of simplex-chat/simplex.domains#31, and the repository to simplex-chat/simplex.domains.Mainnet,
resolver-mainnet.yml: daily, on a manual run and on a pull request that changes it.MainnetTestsstarts the resolver with its default addresses, the v2.simplexcontracts and.testing, and the RPC of the secretSNRC_MAINNET_RPC, orhttps://ethereum-rpc.publicnode.comwithout it, and checks, as read at block 26486323:foobar.testing(contacthttps://smp16.simplex.im/a#Q_F00BA7, until 2027-06-23),bitcoin.testing(until 2046) andevgenypoberezkin.simplex(until 2036): registered;simplex.testingandsimplex.simplex: reserved, internal;groundtruthcheck.testingandgroundtruthcheck.simplex: available.Docs: the CI guide and the resolver README (local runs with
SNRC_DEV_CHAINandSNRC_MAINNET_RPC).resolver mainnet on this pull request (19d7570), with the public endpoint: 3 passed in 2.4 s.
https://github.com/simplex-chat/simplexmq/actions/runs/45443691011
build on this pull request (19d7570): the 6 local-chain tests passed (172 passed, 3 skipped: the mainnet tests), and the run passed.
https://github.com/simplex-chat/simplexmq/actions/runs/45443690970