Skip to content

chore(descriptors): re-pin paseo chains after genesis reset - #297

Merged
Imod7 merged 3 commits into
mainfrom
domi/descriptors-paseo-genesis-reset
Aug 14, 2026
Merged

chore(descriptors): re-pin paseo chains after genesis reset#297
Imod7 merged 3 commits into
mainfrom
domi/descriptors-paseo-genesis-reset

Conversation

@Imod7

@Imod7 Imod7 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Description

paseo-individuality and paseo-asset-hub were re-genesised. The bundled descriptors still
pinned the old genesis hashes, so they addressed chains that no longer exist. This re-pins
both from their live RPC and updates the two places that hard-coded the old values.

Chain Old genesis New genesis
paseo-individuality 0xc5af1826…65afa5 0x89a63b11…48c5440f
paseo-asset-hub 0xbf0488db…ae4ef19f 0x23e730eb…f94a2ca6

Changes

File Change Impact
descriptors/.papi/metadata/paseo_*.scale Re-fetched metadata Decoding matches the live runtimes
descriptors/chains/paseo-*/.papi/polkadot-api.json New genesis and codeHash Production reads genesis from here, so this is the fix
descriptors/chains/paseo-*/generated/package.json Autogenerated version Build artefact
chain-client/src/presets.ts Two test constants They asserted the old hashes
examples/*/e2e/fixtures.ts (8) Comment points at PASEO_ASSET_HUB.genesisHash, not a literal Drops 8 copies of a value that goes stale each reset
pending-changesets/descriptors-paseo-genesis-reset.md New changeset, minor Release note
pnpm-workspace.yaml Catalog @parity/host-api-test-sdk to ^0.12.1 0.12.0 pins the dead hashes, so nothing should resolve it again
pnpm-lock.yaml Resolves 0.12.1 CI installs --frozen-lockfile, so the release does not reach CI without this

Note for reviewers: version bump

The changeset is minor. Previous descriptor re-pins were patch, so this is a departure,
but not a judgement call: the paseo-individuality regeneration removes typed API
surface, and on 0.x a removal is how a breaking change is signalled.

Pallet Removed
Resources 2 storage entries, 6 FriendRequest* constants (4 return as Notification*)
Game storage Nfts, NftCandidates, no replacement
Coinage storage RecyclersUnloaded, replaced by two entries

paseo-asset-hub is additive only (Scarcity, NftClaims, two DotnsGateway constants), so asset-hub consumers upgrade safely.

Testing

cd product-sdk
pnpm install
pnpm --filter "@parity/product-sdk-chain-client" test -- --run
pnpm -r build && pnpm typecheck && pnpm check
pnpm -r --no-bail test -- --run

chain-client was 26/26 green before and 26/26 green after. That is the problem it fixes:
the suite compares the descriptor to a constant, and both held the dead hash, so it passed
against a chain that does not exist. It went red twice during the change, once per wrong
constant. typecheck and check clean; workspace green except four pre-existing
formatBalance locale failures in packages/utils, untouched here.

E2E. Green is not currently reachable on this repo (main's last four runs: one green, three
red), so the comparison is against main @ 1981a2d, this branch's parent.

This PR fixes 7 tests: contracts boot:16, contracts submit:35, tx dispatch-error:17,
tx finalized:16, tx on-status:18, tx submit-remark:20 and :49. They failed on main
because the descriptor and the test host agreed on the dead hash while the RPC served the live chain, so decoding and tx submission ran against mismatched metadata.

The remaining failures are not from this PR. contracts query:44 and :63 fail on main
too. The rest is a connection-status: "connecting" timeout that lands on a different test
every run with no repeats: run 31808934300 hit signer connect, chain-client lifecycle and host storage-ops; run 31821921037 hit storage prefix, signer switch-account and tx finalized. Six tests, one signature, which points at the shared chain connection under nine parallel demos.

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown

📦 Bundle size impact

Comparing 2026-08-14T17:03:52.518Z2026-08-14T17:04:02.261Z

Package Entry Bundled before Bundled after Δ Ship gzip Δ Shake ratio
🟢 @parity/product-sdk . 6.33 MB 6.41 MB +83.9 KB (+1.3%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./chain 6.09 MB 6.17 MB +83.9 KB (+1.3%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./cloud-storage 6.26 MB 6.34 MB +83.9 KB (+1.3%) 0 B 3% (was 3%)
🟢 @parity/product-sdk ./core 6.33 MB 6.41 MB +83.9 KB (+1.3%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./react 6.34 MB 6.42 MB +83.9 KB (+1.3%) 0 B 0% (was 0%)
🟢 @parity/product-sdk-chain-client . 6.09 MB 6.17 MB +83.9 KB (+1.3%) 0 B 0% (was 0%)
🟢 @parity/product-sdk-cloud-storage . 6.26 MB 6.34 MB +83.9 KB (+1.3%) 0 B 3% (was 3%)
🟢 @parity/product-sdk-descriptors ./paseo-asset-hub 1021.1 KB 1.03 MB +32.4 KB (+3.2%) +2 B 17% (was 17%)
🟢 @parity/product-sdk-descriptors ./paseo-individuality 657.6 KB 709.1 KB +51.5 KB (+7.8%) -1 B 18% (was 19%)

Thresholds — warn: ≥10% or ≥5.0 KB · fail: ≥20% or ≥15.0 KB (bundled). Percentage only applies once the baseline is ≥ 10 KB.

@Imod7
Imod7 marked this pull request as ready for review August 14, 2026 17:42
@Imod7
Imod7 merged commit 8fc6adc into main Aug 14, 2026
13 of 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.

2 participants