bulletin-deploy 0.8.0 → 0.8.1-rc.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/assets/environments.json +67 -0
- package/bin/bulletin-deploy +17 -0
- package/dist/bug-report.js +4 -4
- package/dist/{chunk-5FCY6EP5.js → chunk-2IEKHP6E.js} +1 -1
- package/dist/{chunk-7JZ56OKK.js → chunk-6FSPPEAL.js} +1 -1
- package/dist/{chunk-GL2HHK4G.js → chunk-CNPB4VAM.js} +67 -0
- package/dist/{chunk-BGFZFNM2.js → chunk-DPAJNF3G.js} +1 -1
- package/dist/{chunk-NOG3QYUV.js → chunk-LS6XFIW7.js} +9 -6
- package/dist/{chunk-B2FP2NQI.js → chunk-TYR6IXA6.js} +1 -1
- package/dist/{chunk-ERASA5SU.js → chunk-U7QF6WH4.js} +1 -1
- package/dist/{chunk-JTP2UA6T.js → chunk-USYVNCQS.js} +3 -3
- package/dist/{chunk-GJL3GZQI.js → chunk-X2UVZCRT.js} +3 -3
- package/dist/{chunk-2DBVMOMK.js → chunk-ZXVXFUTL.js} +2 -2
- package/dist/chunk-probe.js +3 -3
- package/dist/deploy.d.ts +8 -0
- package/dist/deploy.js +9 -9
- package/dist/dotns.js +5 -5
- package/dist/environments.js +1 -1
- package/dist/index.js +10 -10
- package/dist/manifest/publish.js +10 -10
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +9 -9
- package/dist/personhood/bootstrap.js +5 -5
- package/dist/personhood/people-client.js +5 -5
- package/dist/pool.js +3 -3
- package/dist/run-state.js +1 -1
- package/dist/telemetry.js +2 -2
- package/dist/version-check.js +3 -3
- package/package.json +1 -1
package/assets/environments.json
CHANGED
|
@@ -29,6 +29,43 @@
|
|
|
29
29
|
"PUBLISHER": "0xa616254fd98724c7a3d295c98ca393a486096b68"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
"id": "preview-pvm",
|
|
34
|
+
"name": "Preview (PVM)",
|
|
35
|
+
"network": "testnet",
|
|
36
|
+
"description": "Previewnet bare-Rust PolkaVM DotNS deployment",
|
|
37
|
+
"ipfs": "https://previewnet.substrate.dev",
|
|
38
|
+
"autoAccountMapping": true,
|
|
39
|
+
"nativeToEthRatio": 100000000,
|
|
40
|
+
"registerStorageDeposit": 2000000000000,
|
|
41
|
+
"contracts": {
|
|
42
|
+
"DOTNS_PROTOCOL_REGISTRY": "0x84e7637427ba79550440146b7e51dc05230f3685",
|
|
43
|
+
"DOTNS_REGISTRAR": "0x9554489ce26c1229cdbaa0fd1193ff5dcc9542ef",
|
|
44
|
+
"DOTNS_REGISTRAR_CONTROLLER": "0x35f8594c8e68a0ad079bca5f72bf6c9560ac22b0",
|
|
45
|
+
"DOTNS_REGISTRY": "0x64e619ea4d8a593c68533c0feaf3e36d3666495b",
|
|
46
|
+
"DOTNS_POP_CONTROLLER": "0xb0dd60b3da4a563cdc8aa78ec9d5b169f81046f1",
|
|
47
|
+
"ROOT_GATEWAY_DISPATCHER": "0x2cedd39924d216b4a49f4c532e03fe79d006e89e",
|
|
48
|
+
"DOTNS_RESOLVER": "0x5296344ed752c19cdee2bb3e5e5b015ba69982c7",
|
|
49
|
+
"DOTNS_CONTENT_RESOLVER": "0xa27c323a30c7ee1f0a7a35f48983d98d18c53445",
|
|
50
|
+
"DOTNS_REVERSE_RESOLVER": "0x099b539bf034c741404d393ab95946e4923bc7ab",
|
|
51
|
+
"DOTNS_POP_RESOLVER": "0x43deee0a5800d6aefb62c44431bb1e8a64782b15",
|
|
52
|
+
"DOTNS_NAME_ESCROW": "0xffa4bcd8d30eb08e154d9f5db6e21dd9cd02d6bd",
|
|
53
|
+
"POP_RULES": "0xe12efef359226464a5672029cfce9c04ca89afcf",
|
|
54
|
+
"STORE_FACTORY": "0xf594f6b5443ee915fddc24b201668e8d880e0fff",
|
|
55
|
+
"MULTICALL3": "0x3388cf14bceb70d96fa242f9a31d525772f7dbf0"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "custom",
|
|
60
|
+
"name": "Custom (PVM)",
|
|
61
|
+
"network": "testnet",
|
|
62
|
+
"description": "Previewnet PolkaVM DotNS with contract addresses supplied via --contract args",
|
|
63
|
+
"ipfs": "https://previewnet.substrate.dev",
|
|
64
|
+
"autoAccountMapping": true,
|
|
65
|
+
"nativeToEthRatio": 100000000,
|
|
66
|
+
"registerStorageDeposit": 2000000000000,
|
|
67
|
+
"contracts": {}
|
|
68
|
+
},
|
|
32
69
|
{
|
|
33
70
|
"id": "paseo-next",
|
|
34
71
|
"name": "Paseo Next",
|
|
@@ -109,6 +146,9 @@
|
|
|
109
146
|
"preview": {
|
|
110
147
|
"wss": "wss://previewnet.substrate.dev/relay/alice"
|
|
111
148
|
},
|
|
149
|
+
"preview-pvm": {
|
|
150
|
+
"wss": "wss://previewnet.substrate.dev/relay/alice"
|
|
151
|
+
},
|
|
112
152
|
"paseo-next": {
|
|
113
153
|
"wss": "wss://paseo-rpc.n.dwellir.com",
|
|
114
154
|
"uptimeUrl": "https://stats.uptimerobot.com/UrEXbl6Xyt"
|
|
@@ -136,6 +176,9 @@
|
|
|
136
176
|
"wss://kusama.dotters.network",
|
|
137
177
|
"wss://kusama-rpc.polkadot.io"
|
|
138
178
|
]
|
|
179
|
+
},
|
|
180
|
+
"custom": {
|
|
181
|
+
"wss": "wss://previewnet.substrate.dev/relay/alice"
|
|
139
182
|
}
|
|
140
183
|
}
|
|
141
184
|
},
|
|
@@ -147,6 +190,10 @@
|
|
|
147
190
|
"wss": "wss://previewnet.substrate.dev/asset-hub",
|
|
148
191
|
"parachainId": 1000
|
|
149
192
|
},
|
|
193
|
+
"preview-pvm": {
|
|
194
|
+
"wss": "wss://previewnet.substrate.dev/asset-hub",
|
|
195
|
+
"parachainId": 1000
|
|
196
|
+
},
|
|
150
197
|
"paseo-next": {
|
|
151
198
|
"wss": "wss://asset-hub-paseo-rpc.n.dwellir.com",
|
|
152
199
|
"parachainId": 1000,
|
|
@@ -178,6 +225,10 @@
|
|
|
178
225
|
"wss://kusama-asset-hub-rpc.polkadot.io"
|
|
179
226
|
],
|
|
180
227
|
"parachainId": 1000
|
|
228
|
+
},
|
|
229
|
+
"custom": {
|
|
230
|
+
"wss": "wss://previewnet.substrate.dev/asset-hub",
|
|
231
|
+
"parachainId": 1000
|
|
181
232
|
}
|
|
182
233
|
}
|
|
183
234
|
},
|
|
@@ -252,6 +303,10 @@
|
|
|
252
303
|
"wss": "wss://previewnet.substrate.dev/people",
|
|
253
304
|
"parachainId": 1004
|
|
254
305
|
},
|
|
306
|
+
"preview-pvm": {
|
|
307
|
+
"wss": "wss://previewnet.substrate.dev/people",
|
|
308
|
+
"parachainId": 1004
|
|
309
|
+
},
|
|
255
310
|
"paseo-next": {
|
|
256
311
|
"wss": "wss://paseo-people-next-rpc.polkadot.io",
|
|
257
312
|
"parachainId": 5140,
|
|
@@ -283,6 +338,10 @@
|
|
|
283
338
|
"wss://kusama-people-rpc.polkadot.io"
|
|
284
339
|
],
|
|
285
340
|
"parachainId": 1004
|
|
341
|
+
},
|
|
342
|
+
"custom": {
|
|
343
|
+
"wss": "wss://previewnet.substrate.dev/people",
|
|
344
|
+
"parachainId": 1004
|
|
286
345
|
}
|
|
287
346
|
}
|
|
288
347
|
},
|
|
@@ -294,6 +353,10 @@
|
|
|
294
353
|
"wss": "wss://previewnet.substrate.dev/bulletin",
|
|
295
354
|
"parachainId": 2487
|
|
296
355
|
},
|
|
356
|
+
"preview-pvm": {
|
|
357
|
+
"wss": "wss://previewnet.substrate.dev/bulletin",
|
|
358
|
+
"parachainId": 2487
|
|
359
|
+
},
|
|
297
360
|
"paseo-next": {
|
|
298
361
|
"wss": "wss://paseo-bulletin-rpc.polkadot.io",
|
|
299
362
|
"parachainId": 5118,
|
|
@@ -307,6 +370,10 @@
|
|
|
307
370
|
"paseo-next-v2": {
|
|
308
371
|
"wss": "wss://paseo-bulletin-next-rpc.polkadot.io",
|
|
309
372
|
"parachainId": 1501
|
|
373
|
+
},
|
|
374
|
+
"custom": {
|
|
375
|
+
"wss": "wss://previewnet.substrate.dev/bulletin",
|
|
376
|
+
"parachainId": 2487
|
|
310
377
|
}
|
|
311
378
|
}
|
|
312
379
|
}
|
package/bin/bulletin-deploy
CHANGED
|
@@ -31,6 +31,17 @@ for (let i = 0; i < args.length; i++) {
|
|
|
31
31
|
else if (args[i] === "--derivation-path") { flags.derivationPath = args[++i]; }
|
|
32
32
|
else if (args[i] === "--rpc") { flags.rpc = args[++i]; }
|
|
33
33
|
else if (args[i] === "--env") { flags.env = args[++i]; }
|
|
34
|
+
else if (args[i] === "--contract") {
|
|
35
|
+
// Repeatable: --contract KEY=0xADDRESS. Supplies/overrides a DotNS contract
|
|
36
|
+
// address (merged over the env's map). Required for --env custom.
|
|
37
|
+
const kv = args[++i] ?? "";
|
|
38
|
+
const eq = kv.indexOf("=");
|
|
39
|
+
if (eq <= 0) {
|
|
40
|
+
console.error(`Error: --contract expects KEY=0xADDRESS, got "${kv}"`);
|
|
41
|
+
process.exit(1);
|
|
42
|
+
}
|
|
43
|
+
(flags.contracts ??= {})[kv.slice(0, eq)] = kv.slice(eq + 1);
|
|
44
|
+
}
|
|
34
45
|
else if (args[i] === "--list-environments") { flags.listEnvironments = true; }
|
|
35
46
|
else if (args[i] === "--password") { flags.password = args[++i]; }
|
|
36
47
|
else if (args[i] === "--js-merkle") { flags.jsMerkle = true; }
|
|
@@ -159,6 +170,11 @@ Options:
|
|
|
159
170
|
Drives both the bulletin RPC and the asset-hub RPC used
|
|
160
171
|
by DotNS. See --list-environments for valid ids.
|
|
161
172
|
--list-environments Print the environments table and exit.
|
|
173
|
+
--contract <KEY>=<addr> Supply/override a DotNS contract address (repeatable).
|
|
174
|
+
Merged over the chosen --env's contracts map; required
|
|
175
|
+
for --env custom (which ships none). KEY is a DOTNS_*
|
|
176
|
+
name from environments.json, e.g.
|
|
177
|
+
--contract DOTNS_REGISTRY=0x.. --contract DOTNS_CONTENT_RESOLVER=0x..
|
|
162
178
|
--mnemonic "..." DotNS owner mnemonic (or set MNEMONIC env var)
|
|
163
179
|
--derivation-path "..." Optional Substrate-style path applied to --mnemonic (e.g. //deploy/3)
|
|
164
180
|
--rpc wss://... Override the bulletin RPC for the chosen --env (or set BULLETIN_RPC).
|
|
@@ -352,6 +368,7 @@ try {
|
|
|
352
368
|
env: flags.env,
|
|
353
369
|
poolSize: flags.poolSize,
|
|
354
370
|
password: flags.password,
|
|
371
|
+
contracts: flags.contracts,
|
|
355
372
|
jsMerkle: flags.jsMerkle,
|
|
356
373
|
inputCar: flags.inputCar,
|
|
357
374
|
tag: flags.tag,
|
package/dist/bug-report.js
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
offerBugReport,
|
|
10
10
|
scrubSecrets,
|
|
11
11
|
setDeployContext
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZXVXFUTL.js";
|
|
13
|
+
import "./chunk-TYR6IXA6.js";
|
|
14
|
+
import "./chunk-6FSPPEAL.js";
|
|
15
|
+
import "./chunk-DPAJNF3G.js";
|
|
16
16
|
export {
|
|
17
17
|
buildCliFlagsSummary,
|
|
18
18
|
buildLabels,
|
|
@@ -38,6 +38,43 @@ var environments_default = {
|
|
|
38
38
|
PUBLISHER: "0xa616254fd98724c7a3d295c98ca393a486096b68"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
+
{
|
|
42
|
+
id: "preview-pvm",
|
|
43
|
+
name: "Preview (PVM)",
|
|
44
|
+
network: "testnet",
|
|
45
|
+
description: "Previewnet bare-Rust PolkaVM DotNS deployment",
|
|
46
|
+
ipfs: "https://previewnet.substrate.dev",
|
|
47
|
+
autoAccountMapping: true,
|
|
48
|
+
nativeToEthRatio: 1e8,
|
|
49
|
+
registerStorageDeposit: 2e12,
|
|
50
|
+
contracts: {
|
|
51
|
+
DOTNS_PROTOCOL_REGISTRY: "0x84e7637427ba79550440146b7e51dc05230f3685",
|
|
52
|
+
DOTNS_REGISTRAR: "0x9554489ce26c1229cdbaa0fd1193ff5dcc9542ef",
|
|
53
|
+
DOTNS_REGISTRAR_CONTROLLER: "0x35f8594c8e68a0ad079bca5f72bf6c9560ac22b0",
|
|
54
|
+
DOTNS_REGISTRY: "0x64e619ea4d8a593c68533c0feaf3e36d3666495b",
|
|
55
|
+
DOTNS_POP_CONTROLLER: "0xb0dd60b3da4a563cdc8aa78ec9d5b169f81046f1",
|
|
56
|
+
ROOT_GATEWAY_DISPATCHER: "0x2cedd39924d216b4a49f4c532e03fe79d006e89e",
|
|
57
|
+
DOTNS_RESOLVER: "0x5296344ed752c19cdee2bb3e5e5b015ba69982c7",
|
|
58
|
+
DOTNS_CONTENT_RESOLVER: "0xa27c323a30c7ee1f0a7a35f48983d98d18c53445",
|
|
59
|
+
DOTNS_REVERSE_RESOLVER: "0x099b539bf034c741404d393ab95946e4923bc7ab",
|
|
60
|
+
DOTNS_POP_RESOLVER: "0x43deee0a5800d6aefb62c44431bb1e8a64782b15",
|
|
61
|
+
DOTNS_NAME_ESCROW: "0xffa4bcd8d30eb08e154d9f5db6e21dd9cd02d6bd",
|
|
62
|
+
POP_RULES: "0xe12efef359226464a5672029cfce9c04ca89afcf",
|
|
63
|
+
STORE_FACTORY: "0xf594f6b5443ee915fddc24b201668e8d880e0fff",
|
|
64
|
+
MULTICALL3: "0x3388cf14bceb70d96fa242f9a31d525772f7dbf0"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "custom",
|
|
69
|
+
name: "Custom (PVM)",
|
|
70
|
+
network: "testnet",
|
|
71
|
+
description: "Previewnet PolkaVM DotNS with contract addresses supplied via --contract args",
|
|
72
|
+
ipfs: "https://previewnet.substrate.dev",
|
|
73
|
+
autoAccountMapping: true,
|
|
74
|
+
nativeToEthRatio: 1e8,
|
|
75
|
+
registerStorageDeposit: 2e12,
|
|
76
|
+
contracts: {}
|
|
77
|
+
},
|
|
41
78
|
{
|
|
42
79
|
id: "paseo-next",
|
|
43
80
|
name: "Paseo Next",
|
|
@@ -118,6 +155,9 @@ var environments_default = {
|
|
|
118
155
|
preview: {
|
|
119
156
|
wss: "wss://previewnet.substrate.dev/relay/alice"
|
|
120
157
|
},
|
|
158
|
+
"preview-pvm": {
|
|
159
|
+
wss: "wss://previewnet.substrate.dev/relay/alice"
|
|
160
|
+
},
|
|
121
161
|
"paseo-next": {
|
|
122
162
|
wss: "wss://paseo-rpc.n.dwellir.com",
|
|
123
163
|
uptimeUrl: "https://stats.uptimerobot.com/UrEXbl6Xyt"
|
|
@@ -145,6 +185,9 @@ var environments_default = {
|
|
|
145
185
|
"wss://kusama.dotters.network",
|
|
146
186
|
"wss://kusama-rpc.polkadot.io"
|
|
147
187
|
]
|
|
188
|
+
},
|
|
189
|
+
custom: {
|
|
190
|
+
wss: "wss://previewnet.substrate.dev/relay/alice"
|
|
148
191
|
}
|
|
149
192
|
}
|
|
150
193
|
},
|
|
@@ -156,6 +199,10 @@ var environments_default = {
|
|
|
156
199
|
wss: "wss://previewnet.substrate.dev/asset-hub",
|
|
157
200
|
parachainId: 1e3
|
|
158
201
|
},
|
|
202
|
+
"preview-pvm": {
|
|
203
|
+
wss: "wss://previewnet.substrate.dev/asset-hub",
|
|
204
|
+
parachainId: 1e3
|
|
205
|
+
},
|
|
159
206
|
"paseo-next": {
|
|
160
207
|
wss: "wss://asset-hub-paseo-rpc.n.dwellir.com",
|
|
161
208
|
parachainId: 1e3,
|
|
@@ -187,6 +234,10 @@ var environments_default = {
|
|
|
187
234
|
"wss://kusama-asset-hub-rpc.polkadot.io"
|
|
188
235
|
],
|
|
189
236
|
parachainId: 1e3
|
|
237
|
+
},
|
|
238
|
+
custom: {
|
|
239
|
+
wss: "wss://previewnet.substrate.dev/asset-hub",
|
|
240
|
+
parachainId: 1e3
|
|
190
241
|
}
|
|
191
242
|
}
|
|
192
243
|
},
|
|
@@ -261,6 +312,10 @@ var environments_default = {
|
|
|
261
312
|
wss: "wss://previewnet.substrate.dev/people",
|
|
262
313
|
parachainId: 1004
|
|
263
314
|
},
|
|
315
|
+
"preview-pvm": {
|
|
316
|
+
wss: "wss://previewnet.substrate.dev/people",
|
|
317
|
+
parachainId: 1004
|
|
318
|
+
},
|
|
264
319
|
"paseo-next": {
|
|
265
320
|
wss: "wss://paseo-people-next-rpc.polkadot.io",
|
|
266
321
|
parachainId: 5140,
|
|
@@ -292,6 +347,10 @@ var environments_default = {
|
|
|
292
347
|
"wss://kusama-people-rpc.polkadot.io"
|
|
293
348
|
],
|
|
294
349
|
parachainId: 1004
|
|
350
|
+
},
|
|
351
|
+
custom: {
|
|
352
|
+
wss: "wss://previewnet.substrate.dev/people",
|
|
353
|
+
parachainId: 1004
|
|
295
354
|
}
|
|
296
355
|
}
|
|
297
356
|
},
|
|
@@ -303,6 +362,10 @@ var environments_default = {
|
|
|
303
362
|
wss: "wss://previewnet.substrate.dev/bulletin",
|
|
304
363
|
parachainId: 2487
|
|
305
364
|
},
|
|
365
|
+
"preview-pvm": {
|
|
366
|
+
wss: "wss://previewnet.substrate.dev/bulletin",
|
|
367
|
+
parachainId: 2487
|
|
368
|
+
},
|
|
306
369
|
"paseo-next": {
|
|
307
370
|
wss: "wss://paseo-bulletin-rpc.polkadot.io",
|
|
308
371
|
parachainId: 5118,
|
|
@@ -316,6 +379,10 @@ var environments_default = {
|
|
|
316
379
|
"paseo-next-v2": {
|
|
317
380
|
wss: "wss://paseo-bulletin-next-rpc.polkadot.io",
|
|
318
381
|
parachainId: 1501
|
|
382
|
+
},
|
|
383
|
+
custom: {
|
|
384
|
+
wss: "wss://previewnet.substrate.dev/bulletin",
|
|
385
|
+
parachainId: 2487
|
|
319
386
|
}
|
|
320
387
|
}
|
|
321
388
|
}
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
} from "./chunk-S7EM5VMW.js";
|
|
21
21
|
import {
|
|
22
22
|
setDeployContext
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZXVXFUTL.js";
|
|
24
24
|
import {
|
|
25
25
|
probeChunks
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-U7QF6WH4.js";
|
|
27
27
|
import {
|
|
28
28
|
packSection
|
|
29
29
|
} from "./chunk-C2TS5MER.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
parseDomainName,
|
|
36
36
|
popStatusName,
|
|
37
37
|
verifyNonceAdvanced
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-USYVNCQS.js";
|
|
39
39
|
import {
|
|
40
40
|
derivePoolAccounts,
|
|
41
41
|
detectTestnet,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
fetchPoolAuthorizations,
|
|
44
44
|
selectAccount,
|
|
45
45
|
topUpBy
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2IEKHP6E.js";
|
|
47
47
|
import {
|
|
48
48
|
VERSION,
|
|
49
49
|
captureWarning,
|
|
@@ -57,13 +57,13 @@ import {
|
|
|
57
57
|
truncateAddress,
|
|
58
58
|
withDeploySpan,
|
|
59
59
|
withSpan
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6FSPPEAL.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_ENV_ID,
|
|
63
63
|
getPopSelfServeConfig,
|
|
64
64
|
loadEnvironments,
|
|
65
65
|
resolveEndpoints
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-CNPB4VAM.js";
|
|
67
67
|
import {
|
|
68
68
|
NonRetryableError
|
|
69
69
|
} from "./chunk-ZOC4GITL.js";
|
|
@@ -1617,6 +1617,9 @@ async function deploy(content, domainName = null, options = {}) {
|
|
|
1617
1617
|
captureWarning(`environments load failed: ${e?.message ?? e}`);
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
+
if (options.contracts && Object.keys(options.contracts).length > 0) {
|
|
1621
|
+
envContracts = { ...envContracts, ...options.contracts };
|
|
1622
|
+
}
|
|
1620
1623
|
const userRpc = options.rpc ?? process.env.BULLETIN_RPC;
|
|
1621
1624
|
BULLETIN_ENDPOINTS = userRpc ? [userRpc, ...envBulletin.filter((e) => e !== userRpc)] : envBulletin;
|
|
1622
1625
|
_deployRpcFailedOver = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTestnetSpecName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2IEKHP6E.js";
|
|
4
4
|
import {
|
|
5
5
|
captureWarning,
|
|
6
6
|
markCodePath,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
setDeploySentryTag,
|
|
9
9
|
truncateAddress,
|
|
10
10
|
withSpan
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6FSPPEAL.js";
|
|
12
12
|
import {
|
|
13
13
|
validateContractAddresses
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CNPB4VAM.js";
|
|
15
15
|
import {
|
|
16
16
|
NonRetryableError
|
|
17
17
|
} from "./chunk-ZOC4GITL.js";
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
resolveDotnsConnectOptions,
|
|
7
7
|
storeDirectory,
|
|
8
8
|
storeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LS6XFIW7.js";
|
|
10
10
|
import {
|
|
11
11
|
DotNS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-USYVNCQS.js";
|
|
13
13
|
import {
|
|
14
14
|
getPopSelfServeConfig,
|
|
15
15
|
loadEnvironments,
|
|
16
16
|
resolveEndpoints
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CNPB4VAM.js";
|
|
18
18
|
import {
|
|
19
19
|
NonRetryableError
|
|
20
20
|
} from "./chunk-ZOC4GITL.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
classifyErrorArea,
|
|
3
3
|
isInteractive,
|
|
4
4
|
promptYesNo
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TYR6IXA6.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
getCurrentSentryTraceId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6FSPPEAL.js";
|
|
10
10
|
|
|
11
11
|
// src/bug-report.ts
|
|
12
12
|
import { execSync, execFileSync } from "child_process";
|
package/dist/chunk-probe.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
_decodeStorageValue,
|
|
6
6
|
_resetProbeSession,
|
|
7
7
|
probeChunks
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-U7QF6WH4.js";
|
|
9
|
+
import "./chunk-6FSPPEAL.js";
|
|
10
|
+
import "./chunk-DPAJNF3G.js";
|
|
11
11
|
export {
|
|
12
12
|
ChainProbeCrossValidationError,
|
|
13
13
|
ChainProbeMetadataError,
|
package/dist/deploy.d.ts
CHANGED
|
@@ -261,6 +261,14 @@ interface DeployOptions {
|
|
|
261
261
|
* discovery courtesy.
|
|
262
262
|
*/
|
|
263
263
|
failOnPublishError?: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Override/supply DotNS contract addresses, shallow-merged OVER the chosen
|
|
266
|
+
* env's `contracts` map (these win). The `custom` env ships no addresses, so
|
|
267
|
+
* this is how they are provided. Keys are the DOTNS_* names used in
|
|
268
|
+
* environments.json (e.g. DOTNS_REGISTRY, DOTNS_CONTENT_RESOLVER).
|
|
269
|
+
* CLI: --contract <KEY>=<0xADDRESS> (repeatable).
|
|
270
|
+
*/
|
|
271
|
+
contracts?: Record<string, string>;
|
|
264
272
|
}
|
|
265
273
|
declare function resolveDotnsConnectOptions(options: Pick<DeployOptions, "mnemonic" | "derivationPath" | "signer" | "signerAddress">, assetHubEndpoints?: string[], autoAccountMapping?: boolean, contracts?: Record<string, string>, nativeToEthRatio?: bigint, environmentId?: string, popSelfServe?: PopSelfServeConfig | null, registerStorageDeposit?: bigint): {
|
|
266
274
|
signer?: PolkadotSigner;
|
package/dist/deploy.js
CHANGED
|
@@ -36,20 +36,20 @@ import {
|
|
|
36
36
|
storeDirectoryV2,
|
|
37
37
|
storeFile,
|
|
38
38
|
unpublish
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LS6XFIW7.js";
|
|
40
40
|
import "./chunk-IW3X2MJF.js";
|
|
41
41
|
import "./chunk-KOSF5FDO.js";
|
|
42
42
|
import "./chunk-L2SKSKB6.js";
|
|
43
43
|
import "./chunk-S7EM5VMW.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-ZXVXFUTL.js";
|
|
45
|
+
import "./chunk-TYR6IXA6.js";
|
|
46
|
+
import "./chunk-U7QF6WH4.js";
|
|
47
47
|
import "./chunk-C2TS5MER.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-USYVNCQS.js";
|
|
49
|
+
import "./chunk-2IEKHP6E.js";
|
|
50
|
+
import "./chunk-6FSPPEAL.js";
|
|
51
|
+
import "./chunk-DPAJNF3G.js";
|
|
52
|
+
import "./chunk-CNPB4VAM.js";
|
|
53
53
|
import {
|
|
54
54
|
EXIT_CODE_NO_RETRY,
|
|
55
55
|
NonRetryableError
|
package/dist/dotns.js
CHANGED
|
@@ -48,11 +48,11 @@ import {
|
|
|
48
48
|
stripTrailingDigits,
|
|
49
49
|
validateDomainLabel,
|
|
50
50
|
verifyNonceAdvanced
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-USYVNCQS.js";
|
|
52
|
+
import "./chunk-2IEKHP6E.js";
|
|
53
|
+
import "./chunk-6FSPPEAL.js";
|
|
54
|
+
import "./chunk-DPAJNF3G.js";
|
|
55
|
+
import "./chunk-CNPB4VAM.js";
|
|
56
56
|
import "./chunk-ZOC4GITL.js";
|
|
57
57
|
export {
|
|
58
58
|
ATTR_TX_RESOLUTION_KIND,
|
package/dist/environments.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-MMAZFJDG.js";
|
|
8
8
|
import {
|
|
9
9
|
publishManifest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X2UVZCRT.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
13
13
|
PLACEHOLDER_CID,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
deploy,
|
|
25
25
|
merkleizeJS,
|
|
26
26
|
merkleizeWithStableOrder
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LS6XFIW7.js";
|
|
28
28
|
import {
|
|
29
29
|
computeStats,
|
|
30
30
|
renderSummary,
|
|
@@ -46,26 +46,26 @@ import {
|
|
|
46
46
|
isVolatilePath,
|
|
47
47
|
parseManifest
|
|
48
48
|
} from "./chunk-S7EM5VMW.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-ZXVXFUTL.js";
|
|
50
|
+
import "./chunk-TYR6IXA6.js";
|
|
51
51
|
import {
|
|
52
52
|
probeChunks
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-U7QF6WH4.js";
|
|
54
54
|
import "./chunk-C2TS5MER.js";
|
|
55
55
|
import {
|
|
56
56
|
DEFAULT_MNEMONIC,
|
|
57
57
|
DotNS,
|
|
58
58
|
parseDomainName,
|
|
59
59
|
sanitizeDomainLabel
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-USYVNCQS.js";
|
|
61
61
|
import {
|
|
62
62
|
bootstrapPool,
|
|
63
63
|
derivePoolAccounts,
|
|
64
64
|
ensureAuthorized,
|
|
65
65
|
fetchPoolAuthorizations,
|
|
66
66
|
selectAccount
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-2IEKHP6E.js";
|
|
68
|
+
import "./chunk-6FSPPEAL.js";
|
|
69
69
|
import {
|
|
70
70
|
VERSION,
|
|
71
71
|
loadRunState,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
shouldSkipStaleWarning,
|
|
76
76
|
stateFilePath,
|
|
77
77
|
writeRunState
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-DPAJNF3G.js";
|
|
79
79
|
import {
|
|
80
80
|
DEFAULT_ENV_ID,
|
|
81
81
|
defaultBundledPath,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
loadEnvironments,
|
|
86
86
|
resolveEndpoints,
|
|
87
87
|
validateContractAddresses
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-CNPB4VAM.js";
|
|
89
89
|
import "./chunk-ZOC4GITL.js";
|
|
90
90
|
import "./chunk-HOTQDYHD.js";
|
|
91
91
|
export {
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-X2UVZCRT.js";
|
|
4
4
|
import "../chunk-RI3ZLNPN.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-LS6XFIW7.js";
|
|
6
6
|
import "../chunk-IW3X2MJF.js";
|
|
7
7
|
import "../chunk-KOSF5FDO.js";
|
|
8
8
|
import "../chunk-L2SKSKB6.js";
|
|
9
9
|
import "../chunk-S7EM5VMW.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-ZXVXFUTL.js";
|
|
11
|
+
import "../chunk-TYR6IXA6.js";
|
|
12
|
+
import "../chunk-U7QF6WH4.js";
|
|
13
13
|
import "../chunk-C2TS5MER.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-USYVNCQS.js";
|
|
15
|
+
import "../chunk-2IEKHP6E.js";
|
|
16
|
+
import "../chunk-6FSPPEAL.js";
|
|
17
|
+
import "../chunk-DPAJNF3G.js";
|
|
18
|
+
import "../chunk-CNPB4VAM.js";
|
|
19
19
|
import "../chunk-ZOC4GITL.js";
|
|
20
20
|
import "../chunk-HOTQDYHD.js";
|
|
21
21
|
export {
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LS6XFIW7.js";
|
|
10
10
|
import "./chunk-IW3X2MJF.js";
|
|
11
11
|
import "./chunk-KOSF5FDO.js";
|
|
12
12
|
import "./chunk-L2SKSKB6.js";
|
|
13
13
|
import "./chunk-S7EM5VMW.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ZXVXFUTL.js";
|
|
15
|
+
import "./chunk-TYR6IXA6.js";
|
|
16
|
+
import "./chunk-U7QF6WH4.js";
|
|
17
17
|
import "./chunk-C2TS5MER.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-USYVNCQS.js";
|
|
19
|
+
import "./chunk-2IEKHP6E.js";
|
|
20
|
+
import "./chunk-6FSPPEAL.js";
|
|
21
|
+
import "./chunk-DPAJNF3G.js";
|
|
22
|
+
import "./chunk-CNPB4VAM.js";
|
|
23
23
|
import "./chunk-ZOC4GITL.js";
|
|
24
24
|
import "./chunk-HOTQDYHD.js";
|
|
25
25
|
export {
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
} from "../chunk-ZYVGHDMU.js";
|
|
27
27
|
import {
|
|
28
28
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-USYVNCQS.js";
|
|
30
|
+
import "../chunk-2IEKHP6E.js";
|
|
31
|
+
import "../chunk-6FSPPEAL.js";
|
|
32
|
+
import "../chunk-DPAJNF3G.js";
|
|
33
33
|
import {
|
|
34
34
|
loadEnvironments
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-CNPB4VAM.js";
|
|
36
36
|
import "../chunk-ZOC4GITL.js";
|
|
37
37
|
|
|
38
38
|
// src/personhood/bootstrap.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-USYVNCQS.js";
|
|
4
|
+
import "../chunk-2IEKHP6E.js";
|
|
5
|
+
import "../chunk-6FSPPEAL.js";
|
|
6
|
+
import "../chunk-DPAJNF3G.js";
|
|
7
7
|
import {
|
|
8
8
|
loadEnvironments
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-CNPB4VAM.js";
|
|
10
10
|
import "../chunk-ZOC4GITL.js";
|
|
11
11
|
|
|
12
12
|
// src/personhood/people-client.ts
|
package/dist/pool.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
isTestnetSpecName,
|
|
13
13
|
selectAccount,
|
|
14
14
|
topUpBy
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-2IEKHP6E.js";
|
|
16
|
+
import "./chunk-6FSPPEAL.js";
|
|
17
|
+
import "./chunk-DPAJNF3G.js";
|
|
18
18
|
export {
|
|
19
19
|
_resetTestnetCacheForTests,
|
|
20
20
|
bootstrapPool,
|
package/dist/run-state.js
CHANGED
package/dist/telemetry.js
CHANGED
package/dist/version-check.js
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
isPreReleaseVersion,
|
|
12
12
|
preReleaseWarning,
|
|
13
13
|
promptYesNo
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-TYR6IXA6.js";
|
|
15
|
+
import "./chunk-6FSPPEAL.js";
|
|
16
|
+
import "./chunk-DPAJNF3G.js";
|
|
17
17
|
export {
|
|
18
18
|
assessVersion,
|
|
19
19
|
checkNodeVersion,
|