@parity/ppn 0.2.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +84 -0
  3. package/config/ports.env +128 -0
  4. package/config/versions.env +120 -0
  5. package/dist/bin.d.ts +2 -0
  6. package/dist/bin.js +30 -0
  7. package/dist/bin.js.map +1 -0
  8. package/dist/cli.d.ts +3 -0
  9. package/dist/cli.js +471 -0
  10. package/dist/cli.js.map +1 -0
  11. package/dist/commands/bite.d.ts +27 -0
  12. package/dist/commands/bite.js +556 -0
  13. package/dist/commands/bite.js.map +1 -0
  14. package/dist/commands/dashboard.d.ts +2 -0
  15. package/dist/commands/dashboard.js +503 -0
  16. package/dist/commands/dashboard.js.map +1 -0
  17. package/dist/commands/dist.d.ts +7 -0
  18. package/dist/commands/dist.js +121 -0
  19. package/dist/commands/dist.js.map +1 -0
  20. package/dist/commands/fetch.d.ts +11 -0
  21. package/dist/commands/fetch.js +550 -0
  22. package/dist/commands/fetch.js.map +1 -0
  23. package/dist/commands/fork.d.ts +1 -0
  24. package/dist/commands/fork.js +164 -0
  25. package/dist/commands/fork.js.map +1 -0
  26. package/dist/commands/generate.d.ts +7 -0
  27. package/dist/commands/generate.js +201 -0
  28. package/dist/commands/generate.js.map +1 -0
  29. package/dist/commands/genesis-toml.d.ts +1 -0
  30. package/dist/commands/genesis-toml.js +26 -0
  31. package/dist/commands/genesis-toml.js.map +1 -0
  32. package/dist/commands/nginx-conf.d.ts +1 -0
  33. package/dist/commands/nginx-conf.js +32 -0
  34. package/dist/commands/nginx-conf.js.map +1 -0
  35. package/dist/commands/service-context.d.ts +13 -0
  36. package/dist/commands/service-context.js +5 -0
  37. package/dist/commands/service-context.js.map +1 -0
  38. package/dist/commands/service.d.ts +28 -0
  39. package/dist/commands/service.js +807 -0
  40. package/dist/commands/service.js.map +1 -0
  41. package/dist/commands/stamp-spawn.d.ts +7 -0
  42. package/dist/commands/stamp-spawn.js +43 -0
  43. package/dist/commands/stamp-spawn.js.map +1 -0
  44. package/dist/commands/start.d.ts +33 -0
  45. package/dist/commands/start.js +462 -0
  46. package/dist/commands/start.js.map +1 -0
  47. package/dist/commands/upgrade.d.ts +15 -0
  48. package/dist/commands/upgrade.js +101 -0
  49. package/dist/commands/upgrade.js.map +1 -0
  50. package/dist/fork/chains.d.ts +25 -0
  51. package/dist/fork/chains.js +36 -0
  52. package/dist/fork/chains.js.map +1 -0
  53. package/dist/fork/codec.d.ts +36 -0
  54. package/dist/fork/codec.js +122 -0
  55. package/dist/fork/codec.js.map +1 -0
  56. package/dist/fork/manifest.d.ts +13 -0
  57. package/dist/fork/manifest.js +77 -0
  58. package/dist/fork/manifest.js.map +1 -0
  59. package/dist/fork/overrides.d.ts +45 -0
  60. package/dist/fork/overrides.js +255 -0
  61. package/dist/fork/overrides.js.map +1 -0
  62. package/dist/fork/products.d.ts +68 -0
  63. package/dist/fork/products.js +265 -0
  64. package/dist/fork/products.js.map +1 -0
  65. package/dist/fork/rpc.d.ts +25 -0
  66. package/dist/fork/rpc.js +51 -0
  67. package/dist/fork/rpc.js.map +1 -0
  68. package/dist/fork/shared-relay.d.ts +99 -0
  69. package/dist/fork/shared-relay.js +162 -0
  70. package/dist/fork/shared-relay.js.map +1 -0
  71. package/dist/fork/sleep.d.ts +3 -0
  72. package/dist/fork/sleep.js +2 -0
  73. package/dist/fork/sleep.js.map +1 -0
  74. package/dist/fork/validators.d.ts +81 -0
  75. package/dist/fork/validators.js +170 -0
  76. package/dist/fork/validators.js.map +1 -0
  77. package/dist/fork/verify.d.ts +79 -0
  78. package/dist/fork/verify.js +192 -0
  79. package/dist/fork/verify.js.map +1 -0
  80. package/dist/lib/archive.d.ts +8 -0
  81. package/dist/lib/archive.js +40 -0
  82. package/dist/lib/archive.js.map +1 -0
  83. package/dist/lib/fork-bundle-name.d.ts +4 -0
  84. package/dist/lib/fork-bundle-name.js +20 -0
  85. package/dist/lib/fork-bundle-name.js.map +1 -0
  86. package/dist/lib/github.d.ts +48 -0
  87. package/dist/lib/github.js +192 -0
  88. package/dist/lib/github.js.map +1 -0
  89. package/dist/lib/provenance.d.ts +67 -0
  90. package/dist/lib/provenance.js +98 -0
  91. package/dist/lib/provenance.js.map +1 -0
  92. package/dist/lib/spawn-env.d.ts +33 -0
  93. package/dist/lib/spawn-env.js +71 -0
  94. package/dist/lib/spawn-env.js.map +1 -0
  95. package/dist/lib/spawn-stamp.d.ts +34 -0
  96. package/dist/lib/spawn-stamp.js +63 -0
  97. package/dist/lib/spawn-stamp.js.map +1 -0
  98. package/dist/upgrade/chains.d.ts +4 -0
  99. package/dist/upgrade/chains.js +17 -0
  100. package/dist/upgrade/chains.js.map +1 -0
  101. package/dist/upgrade/fund.d.ts +38 -0
  102. package/dist/upgrade/fund.js +119 -0
  103. package/dist/upgrade/fund.js.map +1 -0
  104. package/dist/upgrade/provider-node.d.ts +2 -0
  105. package/dist/upgrade/provider-node.js +7 -0
  106. package/dist/upgrade/provider-node.js.map +1 -0
  107. package/dist/upgrade/signer.d.ts +21 -0
  108. package/dist/upgrade/signer.js +48 -0
  109. package/dist/upgrade/signer.js.map +1 -0
  110. package/dist/upgrade/sudo.d.ts +2 -0
  111. package/dist/upgrade/sudo.js +26 -0
  112. package/dist/upgrade/sudo.js.map +1 -0
  113. package/dist/upgrade/upgrade.d.ts +128 -0
  114. package/dist/upgrade/upgrade.js +539 -0
  115. package/dist/upgrade/upgrade.js.map +1 -0
  116. package/networks/README.md +120 -0
  117. package/networks/devnet.json +113 -0
  118. package/networks/kusama.json +56 -0
  119. package/networks/paseo-next-v2.json +87 -0
  120. package/networks/polkadot.json +57 -0
  121. package/networks/previewnet.json +186 -0
  122. package/package.json +54 -0
  123. package/scripts/assign-cores.sh +12 -0
  124. package/scripts/dashboard.sh +11 -0
  125. package/scripts/docker-entrypoint.sh +52 -0
  126. package/scripts/dub/postgres.sh +116 -0
  127. package/scripts/dub/service.sh +202 -0
  128. package/scripts/ensure-dot-cli.sh +23 -0
  129. package/scripts/eth-rpc.sh +45 -0
  130. package/scripts/force-open-hrmp.sh +11 -0
  131. package/scripts/grant-invites.sh +11 -0
  132. package/scripts/increase-people-lite-attestation-allowance.sh +11 -0
  133. package/scripts/install.sh +12 -0
  134. package/scripts/ipfs-daemon.sh +48 -0
  135. package/scripts/ipfs-swarm.sh +48 -0
  136. package/scripts/kill-port.sh +11 -0
  137. package/scripts/lib/workspace.sh +47 -0
  138. package/scripts/omni-node.sh +112 -0
  139. package/scripts/patch-bootnodes.sh +11 -0
  140. package/scripts/pin-bulletin-products.sh +11 -0
  141. package/scripts/pin-design-families.sh +144 -0
  142. package/scripts/set-dispatcher-address.sh +11 -0
  143. package/scripts/storage-provider-node.sh +11 -0
  144. package/web/assets/index-BW4b1s2y.js +7 -0
  145. package/web/assets/index-X3pZpnYk.css +1 -0
  146. package/web/index.html +13 -0
  147. package/zombienet-configs/local-dev.toml +253 -0
