Skip to content

chore(cdm): sync playground-registry manifest to v3 (sorted-index reads)#273

Merged
UtkarshBhardwaj007 merged 1 commit into
mainfrom
chore/cdm-registry-v3-sync
Jun 4, 2026
Merged

chore(cdm): sync playground-registry manifest to v3 (sorted-index reads)#273
UtkarshBhardwaj007 merged 1 commit into
mainfrom
chore/cdm-registry-v3-sync

Conversation

@UtkarshBhardwaj007
Copy link
Copy Markdown
Member

What

Regenerates the CDM snapshot with cdm i -n paseo (cdm 0.8.18) against the live meta-registry (0xf62c2ece), picking up the v3 redeploy of @w3s/playground-registry at 0x9938255f40485B25641C9bc263aa8E0bAE8c202d from playground-app PR #277.

Why

playground-app added on-chain sorted indexes for the Apps-tab sorts and redeployed the registry. The new ABI surface:

  • getTopStarred(start, count) - apps ranked by star count
  • getTopModded(start, count) - apps ranked by mod count

Both return the same AppsPage shape as getApps. No existing method signatures changed, so no CLI code changes are needed; the typed contract handle simply gains the two new read methods.

Notes

  • Addresses keep resolving live from the meta-registry (ContractManager.fromLiveClient + the "latest" pin), so the snapshot only refreshes the ABI surface and the recorded version/address/metadataCid. Verified the CLI snapshot is now byte-identical (ABI deep-equal) to playground-app's manifest.
  • The whitespace churn is the generator's canonical 2-space JSON style (same as playground-app's cdm.json); future cdm i runs are zero-diff. Biome does not cover root JSON, so format:check is unaffected.
  • .cdm/*.d.ts typings were regenerated too but are gitignored (local-only).

Verification

  • pnpm format:check pass
  • pnpm lint:license pass
  • pnpm test 579/579 pass
  • pnpm build pass

Regenerated with cdm 0.8.18 (cdm i -n paseo) against the live meta-registry
(0xf62c2ece). Picks up the v3 redeploy of @w3s/playground-registry at
0x9938255f40485B25641C9bc263aa8E0bAE8c202d from playground-app PR #277,
which adds the on-chain sorted-index read methods getTopStarred(start,
count) / getTopModded(start, count) backing the Apps-tab most-starred /
most-modded sorts. No existing method signatures changed.

The whitespace churn is the generator's canonical 2-space JSON style
(same as playground-app's manifest); future cdm i runs are zero-diff.
Addresses keep resolving live from the meta-registry, so this snapshot
only refreshes the ABI surface and the recorded version/address/CID.
@UtkarshBhardwaj007 UtkarshBhardwaj007 merged commit 2a32b1c into main Jun 4, 2026
19 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/chore/cdm-registry-v3-sync bash

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: chore/cdm-registry-v3-sync · Commit: d3039a8 · Run logs

Cell Result Time
pr-deploy-cdm ✅ PASS 5m15s
pr-init-session ✅ PASS 1m48s
pr-deploy-foundry ✅ PASS 1m22s
pr-mod ✅ PASS 1m22s
pr-deploy-frontend ✅ PASS 9m04s
pr-install ✅ PASS 0m42s
pr-preflight ✅ PASS 2m56s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m00s

Sentry traces: view spans for this run

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