Repository navigation
feat: devnet bonsia network support (deployment file, mint-identity, deploy-v2) - #159
Merged
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
…deploy-v2) Devnet bonsia (drive/dapi 4.2.0-beta.7, chain id dash-devnet-bonsia-g1) is where the fresh contracts will register: its 13 DAPI addresses and quorum service in forge-contracts/deployments/devnet-bonsia.json (Rust embeds it, forge-web bundles it), mint-identity's devnet registry, and deploy-v2 reading a devnet's addresses from its deployment file. No contracts are recorded for bonsia yet; moutai stays the default until the cut-over. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…munity in its fixtures #158 merged after #156 and was not rebuilt on it: DOC gained a second transition key (TS1117) and two new test fixtures lack ForgeIds.community, so wipe/beta7's typecheck fails. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PastaPastaPasta
force-pushed
the
feat/devnet-bonsia
branch
from
September 29, 2026 18:35
952ab2e to
5185c83
Compare
…cords Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
What
Network support for devnet bonsia, the replacement for moutai and the target of the fresh three-contract registration. Target:
wipe/beta7.About bonsia (probed read-only on 2026-09-29):
4.2.0-beta.7, protocol 14, chain iddash-devnet-bonsia-g1.68.67.122.{224–230,242–247}, with DAPI on:1443and Core p2p on:20001.https://quorums.bonsia.networks.dash.org. Insight athttps://insight.bonsia.networks.dash.org/insight-api; the addr and utxo endpoints work.Changes:
forge-contracts/deployments/devnet-bonsia.json: the addresses and quorum URL, with nov2. The Rust crates embed it (build.rs) and forge-web bundles it (lib/deployments.ts), so--devnet-name bonsiaandNEXT_PUBLIC_DEVNET_NAME=bonsiawork for every tool.tools/mint-identity:DEVNETS.bonsiagets the chain id, insight, quorums, faucet and addresses.deploy-v2.mjs: a devnet's DAPI addresses now come from its deployment file, the same waydeploy-key-exchange.mjsandsnapshot-contracts.mjsalready read them. The hard-coded moutai/bonsia table is gone.Makefile:devnet-identitiesnow fails with a clear message for a devnet that isn't in dash-network-configs, bonsia included, unlessFORGE_DEVNET_FUNDING_WIFis set.docs/BUILDING.md: bonsia is described as the devnet replacing moutai.Tests:
bonsia_resolves_its_addresses_and_quorum_service_and_has_no_forge_v2_yet.constants.test.ts: bonsia resolves with 13 nodes, its quorum endpoint, and no v2.test/devnets.test.mjs.lib/sdk/bonsia.live.test.ts: read-only, runs only withFORGE_LIVE=1and the devnet name bonsia.The two "no forge-v2 yet" assertions are deliberate tripwires. The deploy commit that records bonsia's contracts must flip them; the wipe runbook says so.
Nothing moves off moutai here. The Makefile
DEVNET,E2E_DEVNET, and the Pages, e2e and nightly workflows stay on moutai until the owner's cut-over rule holds (full design live on bonsia, fixes in, and demo repos up). No contracts are registered.Also fixes wipe/beta7 after #158
#158 merged after #156 without being rebuilt on it, which left wipe/beta7 failing typecheck. This PR:
DOC.transitionkey (TS1117);ForgeIds.communityto the two new fixtures (lib/repo/transitions.test.ts,lib/view/upstream.test.ts);pull.authordependency the merge panel's merge callback reads (a react-hooks/exhaustive-deps warning).Verified
cargo test --workspaceandcargo fmt --checkpass.tscandpnpm lintare clean.node --test: 24 passed.deploy-v2.mjs --self-testpasses.getStatus(chain id, drive version) and the DPNS system contract from all 13 bonsia nodes.bonsia.live.test.ts.dg doctor --devnet-name bonsiashows DAPI reachable, DPNS proof-verified, and protocol 14.https://node:1443//org.dash…. bonsia's gateway 404'd that at first, and the operator has since enabled slash merging. The SDK behaviour is written up for a possible upstream report (dash-forge-qaupstream/dapi-double-slash.md, not filed).🤖 Generated with Claude Code