@parity/product-deploy 0.8.2-rc.0 → 0.8.3-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 +6 -0
- package/dist/bug-report.js +4 -4
- package/dist/{chunk-XFX4VODU.js → chunk-5K3RI5C2.js} +6 -0
- package/dist/{chunk-R2ORPNZC.js → chunk-CBCUKOOJ.js} +1 -1
- package/dist/{chunk-7GYCJPFI.js → chunk-LJMYOXQV.js} +15 -12
- package/dist/{chunk-PIGHAAM2.js → chunk-OAWXITVX.js} +3 -3
- package/dist/{chunk-RRYHCOOJ.js → chunk-PV3N2XTC.js} +12 -19
- package/dist/{chunk-JQ5X3VMP.js → chunk-QS7YU76C.js} +3 -10
- package/dist/{chunk-N27JUWU2.js → chunk-UXVBF7TD.js} +1 -1
- package/dist/{chunk-CSDXTU3G.js → chunk-VRZXAB7J.js} +2 -2
- package/dist/{chunk-5EJ247OO.js → chunk-YT2XCGZK.js} +1 -1
- package/dist/{chunk-4Y4ZBN45.js → chunk-Z6PRIHI7.js} +1 -1
- package/dist/chunk-probe.js +3 -3
- package/dist/deploy.js +9 -9
- package/dist/dotns.js +5 -5
- package/dist/environments.d.ts +2 -2
- 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.d.ts +3 -7
- package/dist/pool.js +1 -1
- 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
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
"autoAccountMapping": true,
|
|
12
12
|
"nativeToEthRatio": 100000000,
|
|
13
13
|
"registerStorageDeposit": 2000000000000,
|
|
14
|
+
"popSelfServe": {
|
|
15
|
+
"sudoEnvLabel": "Preview",
|
|
16
|
+
"personhoodFaucetUrl": "https://sudo.personhood.dev/personhood-faucet",
|
|
17
|
+
"dotnsBootstrapUrl": "https://sudo.personhood.dev/dotns-bootstrap",
|
|
18
|
+
"stateAwareGuidance": true
|
|
19
|
+
},
|
|
14
20
|
"contracts": {
|
|
15
21
|
"DOTNS_PROTOCOL_REGISTRY": "0x984F17a9077808F4B7e127F76806A1D59546B5B6",
|
|
16
22
|
"DOTNS_REGISTRAR": "0x061273AeF34e8ab9Ca08E199d7440E2639Fc2088",
|
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-VRZXAB7J.js";
|
|
13
|
+
import "./chunk-CBCUKOOJ.js";
|
|
14
|
+
import "./chunk-YT2XCGZK.js";
|
|
15
|
+
import "./chunk-UXVBF7TD.js";
|
|
16
16
|
export {
|
|
17
17
|
buildCliFlagsSummary,
|
|
18
18
|
buildLabels,
|
|
@@ -20,6 +20,12 @@ var environments_default = {
|
|
|
20
20
|
autoAccountMapping: true,
|
|
21
21
|
nativeToEthRatio: 1e8,
|
|
22
22
|
registerStorageDeposit: 2e12,
|
|
23
|
+
popSelfServe: {
|
|
24
|
+
sudoEnvLabel: "Preview",
|
|
25
|
+
personhoodFaucetUrl: "https://sudo.personhood.dev/personhood-faucet",
|
|
26
|
+
dotnsBootstrapUrl: "https://sudo.personhood.dev/dotns-bootstrap",
|
|
27
|
+
stateAwareGuidance: true
|
|
28
|
+
},
|
|
23
29
|
contracts: {
|
|
24
30
|
DOTNS_PROTOCOL_REGISTRY: "0x984F17a9077808F4B7e127F76806A1D59546B5B6",
|
|
25
31
|
DOTNS_REGISTRAR: "0x061273AeF34e8ab9Ca08E199d7440E2639Fc2088",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTestnetSpecName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QS7YU76C.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-YT2XCGZK.js";
|
|
12
12
|
import {
|
|
13
13
|
validateContractAddresses
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5K3RI5C2.js";
|
|
15
15
|
import {
|
|
16
16
|
NonRetryableError
|
|
17
17
|
} from "./chunk-ZOC4GITL.js";
|
|
@@ -895,6 +895,15 @@ function classifyAliasAccountRow(row) {
|
|
|
895
895
|
}
|
|
896
896
|
return { state: "wrong-context", storedContextHex: contextHex, revision };
|
|
897
897
|
}
|
|
898
|
+
function formatSelfServeSteps(popSelfServe) {
|
|
899
|
+
const steps = [];
|
|
900
|
+
if (popSelfServe.faucetUrl) {
|
|
901
|
+
steps.push(`Fund the service account mnemonic via ${popSelfServe.faucetUrl}`);
|
|
902
|
+
}
|
|
903
|
+
steps.push(`Go to ${popSelfServe.personhoodFaucetUrl}, pick your env (e.g. ${popSelfServe.sudoEnvLabel}), and paste the mnemonic`);
|
|
904
|
+
steps.push(`Go to ${popSelfServe.dotnsBootstrapUrl} and follow each step (first and last can probably be skipped)`);
|
|
905
|
+
return steps.map((s, i) => ` ${i + 1}. ${s}`).join("\n");
|
|
906
|
+
}
|
|
898
907
|
function formatPersonhoodRemediation(state, popSelfServe, environmentId) {
|
|
899
908
|
if (!popSelfServe?.stateAwareGuidance) {
|
|
900
909
|
return "Self-attestation is no longer available. Contact the DotNS team for whitelisting / Personhood status help.";
|
|
@@ -902,9 +911,7 @@ function formatPersonhoodRemediation(state, popSelfServe, environmentId) {
|
|
|
902
911
|
switch (state.state) {
|
|
903
912
|
case "not-bound":
|
|
904
913
|
return `Your account has no DotNS alias binding on ${environmentId ?? "this environment"}. On testnets you can self-serve:
|
|
905
|
-
|
|
906
|
-
2. Go to ${popSelfServe.personhoodFaucetUrl}, pick your env (e.g. ${popSelfServe.sudoEnvLabel}), and paste the mnemonic
|
|
907
|
-
3. Go to ${popSelfServe.dotnsBootstrapUrl} and follow each step (first and last can probably be skipped)`;
|
|
914
|
+
` + formatSelfServeSteps(popSelfServe);
|
|
908
915
|
case "bound-likely-stale":
|
|
909
916
|
return `Your alias binding exists but may have a stale ring revision. Run \`node tools/reprove-alias.mjs --mnemonic <your-mnemonic> --env ${environmentId ?? "this environment"}\` to refresh the proof, then retry the registration.`;
|
|
910
917
|
case "wrong-context":
|
|
@@ -922,12 +929,7 @@ function formatPopShortfallReason(opts) {
|
|
|
922
929
|
const state = aliasState ?? { state: "not-bound" };
|
|
923
930
|
testnetBlock = "\n\n" + formatPersonhoodRemediation(state, popSelfServe, environmentId);
|
|
924
931
|
} else {
|
|
925
|
-
testnetBlock =
|
|
926
|
-
|
|
927
|
-
On testnets you can self-serve:
|
|
928
|
-
1. Fund the service account mnemonic via ${popSelfServe.faucetUrl}
|
|
929
|
-
2. Go to ${popSelfServe.personhoodFaucetUrl}, pick your env (e.g. ${popSelfServe.sudoEnvLabel}), and paste the mnemonic
|
|
930
|
-
3. Go to ${popSelfServe.dotnsBootstrapUrl} and follow each step (first and last can probably be skipped)`;
|
|
932
|
+
testnetBlock = "\n\nOn testnets you can self-serve:\n" + formatSelfServeSteps(popSelfServe);
|
|
931
933
|
}
|
|
932
934
|
}
|
|
933
935
|
const alternativesBlock = `
|
|
@@ -1524,6 +1526,7 @@ var DotNS = class {
|
|
|
1524
1526
|
{ verifyEffect }
|
|
1525
1527
|
);
|
|
1526
1528
|
logTxResolution(txResolution);
|
|
1529
|
+
setDeployAttribute("deploy.subnode.tx_resolution_kind", txResolution.kind);
|
|
1527
1530
|
if (txResolution.kind === TX_KIND_HASH) {
|
|
1528
1531
|
setDeployAttribute("deploy.subnode.tx", txResolution.hash);
|
|
1529
1532
|
if (txResolution.block) {
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
resolveDotnsConnectOptions,
|
|
7
7
|
storeDirectory,
|
|
8
8
|
storeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PV3N2XTC.js";
|
|
10
10
|
import {
|
|
11
11
|
DotNS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJMYOXQV.js";
|
|
13
13
|
import {
|
|
14
14
|
getPopSelfServeConfig,
|
|
15
15
|
loadEnvironments,
|
|
16
16
|
resolveEndpoints
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5K3RI5C2.js";
|
|
18
18
|
import {
|
|
19
19
|
NonRetryableError
|
|
20
20
|
} from "./chunk-ZOC4GITL.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
} from "./chunk-S7EM5VMW.js";
|
|
21
21
|
import {
|
|
22
22
|
setDeployContext
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VRZXAB7J.js";
|
|
24
24
|
import {
|
|
25
25
|
probeChunks
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Z6PRIHI7.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-LJMYOXQV.js";
|
|
39
39
|
import {
|
|
40
40
|
derivePoolAccounts,
|
|
41
41
|
detectTestnet,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
fetchPoolAuthorizations,
|
|
44
44
|
isAuthorizationSufficient,
|
|
45
45
|
selectAccount
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QS7YU76C.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-YT2XCGZK.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_ENV_ID,
|
|
63
63
|
getPopSelfServeConfig,
|
|
64
64
|
loadEnvironments,
|
|
65
65
|
resolveEndpoints
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5K3RI5C2.js";
|
|
67
67
|
import {
|
|
68
68
|
NonRetryableError
|
|
69
69
|
} from "./chunk-ZOC4GITL.js";
|
|
@@ -490,8 +490,6 @@ async function storeChunkedContent(chunks, { client: existingClient, unsafeApi:
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const requiredTxs = BigInt(chunks.length + 1);
|
|
494
|
-
const requiredBytes = BigInt(totalBytes);
|
|
495
493
|
const readUploadAuthorization = () => Promise.all([
|
|
496
494
|
unsafeApi.query.TransactionStorage.Authorizations.getValue(Enum("Account", ss58)),
|
|
497
495
|
unsafeApi.query.System.Number.getValue()
|
|
@@ -508,18 +506,9 @@ async function storeChunkedContent(chunks, { client: existingClient, unsafeApi:
|
|
|
508
506
|
throw e;
|
|
509
507
|
}
|
|
510
508
|
}
|
|
511
|
-
const
|
|
512
|
-
const sufficient = await isAuthorizationSufficient(unsafeApi, ss58, uploadAuth, currentBlockNum, needs);
|
|
509
|
+
const sufficient = isAuthorizationSufficient(uploadAuth, currentBlockNum);
|
|
513
510
|
if (!sufficient) {
|
|
514
|
-
|
|
515
|
-
Account needs re-authorization (need ${requiredTxs} txs / ${(totalBytes / 1e6).toFixed(1)}MB)`);
|
|
516
|
-
console.log(` Attempting to re-authorize with Alice...`);
|
|
517
|
-
try {
|
|
518
|
-
await ensureAuthorized(unsafeApi, ss58, void 0, needs);
|
|
519
|
-
console.log(` Re-authorization successful`);
|
|
520
|
-
} catch (e) {
|
|
521
|
-
throw new NonRetryableError(`Account ${ss58} has insufficient Bulletin authorization and auto-authorization via Alice failed (${e.message}). Authorize the account on-chain.`);
|
|
522
|
-
}
|
|
511
|
+
throw new NonRetryableError(`Account ${ss58} has no active Bulletin authorization (missing or expired). Request authorization on-chain (testnet faucet / personhood / pool bootstrap), then retry.`);
|
|
523
512
|
}
|
|
524
513
|
let reconnectionsUsed = 0;
|
|
525
514
|
const recoveryHistory = [];
|
|
@@ -1295,8 +1284,12 @@ async function storeDirectoryV2(directoryPath, opts = {}) {
|
|
|
1295
1284
|
sampleMemory("chunk_upload_b_end");
|
|
1296
1285
|
return r;
|
|
1297
1286
|
});
|
|
1287
|
+
phaseALiveProvider = { ...phaseALiveProvider, ...phaseBResult.liveProvider };
|
|
1298
1288
|
const storageCid = phaseBResult.storageCid;
|
|
1299
1289
|
setDeployAttribute("deploy.storage.phase_b.probe_hit_count", phaseBProbeHits);
|
|
1290
|
+
if (!phaseALiveProvider.client) {
|
|
1291
|
+
throw new Error(`Connection lost and max reconnections (${MAX_RECONNECTIONS}) exhausted after phase B \u2014 finality probe unavailable. Retry the deploy.`);
|
|
1292
|
+
}
|
|
1300
1293
|
{
|
|
1301
1294
|
const grandpaCids = [...phaseB.chunkCids, storageCid];
|
|
1302
1295
|
console.log(` Finality check: probing ${grandpaCids.length} chunks at chain-finalised state (aka GRANDPA)...`);
|
|
@@ -29,16 +29,9 @@ function derivePoolAccounts(poolSize = 10, mnemonic = DEV_PHRASE) {
|
|
|
29
29
|
}
|
|
30
30
|
return accounts;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
function isAuthorizationSufficient(auth, currentBlock) {
|
|
33
33
|
if (auth === void 0) return false;
|
|
34
34
|
if (Number(auth.expiration ?? 0) <= currentBlock) return false;
|
|
35
|
-
if (needs) {
|
|
36
|
-
const ok = await api.apis.BulletinTransactionStorageApi.can_store(
|
|
37
|
-
address,
|
|
38
|
-
clampU32(needs.bytes, "needs.bytes")
|
|
39
|
-
);
|
|
40
|
-
if (!ok) return false;
|
|
41
|
-
}
|
|
42
35
|
return true;
|
|
43
36
|
}
|
|
44
37
|
function selectAccount(authorizations, random = Math.random) {
|
|
@@ -95,12 +88,12 @@ function clampU32(n, name) {
|
|
|
95
88
|
if (n > U32_MAX) throw new Error(`${name} (${n}) exceeds u32 max \u2014 split the deploy into smaller batches`);
|
|
96
89
|
return Number(n);
|
|
97
90
|
}
|
|
98
|
-
async function ensureAuthorized(api, address, label
|
|
91
|
+
async function ensureAuthorized(api, address, label) {
|
|
99
92
|
const [auth, currentBlock] = await Promise.all([
|
|
100
93
|
api.query.TransactionStorage.Authorizations.getValue(Enum("Account", address)),
|
|
101
94
|
api.query.System.Number.getValue()
|
|
102
95
|
]);
|
|
103
|
-
if (
|
|
96
|
+
if (isAuthorizationSufficient(auth, currentBlock)) return;
|
|
104
97
|
const isTestnet = await detectTestnet(api);
|
|
105
98
|
const who = `${label ?? "account"} (${address.slice(0, 8)}...)`;
|
|
106
99
|
if (isTestnet) {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
classifyErrorArea,
|
|
3
3
|
isInteractive,
|
|
4
4
|
promptYesNo
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CBCUKOOJ.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
getCurrentSentryTraceId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YT2XCGZK.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-Z6PRIHI7.js";
|
|
9
|
+
import "./chunk-YT2XCGZK.js";
|
|
10
|
+
import "./chunk-UXVBF7TD.js";
|
|
11
11
|
export {
|
|
12
12
|
ChainProbeCrossValidationError,
|
|
13
13
|
ChainProbeMetadataError,
|
package/dist/deploy.js
CHANGED
|
@@ -39,20 +39,20 @@ import {
|
|
|
39
39
|
storeDirectoryV2,
|
|
40
40
|
storeFile,
|
|
41
41
|
unpublish
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PV3N2XTC.js";
|
|
43
43
|
import "./chunk-IW3X2MJF.js";
|
|
44
44
|
import "./chunk-KOSF5FDO.js";
|
|
45
45
|
import "./chunk-J3NIXHZZ.js";
|
|
46
46
|
import "./chunk-S7EM5VMW.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-VRZXAB7J.js";
|
|
48
|
+
import "./chunk-CBCUKOOJ.js";
|
|
49
|
+
import "./chunk-Z6PRIHI7.js";
|
|
50
50
|
import "./chunk-C2TS5MER.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-LJMYOXQV.js";
|
|
52
|
+
import "./chunk-QS7YU76C.js";
|
|
53
|
+
import "./chunk-YT2XCGZK.js";
|
|
54
|
+
import "./chunk-UXVBF7TD.js";
|
|
55
|
+
import "./chunk-5K3RI5C2.js";
|
|
56
56
|
import {
|
|
57
57
|
EXIT_CODE_NO_RETRY,
|
|
58
58
|
NonRetryableError
|
package/dist/dotns.js
CHANGED
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
stripTrailingDigits,
|
|
51
51
|
validateDomainLabel,
|
|
52
52
|
verifyNonceAdvanced
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-LJMYOXQV.js";
|
|
54
|
+
import "./chunk-QS7YU76C.js";
|
|
55
|
+
import "./chunk-YT2XCGZK.js";
|
|
56
|
+
import "./chunk-UXVBF7TD.js";
|
|
57
|
+
import "./chunk-5K3RI5C2.js";
|
|
58
58
|
import "./chunk-ZOC4GITL.js";
|
|
59
59
|
export {
|
|
60
60
|
ATTR_TX_RESOLUTION_KIND,
|
package/dist/environments.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ declare const DEFAULT_ENV_ID = "paseo-next-v2";
|
|
|
2
2
|
interface PopSelfServeConfig {
|
|
3
3
|
/** The label users select in the sudo.personhood.dev env dropdown — e.g. "Next V2". */
|
|
4
4
|
sudoEnvLabel: string;
|
|
5
|
-
/** Faucet URL for funding the service account on this env. */
|
|
6
|
-
faucetUrl
|
|
5
|
+
/** Faucet URL for funding the service account on this env. Omit on envs with no public faucet (accounts funded by ops). */
|
|
6
|
+
faucetUrl?: string;
|
|
7
7
|
/** Personhood recognition flow URL on the sudo app. */
|
|
8
8
|
personhoodFaucetUrl: string;
|
|
9
9
|
/** Asset-Hub alias-binding flow URL on the sudo app. */
|
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-OAWXITVX.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-PV3N2XTC.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-VRZXAB7J.js";
|
|
50
|
+
import "./chunk-CBCUKOOJ.js";
|
|
51
51
|
import {
|
|
52
52
|
probeChunks
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-Z6PRIHI7.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-LJMYOXQV.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-QS7YU76C.js";
|
|
68
|
+
import "./chunk-YT2XCGZK.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-UXVBF7TD.js";
|
|
79
79
|
import {
|
|
80
80
|
DEFAULT_ENV_ID,
|
|
81
81
|
deepMergeEnvironments,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
loadEnvironments,
|
|
87
87
|
resolveEndpoints,
|
|
88
88
|
validateContractAddresses
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-5K3RI5C2.js";
|
|
90
90
|
import "./chunk-ZOC4GITL.js";
|
|
91
91
|
import "./chunk-HOTQDYHD.js";
|
|
92
92
|
export {
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-OAWXITVX.js";
|
|
4
4
|
import "../chunk-RI3ZLNPN.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-PV3N2XTC.js";
|
|
6
6
|
import "../chunk-IW3X2MJF.js";
|
|
7
7
|
import "../chunk-KOSF5FDO.js";
|
|
8
8
|
import "../chunk-J3NIXHZZ.js";
|
|
9
9
|
import "../chunk-S7EM5VMW.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-VRZXAB7J.js";
|
|
11
|
+
import "../chunk-CBCUKOOJ.js";
|
|
12
|
+
import "../chunk-Z6PRIHI7.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-LJMYOXQV.js";
|
|
15
|
+
import "../chunk-QS7YU76C.js";
|
|
16
|
+
import "../chunk-YT2XCGZK.js";
|
|
17
|
+
import "../chunk-UXVBF7TD.js";
|
|
18
|
+
import "../chunk-5K3RI5C2.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-PV3N2XTC.js";
|
|
10
10
|
import "./chunk-IW3X2MJF.js";
|
|
11
11
|
import "./chunk-KOSF5FDO.js";
|
|
12
12
|
import "./chunk-J3NIXHZZ.js";
|
|
13
13
|
import "./chunk-S7EM5VMW.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VRZXAB7J.js";
|
|
15
|
+
import "./chunk-CBCUKOOJ.js";
|
|
16
|
+
import "./chunk-Z6PRIHI7.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-LJMYOXQV.js";
|
|
19
|
+
import "./chunk-QS7YU76C.js";
|
|
20
|
+
import "./chunk-YT2XCGZK.js";
|
|
21
|
+
import "./chunk-UXVBF7TD.js";
|
|
22
|
+
import "./chunk-5K3RI5C2.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-LJMYOXQV.js";
|
|
30
|
+
import "../chunk-QS7YU76C.js";
|
|
31
|
+
import "../chunk-YT2XCGZK.js";
|
|
32
|
+
import "../chunk-UXVBF7TD.js";
|
|
33
33
|
import {
|
|
34
34
|
loadEnvironments
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-5K3RI5C2.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-LJMYOXQV.js";
|
|
4
|
+
import "../chunk-QS7YU76C.js";
|
|
5
|
+
import "../chunk-YT2XCGZK.js";
|
|
6
|
+
import "../chunk-UXVBF7TD.js";
|
|
7
7
|
import {
|
|
8
8
|
loadEnvironments
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-5K3RI5C2.js";
|
|
10
10
|
import "../chunk-ZOC4GITL.js";
|
|
11
11
|
|
|
12
12
|
// src/personhood/people-client.ts
|
package/dist/pool.d.ts
CHANGED
|
@@ -14,21 +14,17 @@ interface PoolAuthorization extends PoolAccount {
|
|
|
14
14
|
expiration: number;
|
|
15
15
|
}
|
|
16
16
|
declare function derivePoolAccounts(poolSize?: number, mnemonic?: string): PoolAccount[];
|
|
17
|
-
declare function isAuthorizationSufficient(
|
|
17
|
+
declare function isAuthorizationSufficient(auth: any, currentBlock: number): boolean;
|
|
18
18
|
interface SelectionResult {
|
|
19
19
|
account: PoolAuthorization;
|
|
20
20
|
eligibleCount: number;
|
|
21
21
|
}
|
|
22
22
|
declare function selectAccount(authorizations: PoolAuthorization[], random?: () => number): SelectionResult;
|
|
23
23
|
declare function fetchPoolAuthorizations(api: any, accounts: PoolAccount[]): Promise<PoolAuthorization[]>;
|
|
24
|
-
interface AuthorizationNeeds {
|
|
25
|
-
txs: bigint;
|
|
26
|
-
bytes: bigint;
|
|
27
|
-
}
|
|
28
24
|
declare function isTestnetSpecName(specName: string | undefined | null): boolean;
|
|
29
25
|
declare function detectTestnet(api: any): Promise<boolean>;
|
|
30
26
|
declare function _resetTestnetCacheForTests(): void;
|
|
31
|
-
declare function ensureAuthorized(api: any, address: string, label?: string
|
|
27
|
+
declare function ensureAuthorized(api: any, address: string, label?: string): Promise<void>;
|
|
32
28
|
declare function bootstrapPool(bulletinRpc: string, poolSize?: number, mnemonic?: string): Promise<void>;
|
|
33
29
|
|
|
34
|
-
export { type
|
|
30
|
+
export { type PoolAccount, type PoolAuthorization, type SelectionResult, _resetTestnetCacheForTests, bootstrapPool, derivePoolAccounts, detectTestnet, ensureAuthorized, fetchPoolAuthorizations, formatPasBalance, isAuthorizationSufficient, isTestnetSpecName, selectAccount };
|
package/dist/pool.js
CHANGED
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-CBCUKOOJ.js";
|
|
15
|
+
import "./chunk-YT2XCGZK.js";
|
|
16
|
+
import "./chunk-UXVBF7TD.js";
|
|
17
17
|
export {
|
|
18
18
|
assessVersion,
|
|
19
19
|
checkNodeVersion,
|