Skip to content

chore(devnet): bring moutai back up on drive 4.2.0-beta.5 - #92

Merged
PastaPastaPasta merged 2 commits into
masterfrom
chore/devnet-moutai-beta5-bringup
Sep 27, 2026
Merged

PastaPastaPasta merged 2 commits into
masterfrom
chore/devnet-moutai-beta5-bringup

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

What this does

Devnet moutai had its Platform chain wiped and restarted on drive 4.2.0-beta.5, which removed every contract, identity, DPNS name and fixture. This PR gets Forge working on moutai again:

  • moves the Rust Platform crates to the v4.2.0-beta.5 tag;
  • records the newly registered forge-v2 contracts;
  • points every hardcoded moutai id at the new contracts and fixture identities.

Network (checked 2026-09-27 20:20Z, DAPI getStatus on all 13 masternodes)

  • drive/dapi 4.2.0-beta.5, tenderdash 1.8.1.
  • Protocol 14 current, latest and next epoch.
  • Chain id dash-devnet-moutai.
  • Platform restarted at height 1. Core was kept (chainlock 89717), and the faucet and insight are up.

SDK bump

  • Rust: dash-sdk, dapi-grpc, drive-proof-verifier, rs-sdk-trusted-context-provider, simple-signer, platform-encryption and the dpp of tools/contract-validate are now on v4.2.0-beta.5, with Cargo.lock updated.
  • JS stays on 4.2.0-beta.4. @dashevo/[email protected] is on npm, but the @dashevo/[email protected] it depends on was never published: the release's NPM job failed with ENEEDAUTH, and fix(release)!: run NPM and Kotlin releases on disposable runners dashpay/platform#5077 is fixing it. So forge-web, tools/mint-identity and forge-contracts/sdk-v2 keep the beta.4 pair.
    • beta.4 clients work against the beta.5 network. The following were all done with beta.4 JS: identity minting, contract registration, fixture seeding, and the web reads and writes below.
    • The follow-up is in BACKLOG.md.
  • tools/contract-validate against rs-dpp beta.5: both schemas are valid, and the sizes are the same as under beta.4 (12,039 B and 14,287 B).

New moutai ids

id
forge-core 6DJ3px1ZDGpx9kvLEMDuLdLtHo4WYirWzyJ2GVWegGux
forge-collab 6BbENuf3uZhkntw9DSsxQcTu9a5fATxQoSe6Ph1JxHkS
contract group (dash-forge) FtHLFE1xLqn7s6FzS56GbY6Hh6KgLjCezNJ8HLUNJ3mc
key-exchange copy CErHv5FHjnXJ1Zv6TNmtWirzELYbz8H7rinvn4UtQFZQ
DEPLOYER 7mRv16E77y5dPzhNhBBhUMqFNMoBNTNsBeEYCAtpLnTu
OWNER 5999iJiaZLMEb6KbjXYFDDYjwGWssatToUTJbXvXhxBp
MAINTAINER AFbkc2KjmmGFvKUDTXqu94XU5BVrD3p7QQu19TSCqeHb
COLLAB Bq2aZ3xzfN46kruWXhGWHzFBUQrRpnBauHAAfUD5g4W9
CONTRIB 8unje8KNimvQ15NJeNTM15m7Dc4o7QJs4ZstWrbXdGxv
CI-RUNNER / RELAY / FROZEN / TREASURY CKoTwSdz… / zJtNm62Z… / 7EfFSd2G… / aY8cHwob…
F1OWNER / F1COLLAB (issues fixture) 9GgCNC4bY5Vrj8Z2VxQX2PmReAvJaLwYg9qiLNvrSHUw / 2v2K2TfVBa1EbDELBWkxehMJsuUyaiKMaor617GgVzca
  • Contracts: registered with deploy-v2.mjs from the schemas on master, with no schema change, followed by deploy-key-exchange.mjs and snapshot-contracts.mjs.
  • Deployment record: deployments/devnet-moutai.json starts again from nothing. The superseded records named contracts on the wiped chain.
  • Fixtures, re-seeded:
    • forge-v2-demo and forge-v2-empty, with seed-v2-fixture.mjs;
    • issues-paging, 112 issues, with seed-issues-paging.mjs;
    • f1-scratch, with F1COLLAB as a writer;
    • gh-bvs-mirror, with forge-import.
  • Other ids: hardcoded moutai ids in tests and docs now point at the new ones. Historical design-spec records keep their original ids, with a note about the reset.

Verified live on moutai

The validation results are posted as a PR comment.

🤖 Generated with Claude Code

