@parity/ppn 0.14.2 → 0.16.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.
- package/README.md +4 -0
- package/config/ports.env +6 -1
- package/config/versions.env +1 -1
- package/dist/commands/bite.js +29 -16
- package/dist/commands/bite.js.map +1 -1
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/fetch.d.ts +10 -0
- package/dist/commands/fetch.js +29 -7
- package/dist/commands/fetch.js.map +1 -1
- package/dist/commands/start.js +12 -2
- package/dist/commands/start.js.map +1 -1
- package/dist/fork/overrides.js +18 -5
- package/dist/fork/overrides.js.map +1 -1
- package/dist/fork/validators.d.ts +27 -2
- package/dist/fork/validators.js +54 -6
- package/dist/fork/validators.js.map +1 -1
- package/dist/lib/spawn-env.d.ts +2 -0
- package/dist/lib/spawn-env.js +3 -14
- package/dist/lib/spawn-env.js.map +1 -1
- package/networks/README.md +4 -1
- package/networks/westend.json +76 -0
- package/package.json +3 -3
- package/zombienet-configs/local-dev.toml +10 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "westend",
|
|
3
|
+
"displayName": "Westend",
|
|
4
|
+
"description": "Fork-only, bitten on the fly. Relay, Asset Hub and People: the system chains polkadot-sdk's Westend runtimes are released for, without the Individuality pallets. The relay and Asset Hub have sudo; People does not, so a People runtime under test is authorized at bite time (`--upgrade people=<wasm>`).",
|
|
5
|
+
"genesis": false,
|
|
6
|
+
"sudo": true,
|
|
7
|
+
"bite": {
|
|
8
|
+
"prebaked": false,
|
|
9
|
+
"source": "wss://westend-rpc.polkadot.io",
|
|
10
|
+
"doppelganger": {
|
|
11
|
+
"repo": "paritytech/doppelganger-wrapper",
|
|
12
|
+
"tag": "v0.2.3"
|
|
13
|
+
},
|
|
14
|
+
"sharedRelay": true
|
|
15
|
+
},
|
|
16
|
+
"releases": {
|
|
17
|
+
"polkadot-sdk": {
|
|
18
|
+
"repo": "paritytech/release-automation",
|
|
19
|
+
"tag": "latest"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"relay": {
|
|
23
|
+
"chain": "westend",
|
|
24
|
+
"spec": "westend",
|
|
25
|
+
"rpc": "wss://westend-rpc.polkadot.io",
|
|
26
|
+
"specSource": "builtin",
|
|
27
|
+
"validators": 6,
|
|
28
|
+
"binary": {
|
|
29
|
+
"name": "polkadot",
|
|
30
|
+
"release": "polkadot-sdk"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"parachains": [
|
|
34
|
+
{
|
|
35
|
+
"key": "asset-hub",
|
|
36
|
+
"paraId": 1000,
|
|
37
|
+
"spec": "asset-hub",
|
|
38
|
+
"rpc": "wss://westend-asset-hub-rpc.polkadot.io",
|
|
39
|
+
"specSource": "builtin:asset-hub-westend",
|
|
40
|
+
"binary": {
|
|
41
|
+
"name": "polkadot-parachain",
|
|
42
|
+
"release": "polkadot-sdk"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"key": "people",
|
|
47
|
+
"paraId": 1004,
|
|
48
|
+
"spec": "people",
|
|
49
|
+
"rpc": "wss://westend-people-rpc.polkadot.io",
|
|
50
|
+
"specSource": "builtin:people-westend",
|
|
51
|
+
"binary": {
|
|
52
|
+
"name": "polkadot-parachain",
|
|
53
|
+
"release": "polkadot-sdk"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"services": {
|
|
58
|
+
"eth-rpc": {
|
|
59
|
+
"binary": {
|
|
60
|
+
"name": "eth-rpc",
|
|
61
|
+
"release": "polkadot-sdk"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"pin-design-families": false,
|
|
65
|
+
"increase-people-lite-attestation-allowance": false,
|
|
66
|
+
"increase-dotns-attestation-allowance": false,
|
|
67
|
+
"grant-invites": false,
|
|
68
|
+
"_note": "Westend runs none of the Individuality pallets these processes grant from."
|
|
69
|
+
},
|
|
70
|
+
"stack": {
|
|
71
|
+
"tld": "westend",
|
|
72
|
+
"pointer": {
|
|
73
|
+
"url": "https://stack-westend.parity-testnet.parity.io/.well-known/trinity-stack.json"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parity/ppn",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Spin up a local Polkadot ecosystem: fetch, generate, fork and run a network",
|
|
6
6
|
"bin": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@polkadot/util-crypto": "^13.5.9",
|
|
22
22
|
"commander": "^15.0.0",
|
|
23
23
|
"polkadot-api": "^1.23.3",
|
|
24
|
-
"toml": "^
|
|
25
|
-
"@parity/ppn-network-config": "0.
|
|
24
|
+
"toml": "^5.0.1",
|
|
25
|
+
"@parity/ppn-network-config": "0.16.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^24.0.0",
|
|
@@ -21,36 +21,42 @@ name = "alice-paseo-validator"
|
|
|
21
21
|
validator = true
|
|
22
22
|
rpc_port = 10000
|
|
23
23
|
p2p_port = 30334
|
|
24
|
+
prometheus_port = 20000
|
|
24
25
|
balance = 1000000000000000
|
|
25
26
|
|
|
26
27
|
[[relaychain.nodes]]
|
|
27
28
|
name = "bob-paseo-validator"
|
|
28
29
|
validator = true
|
|
29
30
|
rpc_port = 10001
|
|
31
|
+
prometheus_port = 20001
|
|
30
32
|
balance = 1000000000000000
|
|
31
33
|
|
|
32
34
|
[[relaychain.nodes]]
|
|
33
35
|
name = "charlie-paseo-validator"
|
|
34
36
|
validator = true
|
|
35
37
|
rpc_port = 10002
|
|
38
|
+
prometheus_port = 20002
|
|
36
39
|
balance = 1000000000000000
|
|
37
40
|
|
|
38
41
|
[[relaychain.nodes]]
|
|
39
42
|
name = "dave-paseo-validator"
|
|
40
43
|
validator = true
|
|
41
44
|
rpc_port = 10003
|
|
45
|
+
prometheus_port = 20003
|
|
42
46
|
balance = 1000000000000000
|
|
43
47
|
|
|
44
48
|
[[relaychain.nodes]]
|
|
45
49
|
name = "eve-paseo-validator"
|
|
46
50
|
validator = true
|
|
47
51
|
rpc_port = 10004
|
|
52
|
+
prometheus_port = 20004
|
|
48
53
|
balance = 1000000000000000
|
|
49
54
|
|
|
50
55
|
[[relaychain.nodes]]
|
|
51
56
|
name = "ferdie-paseo-validator"
|
|
52
57
|
validator = true
|
|
53
58
|
rpc_port = 10005
|
|
59
|
+
prometheus_port = 20005
|
|
54
60
|
balance = 1000000000000000
|
|
55
61
|
|
|
56
62
|
## Asset Hub Paseo Next (Parachain 1500) - Elastic Scaling with 2-second blocks
|
|
@@ -64,6 +70,7 @@ chain_spec_path = "{{BIN}}/asset_hub.json"
|
|
|
64
70
|
name = "asset-hub-collator1"
|
|
65
71
|
rpc_port = 10020
|
|
66
72
|
p2p_port = 30335
|
|
73
|
+
prometheus_port = 20020
|
|
67
74
|
command = "{{SCRIPTS}}/omni-node.sh"
|
|
68
75
|
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
76
|
|
|
@@ -78,6 +85,7 @@ chain_spec_path = "{{BIN}}/individuality.json"
|
|
|
78
85
|
name = "people-collator1"
|
|
79
86
|
rpc_port = 10010
|
|
80
87
|
p2p_port = 30336
|
|
88
|
+
prometheus_port = 20010
|
|
81
89
|
command = "{{SCRIPTS}}/omni-node.sh"
|
|
82
90
|
args = ["-lparachain=debug,xcm=trace", "--rpc-max-connections=500", "--force-authoring", "--enable-statement-store", "--network-backend=libp2p", "--authoring=slot-based", "--unsafe-rpc-external", "--rpc-max-response-size=50"]
|
|
83
91
|
|
|
@@ -92,6 +100,7 @@ chain_spec_path = "{{BIN}}/bulletin.json"
|
|
|
92
100
|
name = "bulletin-collator1"
|
|
93
101
|
rpc_port = 10030
|
|
94
102
|
p2p_port = 30333
|
|
103
|
+
prometheus_port = 20030
|
|
95
104
|
command = "{{SCRIPTS}}/omni-node.sh"
|
|
96
105
|
args = ["-lparachain=debug,xcm=trace,sub-libp2p::bitswap=trace,runtime::transaction-storage=trace", "--rpc-max-connections=500", "--force-authoring", "--ipfs-server", "--authoring=slot-based", "--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
106
|
|
|
@@ -106,6 +115,7 @@ chain_spec_path = "{{BIN}}/web3-storage.json"
|
|
|
106
115
|
name = "web3-storage-collator1"
|
|
107
116
|
rpc_port = 10040
|
|
108
117
|
p2p_port = 30337
|
|
118
|
+
prometheus_port = 20040
|
|
109
119
|
command = "{{SCRIPTS}}/omni-node.sh"
|
|
110
120
|
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
121
|
|