@@ -0,0 +1,120 @@
1
+ # Network descriptors
2
+
3
+ One JSON file per network PPN can run. **Only previewnet is spawnable from genesis**
4
+ (`"genesis": true`); every other network is fork-only — brought up from a bite of the
5
+ live network (`make start FORK=1 NETWORK=<name>`, see `docs/FORK.md`).
6
+
7
+ A descriptor is self-contained: it states which binary every chain runs, which release
8
+ that binary comes from, which runtime the chain starts from (genesis networks), what its
9
+ services and tools are, and which build can bite it. Nothing is implied and nothing
10
+ resolves elsewhere — `config/versions.env` holds only shared tooling (zombienet, kubo,
11
+ postgres, identity, design families) that is the same whichever network is running.
12
+
13
+ ```bash
14
+ make show-network # what previewnet is made of, resolved
15
+ make show-network NETWORK=devnet # …or any other network
16
+ ```
17
+
18
+ The descriptor is consumed by `packages/network-config/src/networks.ts` (loader + validation), which
19
+ feeds both TOML generators (`toml-generator.ts` for previewnet's genesis, `fork-toml.ts`
20
+ for every fork), `packages/cli/src/fork/chains.ts`, `ppn fetch` (`make fetch`),
21
+ `ppn generate`, `ppn bite` (`make bite`) and the Makefile. Select a network with `NETWORK=<name>` on make,
22
+ or `PPN_NETWORK=<name>` in the environment of the scripts.
23
+
24
+ ## Schema
25
+
26
+ | Field | Meaning |
27
+ | --- | --- |
28
+ | `name` | Network id; must match the filename. |
29
+ | `genesis` | May be spawned from genesis. Previewnet only — the genesis machinery (runtimes, chain-spec presets, DotNS genesis) is previewnet's. |
30
+ | `sudo` | The live network has sudo. Networks without it (Kusama, Polkadot) cannot be upgraded after the fork, so a runtime under test must be injected at bite time — which is why they cannot be pre-bitten by CI. |
31
+ | `bite.prebaked` | CI bites this network on release and publishes `fork-bundle-<name>.tar.gz` (`fork-bundle-previewnet.tar.gz` for previewnet). Only meaningful for sudo networks with a real `bite.source`. |
32
+ | `bite.source` | Base URL of the live network to bite. Per-chain `rpc` values that are paths resolve against it. When every `rpc` is an absolute URL (public networks like devnet), it serves as provenance (`manifest.source`) and as the origin `pin-bulletin-products` fetches product bytes from (`<source>/ipfs/<cid>`), so point it at the network's IPFS gateway. |
33
+ | `releases` | The version table: `{ "<your-name>": { "repo": "...", "tag": "..." } }`. Every binary and runtime reference names one of these, so a version is written once per network. Names are yours — there are no reserved or special-cased names, and nothing resolves against `config/versions.env`. An unused entry is an error. |
34
+ | `relay.binary`, `parachains[].binary` | **Required, explicit**: `{ "name": "...", "release": "..." }` — which binary this chain runs (`polkadot`, `polkadot-omni-node`, `polkadot-parachain`, …) and which release it comes from. Both TOML generators (fork *and* previewnet's genesis) follow these bindings; `fetch.sh` downloads exactly this set (`polkadot` brings its two PVF workers along). Add `"archive": "name-{tag}-{triple}.tar.gz"` when the binary ships inside a tarball. One binary name cannot be bound to two releases within a network — the files would collide in bin/. |
35
+ | `relay.runtime`, `parachains[].runtime` | `{ "asset": "...", "release": "...", "file": "..." }` — the runtime WASM this chain starts from, the release it comes from, and the local filename. **Required on a genesis network** (previewnet) and absent on fork-only ones, which restore every runtime from state. `ppn generate` builds each spec from the `file` named here, so download and build cannot drift. |
36
+ | `relay.genesisSpec`, `parachains[].genesisSpec` | `{ "chainId", "name", "preset", "file" }` — the chain spec a genesis network builds for this chain. `ppn generate` passes them to `chain-spec-builder` (`-i`, `-n`, `named-preset`, output filename) and the genesis TOML generator points zombienet at `chainId` + `file`. **Required on a genesis network**, absent on fork-only ones (a fork uses the specs inside its bundle). |
37
+ | `genesisConfig` | `{ "chainType", "properties", "validatorNameSuffix", "networkSuffix" }` — settings every chain in a genesis network shares: `chain-spec-builder -t`, `--properties`, and the relay node-name suffix zombienet derives validator keys from (`alice-paseo-validator`). Required on a genesis network. `networkSuffix` is optional: the namespace product contexts derive in, written into the genesis of the chains whose runtime carries the pallet holding it (People and Asset Hub). At most 16 bytes. Leave it out to keep whatever the runtime presets ship — a fork needs nothing here, since its runtime already has the value set. |
38
+ | *(para ids)* | `parachains[].paraId` is the single source: the genesis TOML, the fork TOML, `ppn generate` and `assign-cores.sh` all read it from here. `config/ports.env` deliberately holds no para ids — those belong to the network, not the machine. |
39
+ | `relay.extraArgs`, `parachains[].extraArgs` | Extra node flags for that chain, appended to the shared per-key flag table (existing flags win over duplicates). |
40
+ | `services` | Per-service switches and binaries: `false` disables a service; `{ "binary": { … } }` says what it runs. `eth-rpc` must match the revive pallet in the network's Asset Hub runtime, which is exactly why it is pinned per network rather than shared. |
41
+ | `tools` | Local tools this network needs that are neither a chain nor a service — previewnet's `chain-spec-builder`, for instance, which only a genesis network uses. |
42
+ | `bite.doppelganger` | `{repo, tag}` of the bite tool. Per network, because the build has to be able to execute the runtimes of the network being bitten. |
43
+ | *(bin layout)* | Only node binaries are network-versioned: previewnet's live in `bin/`, every other network's in `bin/<name>/` (plus `dg/` for bites). Shared tooling with no per-network dimension — zombie-cli, ipfs, postgres, identity, design families — lives in plain `bin/` and is pinned in `config/versions.env`. Collators run through `scripts/omni-node.sh` regardless of binary; it carries the libp2p fix and picks binary/dir from `PPN_COLLATOR_BINARY`/`PPN_BIN_DIR`. |
44
+ | `relay.chain` | Built-in chain name doppelganger runs with (`ZOMBIE_CHAIN`), e.g. `paseo`, `kusama`. |
45
+ | `relay.spec` | Basename of the relay spec inside the bundle (`specs/<spec>.json`). |
46
+ | `relay.rpc`, `parachains[].rpc` | RPC endpoint: an absolute `ws(s)://`/`http(s)://` URL, or a path resolved against `bite.source`. |
47
+ | `rpcAlternates` | Informational: other public providers for the same chain, for when the primary is re-homed. Not consumed by tooling (yet). |
48
+ | `relay.specSource`, `parachains[].specSource` | Explicit location of the chain spec the bite warp-syncs from (it must carry the live network's bootnodes): an absolute URL, a path resolved against `bite.source` (previewnet uses `chainspecs/<spec>-local.json`, so biting a different instance follows the base-URL override), or `"builtin"` (generated with `build-spec --chain <relay.chain> --raw`, relay only). |
49
+ | `relay.validators` | Number of dev-key validators the fork runs with (max 6: alice…ferdie). |
50
+ | `parachains[].key` | One of `asset-hub`, `people`, `bulletin`, `web3-storage` — the keys PPN's port table and per-chain flags are defined for. |
51
+ | `parachains[].paraId` | The network's real para id. Previewnet/paseo-next-v2 use the 1500 band; devnet and real networks the 1000 band. |
52
+ | `parachains[].spec` | Basename of the parachain spec inside the bundle. |
53
+ | `services` | Optional `{ "<process>": false }` map to disable custom processes that would otherwise run for the present parachains (e.g. eth-rpc for asset-hub, ipfs for bulletin). |
54
+ | `dotns.resolver` | DotnsContentResolver address for `pin-bulletin-products` — per network, since every DotNS deployment has its own. Omitted → read from `bin/dotns-addresses.json` (previewnet's release artifact); still absent → the import is skipped. |
55
+ | `dotns.gateway` | IPFS gateway the product bytes are fetched from. Omitted → `bite.source`, which is right where the source network's front door is also its gateway (previewnet, devnet) and wrong where it is not: paseo-next-v2's `https://dot.li` is a single-page app that returns its own HTML for every path, 200 included. |
56
+
57
+ `_todo` fields (at any level) are blocking stubs: human notes about what still has
58
+ to be confirmed. The loader ignores them; `make bite` refuses to bite a network
59
+ whose descriptor still carries any. `_note` fields are informational only — context
60
+ worth keeping next to a value — and never block anything.
61
+
62
+ ## Where the node binaries come from
63
+
64
+ Every descriptor's `polkadot-sdk` release points at **`paritytech/release-automation@latest`**,
65
+ not at `paritytech/polkadot-sdk`. That is deliberate, and it is the reason webrtc works.
66
+
67
+ `CHAIN_ARGS` passes `--experimental-webrtc` to asset-hub, bulletin and web3-storage. That flag
68
+ comes from polkadot-sdk PR #12315, merged to master on 2026-06-23. The `stable2606` line was
69
+ branched off master on 2026-06-02 — three weeks earlier — so the flag is in **no** stable
70
+ release, including `stable2606-1`, and stable patch releases only take backports. An
71
+ omni-node from a stable tag exits immediately with `unexpected argument
72
+ '--experimental-webrtc'`, which kills three of the four collators.
73
+
74
+ `release-automation` cuts a weekly branch from master and publishes the full set of binaries —
75
+ `polkadot`, `polkadot-omni-node`, both PVF workers, `chain-spec-builder`, `eth-rpc` — for
76
+ linux-x86_64 and macos-arm64, under exactly the asset names `ppn fetch` already expects. So
77
+ this is a pins-only change; no fetch code knows the difference.
78
+
79
+ One thing to know:
80
+
81
+ - **`latest` is a moving tag, and this channel has published partial re-builds** — 1, 4 and 11
82
+ assets against a normal 47. `ppn fetch` now fails, loudly and by name, when the descriptor
83
+ asks for something the release does not have, instead of leaving `bin/` half-populated. If
84
+ that fires, pin a complete tag here (e.g. `polkadot-weekly2026w33-rc2`) rather than
85
+ `latest`.
86
+
87
+ Once the flag reaches a stable release — the next line, `stable2609`, will carry it since it
88
+ is already on master — this can go back to `paritytech/polkadot-sdk` and a fixed tag.
89
+
90
+ ## Forking a shared relay
91
+
92
+ `bite.sharedRelay` marks a network whose live relay carries parachains we do not run — Paseo,
93
+ Kusama, Polkadot. Previewnet's relay is ours end to end, so it inherits state that is already
94
+ correct and the bite leaves it alone. A shared relay inherits three things that are wrong for six
95
+ dev validators, and all three are silent:
96
+
97
+ | what | inherited state | why it breaks | what the bite writes |
98
+ | --- | --- | --- | --- |
99
+ | cores | ~18 registered parachains, so ~18 cores | the runtime splits 6 validators into 18 groups; 12 come out empty and ours sit on cores no group is assigned to, so nothing backs their blocks | ours on cores 0-N from `ParaScheduler::CoreDescriptors`, groups to match, `num_cores` cut to N (one byte of `Configuration::ActiveConfig`, so `EnabledHostFunction(EccRfc163)` survives) |
100
+ | HRMP / DMP | channel heads from a relay snapshot newer than the parachain ones | messages delivered in that window are pruned from the relay but counted in its `mqc_head`, so cumulus panics `HRMP head mismatch` and builds no block at all | `Hrmp::HrmpIngressChannelsIndex` emptied and `Dmp::DownwardMessageQueueHeads` zeroed per para, with the parachain's own `ParachainSystem::LastDmqMqcHead` zeroed to match — both halves or neither |
101
+ | stored-data proofs | Bulletin's `RetentionPeriod` of 201,600 against a chain at ~1.5M | `pallet-transaction-storage` asserts a periodic proof of historical data a bite does not carry, so no block can be built | `RetentionPeriod` pushed past any height we fork, applied only to a runtime that has the pallet |
102
+
103
+ Two things that are *not* part of this, both established by trying them: `Paras::Parachains` is
104
+ inert on an agile-coretime relay (the runtime reconciles it back from `ParaLifecycles`), and a
105
+ parachain's lifecycle being `Parathread` rather than `Parachain` does not affect backing.
106
+
107
+ Separately, a fork's relay validators need `--discover-local` and `--allow-private-ip` — not just
108
+ its collators. A validator will not put a loopback address into the DHT without them, so the
109
+ collator resolves nobody, and since the collation peer set has `out_peers: 0` and validators never
110
+ dial collators, a resolved address is the only way that substream ever opens.
111
+
112
+ ## Current status
113
+
114
+ | Network | Genesis | Fork | Pre-bitten by CI | State |
115
+ | --- | --- | --- | --- | --- |
116
+ | previewnet | yes | yes | yes | working |
117
+ | paseo-next-v2 | no | yes | yes | working — forks, and `fork-e2e` spawns it on every push. Getting there needed three overrides a shared relay turns out to require: cores remapped onto the ones six dev validators staff, inherited HRMP/DMP cleared on both sides, and the transaction-storage proof schedule pushed out. See "Forking a shared relay" |
118
+ | devnet | no | yes | once its `_todo` clears | sources filled from docs.polkadotcommunity.foundation; one open question — whether doppelganger can warp-sync Asset Hub from the published smol (stateRootHash) spec. Verify with `make bite NETWORK=devnet`, then drop the `_todo`. It shares a relay with other parachains, so it needs `bite.sharedRelay` too — already set |
119
+ | kusama | no | on-the-fly only | no (no sudo) | wired. Asset Hub's spec comes from the parachain binary (`builtin:asset-hub-kusama`). A runtime under test is authorized at bite time — `ppn bite --upgrade asset-hub=<wasm>` — since nothing can dispatch root after the fork; see docs/FORK.md. Upstream equivalent: [zombie-bite#127](https://github.com/paritytech/zombie-bite/issues/127) |
120
+ | polkadot | no | on-the-fly only | no (no sudo) | wired, same as kusama. ~50 registered parachains makes the core remapping above load-bearing rather than a nicety |
@@ -0,0 +1,113 @@
1
+ {
2
+ "name": "devnet",
3
+ "displayName": "Polkadot Products Devnet",
4
+ "description": "The Polkadot Products Devnet: the community-operated public Paseo relay with the product surface on normal system-chain para ids — Asset Hub 1000, People 1004, Bulletin 1010. Fork-only. Reference: https://docs.polkadotcommunity.foundation/reference/networks/",
5
+ "genesis": false,
6
+ "sudo": true,
7
+ "bite": {
8
+ "prebaked": false,
9
+ "_prebaked_note": "false because devnet's bundle is 4.9 GB and its Asset Hub snapshot alone is 3.75 GB, over GitHub's 2 GiB per-asset limit — the upload fails create-release outright, so the whole release is lost, not just this bundle. `ppn start --fork devnet` still bites on the fly. Publishing it needs the asset split into parts, or hosting off GitHub releases.",
10
+ "source": "https://devnet-ipfs.api.polkadotcommunity.foundation",
11
+ "doppelganger": {
12
+ "repo": "paritytech/doppelganger-wrapper",
13
+ "tag": "v0.2.1"
14
+ },
15
+ "sharedRelay": true
16
+ },
17
+ "releases": {
18
+ "polkadot-sdk": {
19
+ "repo": "paritytech/release-automation",
20
+ "tag": "latest"
21
+ }
22
+ },
23
+ "relay": {
24
+ "chain": "paseo",
25
+ "spec": "paseo",
26
+ "rpc": "wss://paseo-rpc.n.dwellir.com",
27
+ "rpcAlternates": [
28
+ "wss://paseo-v2.rpc.turboflakes.io",
29
+ "wss://rpc-paseo.stakeworld.io",
30
+ "wss://rpc.interweb-it.com/paseo"
31
+ ],
32
+ "specSource": "https://raw.githubusercontent.com/paseo-network/paseo-chain-specs/main/paseo.raw.json",
33
+ "validators": 6,
34
+ "binary": {
35
+ "name": "polkadot",
36
+ "release": "polkadot-sdk"
37
+ }
38
+ },
39
+ "parachains": [
40
+ {
41
+ "key": "asset-hub",
42
+ "paraId": 1000,
43
+ "spec": "asset-hub",
44
+ "rpc": "wss://asset-hub-paseo-rpc.n.dwellir.com",
45
+ "rpcAlternates": [
46
+ "wss://sys.turboflakes.io/asset-hub-paseo"
47
+ ],
48
+ "specSource": "https://github.com/paulormart/ahpaseo-specs/raw/main/paseo-asset-hub-2.json.zip",
49
+ "binary": {
50
+ "name": "polkadot-omni-node",
51
+ "release": "polkadot-sdk"
52
+ },
53
+ "_note": "The smol (stateRootHash-genesis) spec was rejected by doppelganger; this full raw spec (279 MB, shipped zipped — bite unzips it) replaces it. Bite still unverified end-to-end against live paseo."
54
+ },
55
+ {
56
+ "key": "people",
57
+ "paraId": 1004,
58
+ "spec": "people",
59
+ "rpc": "wss://people-paseo.rotko.net",
60
+ "rpcAlternates": [
61
+ "wss://people-paseo.gatotech.network",
62
+ "wss://rpc.interweb-it.com/people-paseo"
63
+ ],
64
+ "specSource": "https://raw.githubusercontent.com/paseo-network/paseo-chain-specs/main/paseo-people.raw.json",
65
+ "binary": {
66
+ "name": "polkadot-omni-node",
67
+ "release": "polkadot-sdk"
68
+ }
69
+ },
70
+ {
71
+ "key": "bulletin",
72
+ "paraId": 1010,
73
+ "spec": "bulletin",
74
+ "rpc": "wss://bulletin-paseo.tservices.es:8443",
75
+ "rpcAlternates": [
76
+ "wss://bulletin-paseo-02.tservices.es:9443",
77
+ "wss://bullet.sik.rocks",
78
+ "wss://bullet.tunastaking.eu"
79
+ ],
80
+ "specSource": "https://raw.githubusercontent.com/paseo-network/paseo-chain-specs/main/paseo-bulletin.raw.json",
81
+ "binary": {
82
+ "name": "polkadot-omni-node",
83
+ "release": "polkadot-sdk"
84
+ }
85
+ }
86
+ ],
87
+ "services": {
88
+ "eth-rpc": {
89
+ "binary": {
90
+ "name": "eth-rpc",
91
+ "release": "polkadot-sdk"
92
+ }
93
+ }
94
+ },
95
+ "dotns": {
96
+ "resolver": "0x326bdE29315199c814B1c58b431D84D16EA5cE41",
97
+ "_note": "Snapshot of https://docs.polkadotcommunity.foundation/reference/addresses/ (2026-08-22). Devnet redeploys can move these; the docs page and the dotns-sdk devnet preset are the source of truth.",
98
+ "addresses": {
99
+ "DotnsRegistrar": "0x7f0dF075cc8B7FE7218E90fFC5a553450dB120F3",
100
+ "DotnsRegistrarController": "0x45fDEa4Ad7b8607Fc22DBC3DBE3cD8b350F8bede",
101
+ "DotnsRegistry": "0x527b08a640b527a3dae0C4BE04D7344E430B6E50",
102
+ "DotnsResolver": "0xC28796526Bf3E9295f09655a1001F30f77AfCF0D",
103
+ "DotnsReverseResolver": "0xfd2594FcF920B38A970011C486e1E3041563147F",
104
+ "DotnsContentResolver": "0x326bdE29315199c814B1c58b431D84D16EA5cE41",
105
+ "DotnsPopController": "0x1884819F6747576883805Cb2b7BB68d29484d1b0",
106
+ "DotnsPopResolver": "0x92Fd4195Be40A266d2914FB64C63cC50715dB1D8",
107
+ "PopRules": "0x2181a14081fF2D4477BAA8FB1aEB4C9c44F5F2b0",
108
+ "DotnsNameEscrow": "0xfEdBe7a7F32017F6bCAA3109bE2EaC7D59E319E5",
109
+ "StoreFactory": "0xD81DC23FAa69B311C1FC553Ea63798772e7D253D",
110
+ "Multicall3": "0x929EdB8d61461c29d07deC834ef747EbFDcf0B74"
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "kusama",
3
+ "displayName": "Kusama",
4
+ "description": "STUB. Fork-only, bitten on the fly (no sudo, so a runtime under test must be injected at bite time rather than upgraded afterwards). Relay + Asset Hub only.",
5
+ "genesis": false,
6
+ "sudo": false,
7
+ "bite": {
8
+ "prebaked": false,
9
+ "source": "wss://kusama-rpc.polkadot.io",
10
+ "doppelganger": {
11
+ "repo": "paritytech/doppelganger-wrapper",
12
+ "tag": "v0.2.3"
13
+ },
14
+ "sharedRelay": true,
15
+ "_note": "No sudo: a runtime upgrade is authorized at import instead of dispatched. `ppn bite --upgrade asset-hub=<wasm>` seeds System::AuthorizedUpgrade, and `ppn runtime-upgrade` submits the apply half unsigned. Belongs in zombie-bite (paritytech/zombie-bite#127) once PPN calls it instead of driving doppelganger. v0.2.3 is the first doppelganger honouring ZOMBIE_WARP_SKIP_PROOF, without which the state sync stalls partway through and never recovers."
16
+ },
17
+ "releases": {
18
+ "polkadot-sdk": {
19
+ "repo": "paritytech/release-automation",
20
+ "tag": "latest"
21
+ }
22
+ },
23
+ "relay": {
24
+ "chain": "kusama",
25
+ "spec": "kusama",
26
+ "rpc": "wss://kusama-rpc.polkadot.io",
27
+ "specSource": "builtin",
28
+ "validators": 6,
29
+ "binary": {
30
+ "name": "polkadot",
31
+ "release": "polkadot-sdk"
32
+ }
33
+ },
34
+ "parachains": [
35
+ {
36
+ "key": "asset-hub",
37
+ "paraId": 1000,
38
+ "spec": "asset-hub",
39
+ "rpc": "wss://kusama-asset-hub-rpc.polkadot.io",
40
+ "specSource": "builtin:asset-hub-kusama",
41
+ "binary": {
42
+ "name": "polkadot-parachain",
43
+ "release": "polkadot-sdk"
44
+ },
45
+ "_note": "A public system chain carries its spec inside the parachain binary, so unlike Paseo's Asset Hub it needs no host to publish one."
46
+ }
47
+ ],
48
+ "services": {
49
+ "eth-rpc": {
50
+ "binary": {
51
+ "name": "eth-rpc",
52
+ "release": "polkadot-sdk"
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "paseo-next-v2",
3
+ "displayName": "Paseo Next v2",
4
+ "description": "Next runtimes as parachains on the public Paseo relay, on the previewnet para-id band: Asset Hub Next 1500, Bulletin Next 1501, People Next 1502 (chain ids next-*-paseo). Specs from paritytech/chainspecs; RPCs on *-rpc.polkadot.io. Fork-only.",
5
+ "genesis": false,
6
+ "sudo": true,
7
+ "bite": {
8
+ "prebaked": true,
9
+ "source": "https://dot.li",
10
+ "_note": "all rpc/specSource entries are absolute, so source is only provenance + the pin-bulletin-products byte gateway \u2014 confirm dot.li serves /ipfs/<cid> for pnv2 bulletin content",
11
+ "doppelganger": {
12
+ "repo": "paritytech/doppelganger-wrapper",
13
+ "tag": "v0.2.1"
14
+ },
15
+ "sharedRelay": true
16
+ },
17
+ "releases": {
18
+ "polkadot-sdk": {
19
+ "repo": "paritytech/release-automation",
20
+ "tag": "latest"
21
+ }
22
+ },
23
+ "relay": {
24
+ "chain": "paseo",
25
+ "spec": "paseo",
26
+ "rpc": "wss://paseo-rpc.n.dwellir.com",
27
+ "rpcAlternates": [
28
+ "wss://paseo-v2.rpc.turboflakes.io",
29
+ "wss://rpc-paseo.stakeworld.io"
30
+ ],
31
+ "specSource": "https://raw.githubusercontent.com/paseo-network/paseo-chain-specs/main/paseo.raw.json",
32
+ "validators": 6,
33
+ "binary": {
34
+ "name": "polkadot",
35
+ "release": "polkadot-sdk"
36
+ }
37
+ },
38
+ "parachains": [
39
+ {
40
+ "key": "asset-hub",
41
+ "paraId": 1500,
42
+ "spec": "asset-hub",
43
+ "rpc": "wss://paseo-asset-hub-next-rpc.polkadot.io",
44
+ "specSource": "https://raw.githubusercontent.com/paritytech/chainspecs/main/paseo/parachain/asset-hub-next/raw.json",
45
+ "binary": {
46
+ "name": "polkadot-omni-node",
47
+ "release": "polkadot-sdk"
48
+ }
49
+ },
50
+ {
51
+ "key": "people",
52
+ "paraId": 1502,
53
+ "spec": "people",
54
+ "rpc": "wss://paseo-people-next-system-rpc.polkadot.io",
55
+ "specSource": "https://raw.githubusercontent.com/paritytech/chainspecs/main/paseo/parachain/people-next-system/raw.json",
56
+ "_note": "people-next-SYSTEM is the 1502 chain; the plain people-next spec in the same repo is para 5140 \u2014 a different deployment",
57
+ "binary": {
58
+ "name": "polkadot-omni-node",
59
+ "release": "polkadot-sdk"
60
+ }
61
+ },
62
+ {
63
+ "key": "bulletin",
64
+ "paraId": 1501,
65
+ "spec": "bulletin",
66
+ "rpc": "wss://paseo-bulletin-next-rpc.polkadot.io",
67
+ "specSource": "https://raw.githubusercontent.com/paritytech/chainspecs/main/paseo/parachain/bulletin-next/raw.json",
68
+ "binary": {
69
+ "name": "polkadot-omni-node",
70
+ "release": "polkadot-sdk"
71
+ }
72
+ }
73
+ ],
74
+ "services": {
75
+ "eth-rpc": {
76
+ "binary": {
77
+ "name": "eth-rpc",
78
+ "release": "polkadot-sdk"
79
+ }
80
+ }
81
+ },
82
+ "dotns": {
83
+ "_note": "Same DotNS deployment as previewnet — the factory deployer key pins these addresses, so the resolver is at the same address on both. Verified 2026-08-19 by scanning it on paseo-asset-hub-next. The gateway is named explicitly because bite.source (https://dot.li) is the app, not an IPFS gateway.",
84
+ "resolver": "0x7F74D7CD50f5a834270E2ad395a01b01891AB37d",
85
+ "gateway": "https://paseo-bulletin-next-ipfs.polkadot.io"
86
+ }
87
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "polkadot",
3
+ "displayName": "Polkadot",
4
+ "description": "STUB. Fork-only, bitten on the fly (no sudo, so a runtime under test must be injected at bite time rather than upgraded afterwards). Relay + Asset Hub only.",
5
+ "genesis": false,
6
+ "sudo": false,
7
+ "bite": {
8
+ "prebaked": false,
9
+ "source": "wss://rpc.polkadot.io",
10
+ "doppelganger": {
11
+ "repo": "paritytech/doppelganger-wrapper",
12
+ "tag": "v0.2.3"
13
+ },
14
+ "sharedRelay": true,
15
+ "_note": "No sudo: a runtime upgrade is authorized at import instead of dispatched. `ppn bite --upgrade asset-hub=<wasm>` seeds System::AuthorizedUpgrade, and `ppn runtime-upgrade` submits the apply half unsigned. Belongs in zombie-bite (paritytech/zombie-bite#127) once PPN calls it instead of driving doppelganger. v0.2.3 is the first doppelganger honouring ZOMBIE_WARP_SKIP_PROOF, without which the state sync stalls partway through and never recovers."
16
+ },
17
+ "releases": {
18
+ "polkadot-sdk": {
19
+ "repo": "paritytech/release-automation",
20
+ "tag": "latest"
21
+ }
22
+ },
23
+ "relay": {
24
+ "chain": "polkadot",
25
+ "spec": "polkadot",
26
+ "rpc": "wss://rpc.polkadot.io",
27
+ "specSource": "builtin",
28
+ "validators": 6,
29
+ "binary": {
30
+ "name": "polkadot",
31
+ "release": "polkadot-sdk"
32
+ }
33
+ },
34
+ "parachains": [
35
+ {
36
+ "key": "asset-hub",
37
+ "paraId": 1000,
38
+ "spec": "asset-hub",
39
+ "rpc": "wss://polkadot-asset-hub-rpc.polkadot.io",
40
+ "specSource": "builtin:asset-hub-polkadot",
41
+ "aura": "ed25519",
42
+ "binary": {
43
+ "name": "polkadot-parachain",
44
+ "release": "polkadot-sdk"
45
+ },
46
+ "_note": "A public system chain carries its spec inside the parachain binary, so unlike Paseo's Asset Hub it needs no host to publish one. Its Aura keys are ed25519, alone among the system chains: with the sr25519 default the collator matches no slot and authors nothing, without ever reporting an error."
47
+ }
48
+ ],
49
+ "services": {
50
+ "eth-rpc": {
51
+ "binary": {
52
+ "name": "eth-rpc",
53
+ "release": "polkadot-sdk"
54
+ }
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,186 @@
1
+ {
2
+ "name": "previewnet",
3
+ "displayName": "Previewnet",
4
+ "description": "Product Preview Network \u2014 the network this repo builds. The only network spawnable from genesis; also forkable.",
5
+ "genesis": true,
6
+ "sudo": true,
7
+ "bite": {
8
+ "prebaked": true,
9
+ "source": "https://previewnet.substrate.dev",
10
+ "doppelganger": {
11
+ "repo": "paritytech/doppelganger-wrapper",
12
+ "tag": "v0.2.1"
13
+ },
14
+ "_note": "v0.2.1 is the first doppelganger able to bite Asset Hub and People: earlier builds lack the RFC-163 EC and statement-store host functions and panic during the state import."
15
+ },
16
+ "releases": {
17
+ "polkadot-sdk": {
18
+ "repo": "paritytech/release-automation",
19
+ "tag": "latest"
20
+ },
21
+ "individuality": {
22
+ "repo": "paritytech/individuality-community",
23
+ "tag": "latest"
24
+ },
25
+ "paseo-runtimes": {
26
+ "repo": "paseo-network/runtimes",
27
+ "tag": "v2.4.4"
28
+ },
29
+ "bulletin": {
30
+ "repo": "paritytech/polkadot-bulletin-chain",
31
+ "tag": "v0.0.23-paseo",
32
+ "_note": "bulletin tags the paseo build with a -paseo suffix; \"latest\" there can resolve to a release for another network, so pin an explicit tag"
33
+ },
34
+ "web3-storage": {
35
+ "repo": "paritytech/web3-storage",
36
+ "tag": "latest"
37
+ }
38
+ },
39
+ "genesisConfig": {
40
+ "chainType": "local",
41
+ "properties": "tokenSymbol=PAS,tokenDecimals=10",
42
+ "validatorNameSuffix": "paseo-validator",
43
+ "networkSuffix": "testnet",
44
+ "_note": "zombienet derives a node's keys from its name, so the suffix is part of genesis identity; fork mode uses the bare well-known names instead (see docs/FORK.md). networkSuffix is also the DotNS TLD: it picks which dotns-genesis-<tld>.json is fetched, and injection asserts the artifact's own tld stamp against it"
45
+ },
46
+ "relay": {
47
+ "chain": "paseo",
48
+ "spec": "paseo",
49
+ "rpc": "relay/alice",
50
+ "specSource": "chainspecs/paseo-local.json",
51
+ "validators": 6,
52
+ "binary": {
53
+ "name": "polkadot",
54
+ "release": "polkadot-sdk"
55
+ },
56
+ "runtime": {
57
+ "asset": "paseo_fast_runtime.compressed.wasm",
58
+ "release": "paseo-runtimes",
59
+ "file": "paseo_runtime.wasm",
60
+ "_note": "the _fast build (1-minute epochs) \u2014 on the production relay runtime a parachain's ValidatorGroups do not repopulate until the first session boundary an hour in"
61
+ },
62
+ "genesisSpec": {
63
+ "chainId": "paseo-local",
64
+ "name": "Paseo Local",
65
+ "preset": "local_testnet",
66
+ "file": "relay_paseo.json"
67
+ }
68
+ },
69
+ "parachains": [
70
+ {
71
+ "key": "asset-hub",
72
+ "paraId": 1500,
73
+ "spec": "asset-hub",
74
+ "rpc": "asset-hub",
75
+ "specSource": "chainspecs/asset-hub-local.json",
76
+ "binary": {
77
+ "name": "polkadot-omni-node",
78
+ "release": "polkadot-sdk"
79
+ },
80
+ "runtime": {
81
+ "asset": "next_asset_hub_paseo_runtime.compact.compressed.wasm",
82
+ "release": "individuality",
83
+ "file": "next_asset_hub_paseo_runtime.wasm"
84
+ },
85
+ "genesisSpec": {
86
+ "chainId": "asset-hub-local",
87
+ "name": "Asset Hub Local",
88
+ "preset": "development",
89
+ "file": "asset_hub.json"
90
+ }
91
+ },
92
+ {
93
+ "key": "people",
94
+ "paraId": 1502,
95
+ "spec": "individuality",
96
+ "rpc": "people",
97
+ "specSource": "chainspecs/individuality-local.json",
98
+ "binary": {
99
+ "name": "polkadot-omni-node",
100
+ "release": "polkadot-sdk"
101
+ },
102
+ "runtime": {
103
+ "asset": "next_people_paseo_runtime.compact.compressed.wasm",
104
+ "release": "individuality",
105
+ "file": "next_people_paseo_runtime.wasm"
106
+ },
107
+ "genesisSpec": {
108
+ "chainId": "individuality-local",
109
+ "name": "Individuality Local",
110
+ "preset": "development",
111
+ "file": "individuality.json"
112
+ }
113
+ },
114
+ {
115
+ "key": "bulletin",
116
+ "paraId": 1501,
117
+ "spec": "bulletin",
118
+ "rpc": "bulletin",
119
+ "specSource": "chainspecs/bulletin-local.json",
120
+ "binary": {
121
+ "name": "polkadot-omni-node",
122
+ "release": "polkadot-sdk"
123
+ },
124
+ "runtime": {
125
+ "asset": "bulletin_paseo_runtime.compact.compressed.wasm",
126
+ "release": "bulletin",
127
+ "file": "bulletin_paseo_runtime.wasm"
128
+ },
129
+ "genesisSpec": {
130
+ "chainId": "bulletin-local",
131
+ "name": "Bulletin Local",
132
+ "preset": "development",
133
+ "file": "bulletin.json"
134
+ }
135
+ },
136
+ {
137
+ "key": "web3-storage",
138
+ "paraId": 1600,
139
+ "spec": "web3-storage",
140
+ "rpc": "web3-storage",
141
+ "specSource": "chainspecs/web3-storage-local.json",
142
+ "binary": {
143
+ "name": "polkadot-omni-node",
144
+ "release": "polkadot-sdk"
145
+ },
146
+ "runtime": {
147
+ "asset": "storage_paseo_runtime.compact.compressed.wasm",
148
+ "release": "web3-storage",
149
+ "file": "storage_paseo_runtime.wasm"
150
+ },
151
+ "genesisSpec": {
152
+ "chainId": "web3-storage-local",
153
+ "name": "Web3 Storage Local",
154
+ "preset": "previewnet",
155
+ "file": "web3-storage.json",
156
+ "_note": "the previewnet preset pre-registers the storage provider's public multiaddr in genesis"
157
+ }
158
+ }
159
+ ],
160
+ "services": {
161
+ "eth-rpc": {
162
+ "binary": {
163
+ "name": "eth-rpc",
164
+ "release": "polkadot-sdk"
165
+ }
166
+ },
167
+ "storage-provider-node": {
168
+ "binary": {
169
+ "name": "storage-provider-node",
170
+ "release": "web3-storage",
171
+ "archive": "storage-provider-node-{tag}-{triple}.tar.gz"
172
+ }
173
+ }
174
+ },
175
+ "tools": {
176
+ "chain-spec-builder": {
177
+ "name": "chain-spec-builder",
178
+ "release": "polkadot-sdk"
179
+ }
180
+ },
181
+ "dotns": {
182
+ "_note": "Stated here like every other network's, though a genesis network could also derive it: `ppn fetch` writes the same address into bin/dotns-addresses.json from dotns's own manifest, and the import refuses to run if the two disagree. No `gateway` on purpose: unlike paseo-next-v2, whose bite.source is an app rather than a gateway, previewnet's products live wherever it was bitten from — naming production here would make a fork of a staging previewnet fetch from the real one.",
183
+ "resolver": "0x7F74D7CD50f5a834270E2ad395a01b01891AB37d",
184
+ "pinProducts": true
185
+ }
186
+ }