moutai's Platform chain was wiped and restarted on drive 4.2.0-beta.5 (protocol 14). Pin the Rust Platform crates and tools/contract-validate to v4.2.0-beta.5 and pass the new RegisterDpnsNameInput.contest_fund (None: the SDK states the fund to join). The JS packages stay on 4.2.0-beta.4 because @dashevo/[email protected] was never published (dashpay/platform#5077); BACKLOG.md tracks the bump.

Re-register forge-core, forge-collab, the contract group and the key-exchange copy from the unchanged schemas, re-snapshot the bundled contracts, and move every hardcoded moutai contract and fixture identity id to the new ones.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 06e9da0c-b8bf-46cd-93b6-e3030e72a34c

📥 Commits

Reviewing files that changed from the base of the PR and between 54348a6 and 6c03594.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • tools/contract-validate/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (46)
  • BACKLOG.md
  • Cargo.toml
  • crates/dg/src/auth/group.rs
  • crates/forge-core/src/collab/v2.rs
  • crates/forge-core/src/fork.rs
  • crates/forge-core/src/platform/identity.rs
  • crates/forge-core/src/platform/identity_keys.rs
  • crates/forge-core/src/scope.rs
  • docs/BUILDING.md
  • docs/contracts/forge-v2.md
  • docs/design/review-parity-spec.md
  • docs/design/wallet-login.md
  • docs/guides/identity-and-keys.md
  • docs/roadmap.md
  • docs/security/private-repos.md
  • docs/testing/e2e-test-plan.md
  • e2e/README.md
  • forge-contracts/deployments/contracts/devnet-moutai.json
  • forge-contracts/deployments/devnet-moutai.json
  • forge-contracts/scripts/deploy-v2.mjs
  • forge-web/e2e/helpers.ts
  • forge-web/e2e/v2-home.spec.ts
  • forge-web/e2e/v2-issues.spec.ts
  • forge-web/e2e/write-refusals.spec.ts
  • forge-web/lib/auth/auth-v2.test.ts
  • forge-web/lib/auth/encryption-key.test.ts
  • forge-web/lib/auth/group-trust.test.ts
  • forge-web/lib/auth/key-spend.test.ts
  • forge-web/lib/auth/key-top-up.test.ts
  • forge-web/lib/auth/responder-profile.test.ts
  • forge-web/lib/auth/wallet-protocol.test.ts
  • forge-web/lib/auth/wallet-session.test.ts
  • forge-web/lib/repo/fork.test.ts
  • forge-web/lib/repo/issue-index.test.ts
  • forge-web/lib/repo/review-writes.test.ts
  • forge-web/lib/repo/v2.live.test.ts
  • forge-web/lib/repo/v2.test.ts
  • forge-web/lib/sdk/query.test.ts
  • forge-web/lib/sdk/write-engine.test.ts
  • forge-web/lib/short-url.test.ts
  • forge-web/lib/storage/storage.test.ts
  • forge-web/lib/view/dpns.test.ts
  • forge-web/lib/view/inbox.test.ts
  • forge-web/lib/view/issue-query.test.ts
  • tools/contract-validate/Cargo.toml
  • tools/contract-validate/negative.sh

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.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@PastaPastaPasta

Copy link
Copy Markdown
Owner Author

Live validation on moutai (drive 4.2.0-beta.5), run from this branch at 6c03594:

  • Read-only Playwright (chromium, local moutai build): 102 passed, 54 skipped (write-gated), 0 failed. The showcase repos specs were excluded: they read the showcase mirrors, which the reset wiped and which are being rebuilt separately.
  • E2E_WRITE smoke: v2-writes.spec.ts w1–w5 with identities minted for the run, 5/5 passed. They cover a browser repo create, adding a writer, issue open/comment/close, a label event, and star/unstar with an indexOnly delete. So forge-web on the JS beta.4 SDK writes and reads proof-verified documents on the beta.5 chain. w6 was left out because it writes to the demo fixture's PR.
  • CLI e2e 01–05: passed=5 skipped=0 failed=0. 01 is the push + clone round trip, byte-identical. 04 and 05 are refused at consensus.
  • DPNS via dg auth name register (Rust beta.5, contest_fund: None): a contested label (bringup-p5) and a non-contested one both registered.
  • Fixtures re-seeded: forge-v2-demo, forge-v2-empty, issues-paging (112 issues), f1-scratch, gh-bvs-mirror.
  • Review: code-review-validator on the SDK-bump changes found no correctness issues.

🤖 Posted autonomously by Claude on behalf of pasta.

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