Skip to content

feat(config): replace dead devnet-paloma with devnet-moutai - #33

Merged
PastaPastaPasta merged 1 commit into
mainfrom
claude/devnet-moutai
Sep 1, 2026
Merged

PastaPastaPasta merged 1 commit into
mainfrom
claude/devnet-moutai

Conversation

@PastaPastaPasta

@PastaPastaPasta PastaPastaPasta commented Aug 27, 2026

Copy link
Copy Markdown
Member

Why

devnet-paloma has been torn down — insight.paloma.networks.dash.org, quorums.paloma.networks.dash.org and faucet.paloma.networks.dash.org no longer resolve at all — so the bridge's only built-in devnet entry pointed at nothing. devnet-moutai is its replacement in dash-network-configs (added in 410e0bb, most recently touched by cf9f67b).

What

  • DEVNET_PALOMADEVNET_MOUTAI, registered as devnet-moutai, so it appears in the Devnet dropdown and at ?network=devnet-moutai.
  • All 13 HP masternodes from devnet-moutai.inventory are listed, in inventory order. The quorum service's /masternodes endpoint reports every one ENABLED with versionCheck: success (dapi/drive 4.2.0-dev.2), so unlike paloma none need pruning.
  • useTrustedContext: true retained: quorums.moutai.networks.dash.org is deployed and serves /quorums, /masternodes and /previous, so the SDK's DNS-derived default works with no explicit trustedQuorumUrl.
  • faucetBaseUrl deliberately omitted. moutai's faucet is the legacy PHP MultiFaucet (reCAPTCHA); it has no /api/status and no JSON POST endpoint, so wiring it up would render an in-app faucet button that only ever fails with Failed to fetch faucet status: 404. Users fund the displayed deposit address by hand from that page instead.
  • The one 'devnet-paloma' string in islock.test.ts (an arbitrary "devnet without RPC" name) follows along. The sml-paloma-snapshot.bin fixture in sml.test.ts is left alone — it's captured historical CBOR test data.

Testnet remains the default at the bare root URL; mainnet and testnet users are unaffected.

Verification

Against live moutai, using the @dashevo/evo-sdk version this repo already pins (3.1.0-dev.7) — worth confirming, since moutai runs protocol 14:

  • EvoSDK.devnetTrusted('moutai') connects.
  • Proof-verifying reads return real data: epoch.current{index: 0, protocolVersion: 14, firstCoreBlockHeight: 40501}; system.totalCreditsInPlatform4655099998500000.
  • system.status()core_chain_locked_height: 41352, matching Insight's tip exactly.

Against the production build at ?network=devnet-moutai:

  • Header badge reads DEVNET-MOUTAI; health indicator reads Network healthy.
  • Devnet dropdown lists devnet-moutai as active; bare / still lands on TESTNET.
  • Create-identity flow generates a correctly-prefixed deposit address (yj4d6t…) with QR and mnemonic, no console errors.
  • Observed network calls confirm the wiring: insight.moutai.networks.dash.org/insight-api/status?q=getInfo, insight.moutai.networks.dash.org/insight-api/addr/<addr>/utxo, and Platform/getStatus against 68.67.122.252:1443 / 68.67.122.207:1443. No faucet requests.
  • No faucet section rendered on moutai.

tsc --noEmit clean; all 214 tests pass; npm run build plus the build-artifact smoke check pass.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added support for the Moutai devnet, including updated network discovery, Insight API connectivity, and DAPI masternode configuration.
    • Moutai devnet now uses the SDK’s trusted quorum settings.
  • Bug Fixes

    • Updated devnet subscription handling to use the Moutai network configuration for more reliable non-RPC DAPI connections.

devnet-paloma has been torn down — its insight, quorums and faucet hostnames no longer resolve — so the built-in devnet entry pointed at nothing. devnet-moutai replaces it in dash-network-configs.

All 13 HP masternodes from devnet-moutai.inventory are listed: the quorum service's /masternodes endpoint reports every one ENABLED with a successful DAPI version check (dapi/drive 4.2.0-dev.2), so none need pruning. Trusted context stays on, since quorums.moutai.networks.dash.org is deployed and serves /quorums, /masternodes and /previous. faucetBaseUrl is deliberately omitted: moutai's faucet is the legacy PHP MultiFaucet with no /api/status, so wiring it would render a button that only ever 404s.

Verified against live moutai with the pinned evo-sdk 3.1.0-dev.7: devnetTrusted connect succeeds, proof-verifying reads return real data (epoch 0, protocolVersion 14; totalCreditsInPlatform 4655099998500000), and the built UI on ?network=devnet-moutai reports "Network healthy", generates a deposit address, and polls insight.moutai.networks.dash.org plus moutai masternodes on :1443.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d23fcd09-d1c8-49a9-af9d-02c3d76299fa

📥 Commits

Reviewing files that changed from the base of the PR and between f020e9a and 56299e9.

📒 Files selected for processing (2)
  • src/api/islock.test.ts
  • src/config.ts

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


📝 Walkthrough

Walkthrough

The PR replaces the devnet-paloma configuration with devnet-moutai, updates DAPI and insight endpoints, removes the faucet URL, registers the new network, and updates the related islock test.

Changes

Devnet Moutai support

Layer / File(s) Summary
Moutai network configuration
src/config.ts
Replaces DEVNET_PALOMA with DEVNET_MOUTAI, updates the insight API URL and DAPI masternode addresses, removes faucetBaseUrl, and changes the registry entry.
Islock test integration
src/api/islock.test.ts
Uses devnet-moutai when constructing IslockService for the non-RPC DAPI subscription test.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: 🔵 Low · up to 56299

This PR replaces the dead built-in devnet with an opt-in Moutai configuration while leaving mainnet and testnet behavior unchanged. It is mergeable with explicit owner awareness that the selected external services lack documented ownership, endpoint-rotation, and rollback expectations; the impact is limited to users selecting this devnet.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 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: replacing the unsupported devnet-paloma configuration with devnet-moutai.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
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

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/devnet-moutai

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.

@PastaPastaPasta
PastaPastaPasta merged commit ab04c2f into main Sep 1, 2026
4 checks passed
@PastaPastaPasta
PastaPastaPasta deleted the claude/devnet-moutai branch September 1, 2026 22:43
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