@parity/ppn 0.5.0 → 0.6.0

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.
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "bulletin": {
30
30
  "repo": "paritytech/polkadot-bulletin-chain",
31
- "tag": "v0.0.23-paseo",
31
+ "tag": "v0.0.26-paseo",
32
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
33
  },
34
34
  "web3-storage": {
@@ -54,10 +54,15 @@
54
54
  "release": "polkadot-sdk"
55
55
  },
56
56
  "runtime": {
57
+ "asset": "paseo_runtime.compressed.wasm",
58
+ "release": "paseo-runtimes",
59
+ "file": "paseo_runtime.wasm"
60
+ },
61
+ "fastRuntime": {
57
62
  "asset": "paseo_fast_runtime.compressed.wasm",
58
63
  "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"
64
+ "file": "paseo_fast_runtime.wasm",
65
+ "_note": "1-minute epoch and session, against 1 hour on the production runtime. Parachains start producing blocks a minute after genesis instead of an hour."
61
66
  },
62
67
  "genesisSpec": {
63
68
  "chainId": "paseo-local",
@@ -179,7 +184,7 @@
179
184
  }
180
185
  },
181
186
  "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.",
187
+ "_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 fresh-deploy address set (deployments/expected.json, what a genesis network actually carries), 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
188
  "resolver": "0x7F74D7CD50f5a834270E2ad395a01b01891AB37d",
184
189
  "pinProducts": true
185
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parity/ppn",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "description": "Spin up a local Polkadot ecosystem: fetch, generate, fork and run a network",
6
6
  "bin": {
@@ -19,11 +19,11 @@
19
19
  "@polkadot/util-crypto": "^13.5.9",
20
20
  "commander": "^15.0.0",
21
21
  "polkadot-api": "^1.23.3",
22
- "toml": "^3.0.0",
23
- "@parity/ppn-network-config": "0.5.0"
22
+ "toml": "^4.2.0",
23
+ "@parity/ppn-network-config": "0.6.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^22.10.5",
26
+ "@types/node": "^24.0.0",
27
27
  "tsx": "^4.19",
28
28
  "typescript": "^5.7"
29
29
  },
@@ -45,7 +45,7 @@
45
45
  "access": "public"
46
46
  },
47
47
  "engines": {
48
- "node": ">=22"
48
+ "node": ">=24"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsc -b",
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+ # zombienet's custom_processes spawns a command path, so this launcher has to exist.
3
+ # What it does lives in `ppn service enact-upgrades` — see docs/FORK.md.
4
+ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ ENTRY="$ROOT/bin/ppn.mjs"
6
+ [[ -f "$ENTRY" ]] || ENTRY="$ROOT/dist/bin.js"
7
+ exec node "$ENTRY" service enact-upgrades
@@ -12,12 +12,12 @@ if ! command -v npm >/dev/null 2>&1; then
12
12
  exit 1
13
13
  fi
14
14
 
15
- echo "Installing dot CLI globally (polkadot-cli@1.1.1)..."
16
- if npm install -g polkadot-cli@1.1.1; then
15
+ echo "Installing dot CLI globally (polkadot-cli@latest)..."
16
+ if npm install -g polkadot-cli@latest; then
17
17
  echo "✓ dot CLI installed"
18
18
  else
19
19
  echo "✗ Failed to install dot CLI"
20
20
  echo "Try running manually:"
21
- echo " npm install -g polkadot-cli@1.1.1"
21
+ echo " npm install -g polkadot-cli@latest"
22
22
  exit 1
23
23
  fi
@@ -65,7 +65,7 @@ name = "asset-hub-collator1"
65
65
  rpc_port = 10020
66
66
  p2p_port = 30335
67
67
  command = "{{SCRIPTS}}/omni-node.sh"
68
- args = ["-lxcm=trace", "--rpc-max-connections=500", "--force-authoring", "--authoring=slot-based", "--unsafe-rpc-external", "--rpc-max-response-size=50", "--experimental-webrtc", "--listen-addr=/ip4/127.0.0.1/udp/30335/webrtc-direct"]
68
+ args = ["-lxcm=trace", "--rpc-max-connections=500", "--force-authoring", "--authoring=slot-based", "--unsafe-rpc-external", "--rpc-max-response-size=50", "--listen-addr=/ip4/127.0.0.1/udp/30335/webrtc-direct"]
69
69
 
70
70
  ## People Chain (Parachain 1502)
71
71
  [[parachains]]
@@ -93,7 +93,7 @@ name = "bulletin-collator1"
93
93
  rpc_port = 10030
94
94
  p2p_port = 30333
95
95
  command = "{{SCRIPTS}}/omni-node.sh"
96
- args = ["-lparachain=debug,xcm=trace", "--rpc-max-connections=500", "--force-authoring", "--ipfs-server", "--unsafe-rpc-external", "--rpc-max-response-size=50", "--experimental-webrtc", "--listen-addr=/ip4/127.0.0.1/udp/30333/webrtc-direct", "--enable-hop", "--hop-retention-secs=3600", "--hop-promotion-buffer-secs=1800", "--hop-check-interval=60"]
96
+ args = ["-lparachain=debug,xcm=trace,sub-libp2p::bitswap=trace,runtime::transaction-storage=trace", "--rpc-max-connections=500", "--force-authoring", "--ipfs-server", "--unsafe-rpc-external", "--rpc-max-response-size=50", "--listen-addr=/ip4/127.0.0.1/udp/30333/webrtc-direct", "--enable-hop", "--hop-retention-secs=3600", "--hop-promotion-buffer-secs=1800", "--hop-check-interval=60"]
97
97
 
98
98
  ## Web3 Storage Chain (Parachain 1600)
99
99
  [[parachains]]
@@ -107,7 +107,7 @@ name = "web3-storage-collator1"
107
107
  rpc_port = 10040
108
108
  p2p_port = 30337
109
109
  command = "{{SCRIPTS}}/omni-node.sh"
110
- args = ["-lruntime=info", "--collator", "--rpc-max-connections=500", "--unsafe-rpc-external", "--rpc-max-response-size=50", "--experimental-webrtc", "--listen-addr=/ip4/127.0.0.1/udp/30337/webrtc-direct"]
110
+ args = ["-lruntime=info", "--collator", "--rpc-max-connections=500", "--unsafe-rpc-external", "--rpc-max-response-size=50", "--listen-addr=/ip4/127.0.0.1/udp/30337/webrtc-direct"]
111
111
 
112
112
  [[hrmp_channels]]
113
113
  sender = 1502