Skip to content

fix(testnet): pin DOS Names to the canonical JASJ deployment - #271

Merged
JOY (JOY) merged 1 commit into
mainfrom
chore/dos-names-testnet-jasj-ref
Oct 21, 2026
Merged

JOY (JOY) merged 1 commit into
mainfrom
chore/dos-names-testnet-jasj-ref

Conversation

@JOY

@JOY JOY (JOY) commented Oct 21, 2026 •

Copy link
Copy Markdown

Summary

  • Moves DOS_NAMES_TESTNET_SUBGRAPH_REF (deploy-config) and DOS_NAMES_SUBGRAPH_REF (dependency-build) from 130d42ae to 3345d09e (fix: point DOS Testnet at the canonical JASJ chain DOS-Names-Contracts#10 merge).
  • 130d42ae carried a dos-testnet-3939.json for the retired chain 2EhC. Its smokeResolver has no code on the canonical chain JASJ (genesis 0x36f98b2e...), so the testnet Apply pre-flight failed.
  • 3345d09e restores the JASJ record (blocks 120-166) and adds a domainPolicy block for the score-gated policy deployed on 2026-10-21. contracts.dosRegistrar intentionally keeps the retired public registrar, because the pre-flight requires that key.
  • The mainnet pin is unchanged.

Verification

  • python -m pytest .github/scripts/tests/test_validate_testnet_bens.py: 36 passed.
  • On-chain readback on JASJ: the record's addresses have code, the new registrar holds REGISTRAR|RENEW, and the legacy registrar holds none.

Known gap (follow-up)

The DOS Names subgraph still indexes NameRegistered/NameRenewed only from contracts.dosRegistrar. Registrations through the new policy registrar remain visible through the registry LabelRegistered/ExpiryUpdated events, but their registrar metadata is not indexed.

🤖 Generated with Claude Code


📌 TL;DR

This PR updates the DOS_NAMES_SUBGRAPH_REF and DOS_NAMES_TESTNET_SUBGRAPH_REF environment variables in GitHub Actions workflows and corresponding tests to point to a new subgraph commit (3345d09...). This ensures that dependency builds and testnet deployments use the latest version of the DOS Names subgraph.

🎯 Type of Change

  • 🚀 New feature
  • 🐛 Bugfix
  • 🧹 Refactor
  • ⚡ Performance
  • 📚 Documentation
  • ⚙️ CI / Configuration

🔍 Changes Walkthrough

File Summary of Changes
.github/scripts/tests/test_validate_testnet_bens.py Updated the expected DOS_NAMES_TESTNET_SUBGRAPH_REF value in the test fixture to match the new subgraph commit hash.
.github/workflows/dependency-build.yml Updated the global DOS_NAMES_SUBGRAPH_REF environment variable to the new commit hash for dependency builds.
.github/workflows/deploy-config.yml Updated the DOS_NAMES_TESTNET_SUBNET_SUBGRAPH_REF environment variable to the new commit hash for testnet deployment configurations.

📊 Architectural Flow

flowchart TD
    A[PR Update] --> B[Update Subgraph Refs in CI Configs]
    B --> C[dependency-build.yml]
    B --> D[deploy-config.yml]
    B --> E[test_validate_testnet_bens.py]
    
    C --> F[Build Dependencies using New Subgraph]
    D --> G[Deploy Testnet Config using New Subgraph]
    E --> H[Validate Testnet Deployment Logic]
    
    F --> I[CI Pipeline Execution]
    G --> I
    H --> I
Loading

Summary by CodeRabbit

  • Chores
    • Updated the pinned testnet DOS Names subgraph version used by dependency builds and deployment configuration.
    • Updated validation expectations to match the new testnet subgraph version while preserving testnet-only deployment behavior.

DOS_NAMES_TESTNET_SUBGRAPH_REF (and the dependency-build pin) pointed at
DOS Names 130d42ae, whose dos-testnet-3939.json described the retired
2EhC chain. Its smokeResolver has no code on the canonical JASJ chain, so
the testnet Apply pre-flight stopped there.

DOS Names 3345d09e (DOS/DOS-Names-Contracts#10) restores the JASJ record
(deployed 2026-08-12, blocks 120-166) and records the score-gated domain
policy deployed on 2026-10-21. Only the testnet pin moves; the mainnet
pin is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization has no extra usage available to pay for this review.

If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.

Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-21T11:14:05.712703Z
We couldn’t complete this review. Comment @codex review to try again.
de8737c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: be5f45fe-ff18-4c20-9bdc-f61c781e59d1
📥 Commits

Reviewing files that changed from the base of the PR and between 105cb0b and de8737c.

📒 Files selected for processing: 3
  • .github/scripts/tests/test_validate_testnet_bens.py
  • .github/workflows/dependency-build.yml
  • .github/workflows/deploy-config.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The DOS Names testnet subgraph pin changed to commit 3345d09ec2cad8ebbca710b89b630c7ba04481d7 in two workflow files and the related test fixture.

Changes: DOS Names Testnet Pin

Layer / File(s) Summary
Update subgraph pin and test fixture
.github/workflows/dependency-build.yml, .github/workflows/deploy-config.yml, .github/scripts/tests/test_validate_testnet_bens.py
Both workflow pins and the test fixture now reference commit 3345d09ec2cad8ebbca710b89b630c7ba04481d7. The test continues to check that testnet-only changes set mainnet=false and testnet=true.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to de873

The pin update is consistent across deployment, dependency-build, and validation-test configuration.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the testnet DOS Names pin to the canonical JASJ deployment.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the testnet subgraph reference hash (DOS_NAMES_TESTNET_SUBGRAPH_REF) in the test file test_validate_testnet_bens.py. There are no review comments, and I have no feedback to provide.

dos[bot]
dos Bot approved these changes Oct 21, 2026

@dos dos Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⏱️ Code Review completed (3 eligible files · 1,994 chars · 1 model call(s) · 1 PR unit(s))

Whole diff with bounded context at base 105cb0b / head de8737c.

✅ CLEAN_PASS: Complete diff reviewed

@JOY
JOY (JOY) merged commit f8ef09f into main Oct 21, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant