@parity/product-deploy 0.9.0-rc.2 → 0.9.0-rc.3
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/dist/auth-config.js +3 -3
- package/dist/bug-report.js +4 -4
- package/dist/{chunk-3TV4YMYV.js → chunk-2JX6AC2N.js} +19 -7
- package/dist/{chunk-QS7YU76C.js → chunk-4PVJ2JBZ.js} +10 -1
- package/dist/{chunk-BAGS5SUL.js → chunk-5ZQMLTJJ.js} +1 -1
- package/dist/{chunk-LZZHPY2J.js → chunk-DK4FKI22.js} +1 -1
- package/dist/{chunk-X7IEFBR2.js → chunk-FUDUD4WE.js} +2 -2
- package/dist/{chunk-7FKD6TUT.js → chunk-H4PT7QEN.js} +2 -2
- package/dist/{chunk-RBHABQDF.js → chunk-IMXM2QN3.js} +1 -1
- package/dist/{chunk-L5Z3TJD7.js → chunk-OCKCB72S.js} +6 -6
- package/dist/{chunk-J2VZ5RSS.js → chunk-QNZFPJSU.js} +2 -2
- package/dist/{chunk-S5RY247Q.js → chunk-XKUYN4JS.js} +1 -1
- package/dist/{chunk-MOP5QQT7.js → chunk-ZAL7WUCJ.js} +1 -1
- package/dist/chunk-probe.js +3 -3
- package/dist/commands/login.js +9 -9
- package/dist/commands/logout.js +3 -3
- package/dist/commands/whoami.js +3 -3
- package/dist/deploy.js +9 -9
- package/dist/dotns.js +4 -4
- package/dist/index.js +13 -13
- package/dist/manifest/publish.js +10 -10
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +9 -9
- package/dist/personhood/bind-paid-alias.js +3 -3
- package/dist/personhood/bind-personal-id.js +2 -2
- package/dist/personhood/bootstrap.js +13 -13
- package/dist/personhood/claim-pgas.js +2 -2
- package/dist/personhood/people-client.js +4 -4
- package/dist/personhood/proof-validity.js +2 -2
- package/dist/personhood/reprove.js +5 -5
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +1 -1
- package/dist/run-state.js +1 -1
- package/dist/storage-signer.js +9 -9
- package/dist/telemetry.js +2 -2
- package/dist/version-check.js +3 -3
- package/package.json +1 -1
- package/dist/{chunk-LHLCPDGL.js → chunk-7URNKK6J.js} +3 -3
- package/dist/{chunk-7Y7RDOGT.js → chunk-EATOPQFR.js} +5 -5
- package/dist/{chunk-SLE4P6MO.js → chunk-EJI3MX4G.js} +3 -3
package/dist/auth-config.js
CHANGED
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
getPeopleChainEndpoints,
|
|
10
10
|
hasPersistedSession,
|
|
11
11
|
resolveBulletinEndpoints
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZAL7WUCJ.js";
|
|
13
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
14
|
+
import "./chunk-XKUYN4JS.js";
|
|
15
15
|
import "./chunk-GL3U7K2B.js";
|
|
16
16
|
import "./chunk-ZOC4GITL.js";
|
|
17
17
|
export {
|
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-FUDUD4WE.js";
|
|
13
|
+
import "./chunk-DK4FKI22.js";
|
|
14
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
15
|
+
import "./chunk-XKUYN4JS.js";
|
|
16
16
|
export {
|
|
17
17
|
buildCliFlagsSummary,
|
|
18
18
|
buildLabels,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
STALE_SESSION_MESSAGE,
|
|
32
32
|
getPeopleChainEndpoints,
|
|
33
33
|
hasPersistedSession
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZAL7WUCJ.js";
|
|
35
35
|
import {
|
|
36
36
|
setDeployContext
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FUDUD4WE.js";
|
|
38
38
|
import {
|
|
39
39
|
probeChunks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-IMXM2QN3.js";
|
|
41
41
|
import {
|
|
42
42
|
packSection
|
|
43
43
|
} from "./chunk-C2TS5MER.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
parseDomainName,
|
|
51
51
|
popStatusName,
|
|
52
52
|
verifyNonceAdvanced
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-H4PT7QEN.js";
|
|
54
54
|
import {
|
|
55
55
|
derivePoolAccounts,
|
|
56
56
|
detectTestnet,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
fetchPoolAuthorizations,
|
|
59
59
|
isAuthorizationSufficient,
|
|
60
60
|
selectAccount
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4PVJ2JBZ.js";
|
|
62
62
|
import {
|
|
63
63
|
VERSION,
|
|
64
64
|
captureWarning,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
truncateAddress,
|
|
73
73
|
withDeploySpan,
|
|
74
74
|
withSpan
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-5ZQMLTJJ.js";
|
|
76
76
|
import {
|
|
77
77
|
DEFAULT_ENV_ID,
|
|
78
78
|
getPopSelfServeConfig,
|
|
@@ -480,7 +480,16 @@ async function getProvider() {
|
|
|
480
480
|
const poolMnemonic = process.env.BULLETIN_POOL_MNEMONIC || void 0;
|
|
481
481
|
const poolAccounts = derivePoolAccounts(POOL_SIZE, poolMnemonic);
|
|
482
482
|
const authorizations = await fetchPoolAuthorizations(unsafeApi, poolAccounts);
|
|
483
|
-
const
|
|
483
|
+
const poolIndexEnv = process.env.BULLETIN_POOL_ACCOUNT_INDEX;
|
|
484
|
+
let pinnedPoolIndex;
|
|
485
|
+
if (poolIndexEnv != null && poolIndexEnv !== "") {
|
|
486
|
+
const n = Number(poolIndexEnv);
|
|
487
|
+
if (!Number.isInteger(n) || n < 0) {
|
|
488
|
+
throw new NonRetryableError(`BULLETIN_POOL_ACCOUNT_INDEX must be a non-negative integer, got "${poolIndexEnv}"`);
|
|
489
|
+
}
|
|
490
|
+
pinnedPoolIndex = n;
|
|
491
|
+
}
|
|
492
|
+
const selectionResult = selectAccount(authorizations, Math.random, pinnedPoolIndex);
|
|
484
493
|
const selectedAccount = selectionResult.account;
|
|
485
494
|
const eligibleCount = selectionResult.eligibleCount;
|
|
486
495
|
await ensureAuthorized(unsafeApi, selectedAccount.address, `pool account ${selectedAccount.index}`);
|
|
@@ -935,6 +944,7 @@ async function storeChunkedContent(chunks, { client: existingClient, unsafeApi:
|
|
|
935
944
|
stored[batchIndices[j]] = r.value;
|
|
936
945
|
assignedNonces.delete(batchIndices[j]);
|
|
937
946
|
if (r.value.viaFallback) nonceAdvanceIndices.add(batchIndices[j]);
|
|
947
|
+
recoveryHistory.length = 0;
|
|
938
948
|
}
|
|
939
949
|
});
|
|
940
950
|
const failures = results.map((r, j) => r.status === "rejected" ? { index: batchIndices[j], chunkData: batchChunks[j], error: r.reason } : null).filter(Boolean);
|
|
@@ -994,6 +1004,7 @@ async function storeChunkedContent(chunks, { client: existingClient, unsafeApi:
|
|
|
994
1004
|
stored[fail.index] = { cid: createCID(fail.chunkData, CID_CONFIG.codec, 18), len: fail.chunkData.length, viaFallback: true };
|
|
995
1005
|
nonceAdvanceIndices.add(fail.index);
|
|
996
1006
|
assignedNonces.delete(fail.index);
|
|
1007
|
+
recoveryHistory.length = 0;
|
|
997
1008
|
retried = true;
|
|
998
1009
|
break;
|
|
999
1010
|
}
|
|
@@ -1001,6 +1012,7 @@ async function storeChunkedContent(chunks, { client: existingClient, unsafeApi:
|
|
|
1001
1012
|
const result2 = await storeChunk(unsafeApi, signer, fail.chunkData, retryNonce, ss58, { fetchNonce: fetchNonceOverride });
|
|
1002
1013
|
stored[fail.index] = result2;
|
|
1003
1014
|
assignedNonces.delete(fail.index);
|
|
1015
|
+
recoveryHistory.length = 0;
|
|
1004
1016
|
retried = true;
|
|
1005
1017
|
break;
|
|
1006
1018
|
} catch (e) {
|
|
@@ -34,7 +34,16 @@ function isAuthorizationSufficient(auth, currentBlock) {
|
|
|
34
34
|
if (Number(auth.expiration ?? 0) <= currentBlock) return false;
|
|
35
35
|
return true;
|
|
36
36
|
}
|
|
37
|
-
function selectAccount(authorizations, random = Math.random) {
|
|
37
|
+
function selectAccount(authorizations, random = Math.random, pinnedIndex) {
|
|
38
|
+
if (pinnedIndex != null) {
|
|
39
|
+
const pinned = authorizations.find((a) => a.index === pinnedIndex);
|
|
40
|
+
if (!pinned) {
|
|
41
|
+
throw new Error(
|
|
42
|
+
`pool account index ${pinnedIndex} not available among authorized accounts [${authorizations.map((a) => a.index).join(", ")}]`
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
return { account: pinned, eligibleCount: authorizations.length };
|
|
46
|
+
}
|
|
38
47
|
return { account: authorizations[Math.floor(random() * authorizations.length)], eligibleCount: authorizations.length };
|
|
39
48
|
}
|
|
40
49
|
async function fetchPoolAuthorizations(api, accounts) {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
classifyErrorArea,
|
|
3
3
|
isInteractive,
|
|
4
4
|
promptYesNo
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DK4FKI22.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
getCurrentSentryTraceId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5ZQMLTJJ.js";
|
|
10
10
|
|
|
11
11
|
// src/bug-report.ts
|
|
12
12
|
import { execSync, execFileSync } from "child_process";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTestnetSpecName
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PVJ2JBZ.js";
|
|
4
4
|
import {
|
|
5
5
|
captureWarning,
|
|
6
6
|
markCodePath,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
setDeploySentryTag,
|
|
9
9
|
truncateAddress,
|
|
10
10
|
withSpan
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5ZQMLTJJ.js";
|
|
12
12
|
import {
|
|
13
13
|
validateContractAddresses
|
|
14
14
|
} from "./chunk-GL3U7K2B.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildAliasProofMessage,
|
|
3
3
|
getProofValidAtSec
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EJI3MX4G.js";
|
|
5
|
+
import {
|
|
6
|
+
bytesToHex,
|
|
7
|
+
encodeMembers,
|
|
8
|
+
hexToBytes
|
|
9
|
+
} from "./chunk-ZYVGHDMU.js";
|
|
5
10
|
import {
|
|
6
11
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
7
12
|
PGAS_ASSET_ID,
|
|
8
13
|
PGAS_ASSET_LOCATION,
|
|
9
14
|
PROOF_BYTES
|
|
10
15
|
} from "./chunk-SI2ZUOYD.js";
|
|
11
|
-
import {
|
|
12
|
-
bytesToHex,
|
|
13
|
-
encodeMembers,
|
|
14
|
-
hexToBytes
|
|
15
|
-
} from "./chunk-ZYVGHDMU.js";
|
|
16
16
|
|
|
17
17
|
// src/personhood/bind-paid-alias.ts
|
|
18
18
|
import { getSs58AddressInfo, Binary } from "polkadot-api";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
resolveDotnsConnectOptions,
|
|
7
7
|
storeDirectory,
|
|
8
8
|
storeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2JX6AC2N.js";
|
|
10
10
|
import {
|
|
11
11
|
DotNS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-H4PT7QEN.js";
|
|
13
13
|
import {
|
|
14
14
|
getPopSelfServeConfig,
|
|
15
15
|
loadEnvironments,
|
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-IMXM2QN3.js";
|
|
9
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
10
|
+
import "./chunk-XKUYN4JS.js";
|
|
11
11
|
export {
|
|
12
12
|
ChainProbeCrossValidationError,
|
|
13
13
|
ChainProbeMetadataError,
|
package/dist/commands/login.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "../chunk-J7CYVTAW.js";
|
|
9
9
|
import {
|
|
10
10
|
waitForBulletinAuthorization
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-2JX6AC2N.js";
|
|
12
12
|
import {
|
|
13
13
|
checkSSSAllowance
|
|
14
14
|
} from "../chunk-G56VYTUD.js";
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
getAuthClient,
|
|
23
23
|
getPeopleChainEndpoints,
|
|
24
24
|
resolveBulletinEndpoints
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-ZAL7WUCJ.js";
|
|
26
|
+
import "../chunk-FUDUD4WE.js";
|
|
27
|
+
import "../chunk-DK4FKI22.js";
|
|
28
|
+
import "../chunk-IMXM2QN3.js";
|
|
29
29
|
import "../chunk-C2TS5MER.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-H4PT7QEN.js";
|
|
31
|
+
import "../chunk-4PVJ2JBZ.js";
|
|
32
|
+
import "../chunk-5ZQMLTJJ.js";
|
|
33
|
+
import "../chunk-XKUYN4JS.js";
|
|
34
34
|
import {
|
|
35
35
|
loadEnvironments
|
|
36
36
|
} from "../chunk-GL3U7K2B.js";
|
package/dist/commands/logout.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
} from "../chunk-RIRDBSBG.js";
|
|
6
6
|
import {
|
|
7
7
|
getAuthClient
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-ZAL7WUCJ.js";
|
|
9
|
+
import "../chunk-5ZQMLTJJ.js";
|
|
10
|
+
import "../chunk-XKUYN4JS.js";
|
|
11
11
|
import "../chunk-GL3U7K2B.js";
|
|
12
12
|
import "../chunk-ZOC4GITL.js";
|
|
13
13
|
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
STALE_SESSION_MESSAGE,
|
|
3
3
|
getAuthClient,
|
|
4
4
|
hasPersistedSession
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ZAL7WUCJ.js";
|
|
6
|
+
import "../chunk-5ZQMLTJJ.js";
|
|
7
|
+
import "../chunk-XKUYN4JS.js";
|
|
8
8
|
import "../chunk-GL3U7K2B.js";
|
|
9
9
|
import "../chunk-ZOC4GITL.js";
|
|
10
10
|
|
package/dist/deploy.js
CHANGED
|
@@ -45,22 +45,22 @@ import {
|
|
|
45
45
|
storeDirectoryV2,
|
|
46
46
|
storeFile,
|
|
47
47
|
unpublish
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2JX6AC2N.js";
|
|
49
49
|
import "./chunk-G56VYTUD.js";
|
|
50
50
|
import "./chunk-HOTQDYHD.js";
|
|
51
51
|
import "./chunk-IW3X2MJF.js";
|
|
52
52
|
import "./chunk-KOSF5FDO.js";
|
|
53
53
|
import "./chunk-J3NIXHZZ.js";
|
|
54
54
|
import "./chunk-S7EM5VMW.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-ZAL7WUCJ.js";
|
|
56
|
+
import "./chunk-FUDUD4WE.js";
|
|
57
|
+
import "./chunk-DK4FKI22.js";
|
|
58
|
+
import "./chunk-IMXM2QN3.js";
|
|
59
59
|
import "./chunk-C2TS5MER.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-H4PT7QEN.js";
|
|
61
|
+
import "./chunk-4PVJ2JBZ.js";
|
|
62
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
63
|
+
import "./chunk-XKUYN4JS.js";
|
|
64
64
|
import "./chunk-GL3U7K2B.js";
|
|
65
65
|
import {
|
|
66
66
|
EXIT_CODE_NO_RETRY,
|
package/dist/dotns.js
CHANGED
|
@@ -50,10 +50,10 @@ import {
|
|
|
50
50
|
stripTrailingDigits,
|
|
51
51
|
validateDomainLabel,
|
|
52
52
|
verifyNonceAdvanced
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-H4PT7QEN.js";
|
|
54
|
+
import "./chunk-4PVJ2JBZ.js";
|
|
55
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
56
|
+
import "./chunk-XKUYN4JS.js";
|
|
57
57
|
import "./chunk-GL3U7K2B.js";
|
|
58
58
|
import "./chunk-ZOC4GITL.js";
|
|
59
59
|
export {
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
defineConfig
|
|
3
|
-
} from "./chunk-GZD2UFLR.js";
|
|
4
1
|
import {
|
|
5
2
|
loadProductConfig,
|
|
6
3
|
tryLoadProductConfig
|
|
7
4
|
} from "./chunk-MMAZFJDG.js";
|
|
8
5
|
import {
|
|
9
6
|
publishManifest
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QNZFPJSU.js";
|
|
11
8
|
import {
|
|
12
9
|
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
13
10
|
PLACEHOLDER_CID,
|
|
@@ -20,11 +17,14 @@ import {
|
|
|
20
17
|
validateProductConfig,
|
|
21
18
|
validateRootManifest
|
|
22
19
|
} from "./chunk-LZJMVPYW.js";
|
|
20
|
+
import {
|
|
21
|
+
defineConfig
|
|
22
|
+
} from "./chunk-GZD2UFLR.js";
|
|
23
23
|
import {
|
|
24
24
|
deploy,
|
|
25
25
|
merkleizeJS,
|
|
26
26
|
merkleizeWithStableOrder
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2JX6AC2N.js";
|
|
28
28
|
import "./chunk-G56VYTUD.js";
|
|
29
29
|
import "./chunk-HOTQDYHD.js";
|
|
30
30
|
import {
|
|
@@ -48,27 +48,27 @@ import {
|
|
|
48
48
|
isVolatilePath,
|
|
49
49
|
parseManifest
|
|
50
50
|
} from "./chunk-S7EM5VMW.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-ZAL7WUCJ.js";
|
|
52
|
+
import "./chunk-FUDUD4WE.js";
|
|
53
|
+
import "./chunk-DK4FKI22.js";
|
|
54
54
|
import {
|
|
55
55
|
probeChunks
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-IMXM2QN3.js";
|
|
57
57
|
import "./chunk-C2TS5MER.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_MNEMONIC,
|
|
60
60
|
DotNS,
|
|
61
61
|
parseDomainName,
|
|
62
62
|
sanitizeDomainLabel
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-H4PT7QEN.js";
|
|
64
64
|
import {
|
|
65
65
|
bootstrapPool,
|
|
66
66
|
derivePoolAccounts,
|
|
67
67
|
ensureAuthorized,
|
|
68
68
|
fetchPoolAuthorizations,
|
|
69
69
|
selectAccount
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-4PVJ2JBZ.js";
|
|
71
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
72
72
|
import {
|
|
73
73
|
VERSION,
|
|
74
74
|
loadRunState,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
shouldSkipStaleWarning,
|
|
79
79
|
stateFilePath,
|
|
80
80
|
writeRunState
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-XKUYN4JS.js";
|
|
82
82
|
import {
|
|
83
83
|
DEFAULT_ENV_ID,
|
|
84
84
|
deepMergeEnvironments,
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-QNZFPJSU.js";
|
|
4
4
|
import "../chunk-RI3ZLNPN.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-2JX6AC2N.js";
|
|
6
6
|
import "../chunk-G56VYTUD.js";
|
|
7
7
|
import "../chunk-HOTQDYHD.js";
|
|
8
8
|
import "../chunk-IW3X2MJF.js";
|
|
9
9
|
import "../chunk-KOSF5FDO.js";
|
|
10
10
|
import "../chunk-J3NIXHZZ.js";
|
|
11
11
|
import "../chunk-S7EM5VMW.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-ZAL7WUCJ.js";
|
|
13
|
+
import "../chunk-FUDUD4WE.js";
|
|
14
|
+
import "../chunk-DK4FKI22.js";
|
|
15
|
+
import "../chunk-IMXM2QN3.js";
|
|
16
16
|
import "../chunk-C2TS5MER.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-H4PT7QEN.js";
|
|
18
|
+
import "../chunk-4PVJ2JBZ.js";
|
|
19
|
+
import "../chunk-5ZQMLTJJ.js";
|
|
20
|
+
import "../chunk-XKUYN4JS.js";
|
|
21
21
|
import "../chunk-GL3U7K2B.js";
|
|
22
22
|
import "../chunk-ZOC4GITL.js";
|
|
23
23
|
export {
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,22 +6,22 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2JX6AC2N.js";
|
|
10
10
|
import "./chunk-G56VYTUD.js";
|
|
11
11
|
import "./chunk-HOTQDYHD.js";
|
|
12
12
|
import "./chunk-IW3X2MJF.js";
|
|
13
13
|
import "./chunk-KOSF5FDO.js";
|
|
14
14
|
import "./chunk-J3NIXHZZ.js";
|
|
15
15
|
import "./chunk-S7EM5VMW.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ZAL7WUCJ.js";
|
|
17
|
+
import "./chunk-FUDUD4WE.js";
|
|
18
|
+
import "./chunk-DK4FKI22.js";
|
|
19
|
+
import "./chunk-IMXM2QN3.js";
|
|
20
20
|
import "./chunk-C2TS5MER.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-H4PT7QEN.js";
|
|
22
|
+
import "./chunk-4PVJ2JBZ.js";
|
|
23
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
24
|
+
import "./chunk-XKUYN4JS.js";
|
|
25
25
|
import "./chunk-GL3U7K2B.js";
|
|
26
26
|
import "./chunk-ZOC4GITL.js";
|
|
27
27
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PaidAliasBindingError,
|
|
3
3
|
bindPaidAliasToAccount
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-SI2ZUOYD.js";
|
|
4
|
+
} from "../chunk-OCKCB72S.js";
|
|
5
|
+
import "../chunk-EJI3MX4G.js";
|
|
7
6
|
import "../chunk-ZYVGHDMU.js";
|
|
7
|
+
import "../chunk-SI2ZUOYD.js";
|
|
8
8
|
export {
|
|
9
9
|
PaidAliasBindingError,
|
|
10
10
|
bindPaidAliasToAccount
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
PersonalIdBindingError,
|
|
3
3
|
bindPersonalIdToAccount,
|
|
4
4
|
buildAsPersonExtensionValue
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-SI2ZUOYD.js";
|
|
5
|
+
} from "../chunk-7URNKK6J.js";
|
|
7
6
|
import "../chunk-ZYVGHDMU.js";
|
|
7
|
+
import "../chunk-SI2ZUOYD.js";
|
|
8
8
|
export {
|
|
9
9
|
PersonalIdBindingError,
|
|
10
10
|
bindPersonalIdToAccount,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
claimPgas
|
|
3
|
+
} from "../chunk-EATOPQFR.js";
|
|
1
4
|
import {
|
|
2
5
|
deriveMemberEntropy,
|
|
3
6
|
deriveMemberKey
|
|
@@ -5,31 +8,28 @@ import {
|
|
|
5
8
|
import "../chunk-UPWEOGLQ.js";
|
|
6
9
|
import {
|
|
7
10
|
bindPaidAliasToAccount
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-OCKCB72S.js";
|
|
12
|
+
import "../chunk-EJI3MX4G.js";
|
|
10
13
|
import {
|
|
11
14
|
bindPersonalIdToAccount
|
|
12
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-7URNKK6J.js";
|
|
16
|
+
import {
|
|
17
|
+
bytesToHex
|
|
18
|
+
} from "../chunk-ZYVGHDMU.js";
|
|
13
19
|
import {
|
|
14
20
|
runChainPrereqProbes
|
|
15
21
|
} from "../chunk-XAB7WM3S.js";
|
|
16
|
-
import {
|
|
17
|
-
claimPgas
|
|
18
|
-
} from "../chunk-7Y7RDOGT.js";
|
|
19
22
|
import {
|
|
20
23
|
DOTNS_CONTEXT_BYTES,
|
|
21
24
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
22
25
|
PGAS_ASSET_ID
|
|
23
26
|
} from "../chunk-SI2ZUOYD.js";
|
|
24
|
-
import {
|
|
25
|
-
bytesToHex
|
|
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-H4PT7QEN.js";
|
|
30
|
+
import "../chunk-4PVJ2JBZ.js";
|
|
31
|
+
import "../chunk-5ZQMLTJJ.js";
|
|
32
|
+
import "../chunk-XKUYN4JS.js";
|
|
33
33
|
import {
|
|
34
34
|
loadEnvironments
|
|
35
35
|
} from "../chunk-GL3U7K2B.js";
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
buildAsPgasClaimExtensionValue,
|
|
4
4
|
buildImplicationExclude,
|
|
5
5
|
claimPgas
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-SI2ZUOYD.js";
|
|
6
|
+
} from "../chunk-EATOPQFR.js";
|
|
8
7
|
import "../chunk-ZYVGHDMU.js";
|
|
8
|
+
import "../chunk-SI2ZUOYD.js";
|
|
9
9
|
export {
|
|
10
10
|
PgasClaimError,
|
|
11
11
|
buildAsPgasClaimExtensionValue,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-H4PT7QEN.js";
|
|
4
|
+
import "../chunk-4PVJ2JBZ.js";
|
|
5
|
+
import "../chunk-5ZQMLTJJ.js";
|
|
6
|
+
import "../chunk-XKUYN4JS.js";
|
|
7
7
|
import {
|
|
8
8
|
loadEnvironments
|
|
9
9
|
} from "../chunk-GL3U7K2B.js";
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
buildAliasProofMessage,
|
|
3
3
|
getProofValidAtSec,
|
|
4
4
|
u64LeBytes
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-SI2ZUOYD.js";
|
|
5
|
+
} from "../chunk-EJI3MX4G.js";
|
|
7
6
|
import "../chunk-ZYVGHDMU.js";
|
|
7
|
+
import "../chunk-SI2ZUOYD.js";
|
|
8
8
|
export {
|
|
9
9
|
buildAliasProofMessage,
|
|
10
10
|
getProofValidAtSec,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildAliasProofMessage,
|
|
3
3
|
getProofValidAtSec
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import {
|
|
6
|
-
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
7
|
-
PROOF_BYTES
|
|
8
|
-
} from "../chunk-SI2ZUOYD.js";
|
|
4
|
+
} from "../chunk-EJI3MX4G.js";
|
|
9
5
|
import {
|
|
10
6
|
bytesToHex,
|
|
11
7
|
encodeMembers,
|
|
12
8
|
hexToBytes
|
|
13
9
|
} from "../chunk-ZYVGHDMU.js";
|
|
10
|
+
import {
|
|
11
|
+
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
12
|
+
PROOF_BYTES
|
|
13
|
+
} from "../chunk-SI2ZUOYD.js";
|
|
14
14
|
|
|
15
15
|
// src/personhood/reprove.ts
|
|
16
16
|
import { getSs58AddressInfo, Binary } from "polkadot-api";
|
package/dist/pool.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ interface SelectionResult {
|
|
|
19
19
|
account: PoolAuthorization;
|
|
20
20
|
eligibleCount: number;
|
|
21
21
|
}
|
|
22
|
-
declare function selectAccount(authorizations: PoolAuthorization[], random?: () => number): SelectionResult;
|
|
22
|
+
declare function selectAccount(authorizations: PoolAuthorization[], random?: () => number, pinnedIndex?: number): SelectionResult;
|
|
23
23
|
declare function fetchPoolAuthorizations(api: any, accounts: PoolAccount[]): Promise<PoolAuthorization[]>;
|
|
24
24
|
declare function isTestnetSpecName(specName: string | undefined | null): boolean;
|
|
25
25
|
declare function detectTestnet(api: any): Promise<boolean>;
|
package/dist/pool.js
CHANGED
package/dist/run-state.js
CHANGED
package/dist/storage-signer.js
CHANGED
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
readBulletinSlotSigner,
|
|
8
8
|
waitForBulletinAuthorization,
|
|
9
9
|
writeBulletinSlotKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2JX6AC2N.js";
|
|
11
11
|
import "./chunk-G56VYTUD.js";
|
|
12
12
|
import "./chunk-HOTQDYHD.js";
|
|
13
13
|
import "./chunk-IW3X2MJF.js";
|
|
14
14
|
import "./chunk-KOSF5FDO.js";
|
|
15
15
|
import "./chunk-J3NIXHZZ.js";
|
|
16
16
|
import "./chunk-S7EM5VMW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZAL7WUCJ.js";
|
|
18
|
+
import "./chunk-FUDUD4WE.js";
|
|
19
|
+
import "./chunk-DK4FKI22.js";
|
|
20
|
+
import "./chunk-IMXM2QN3.js";
|
|
21
21
|
import "./chunk-C2TS5MER.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-H4PT7QEN.js";
|
|
23
|
+
import "./chunk-4PVJ2JBZ.js";
|
|
24
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
25
|
+
import "./chunk-XKUYN4JS.js";
|
|
26
26
|
import "./chunk-GL3U7K2B.js";
|
|
27
27
|
import "./chunk-ZOC4GITL.js";
|
|
28
28
|
export {
|
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-DK4FKI22.js";
|
|
15
|
+
import "./chunk-5ZQMLTJJ.js";
|
|
16
|
+
import "./chunk-XKUYN4JS.js";
|
|
17
17
|
export {
|
|
18
18
|
assessVersion,
|
|
19
19
|
checkNodeVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BANDERSNATCH_SIGNATURE_BYTES
|
|
3
|
-
} from "./chunk-SI2ZUOYD.js";
|
|
4
1
|
import {
|
|
5
2
|
buildImplicationMessage,
|
|
6
3
|
buildV5GeneralExtrinsic,
|
|
@@ -9,6 +6,9 @@ import {
|
|
|
9
6
|
readExtensionOrder,
|
|
10
7
|
toHex
|
|
11
8
|
} from "./chunk-ZYVGHDMU.js";
|
|
9
|
+
import {
|
|
10
|
+
BANDERSNATCH_SIGNATURE_BYTES
|
|
11
|
+
} from "./chunk-SI2ZUOYD.js";
|
|
12
12
|
|
|
13
13
|
// src/personhood/bind-personal-id.ts
|
|
14
14
|
import { Enum } from "polkadot-api";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
3
|
-
PGAS_ASSET_ID,
|
|
4
|
-
PROOF_BYTES
|
|
5
|
-
} from "./chunk-SI2ZUOYD.js";
|
|
6
1
|
import {
|
|
7
2
|
buildImplicationMessage,
|
|
8
3
|
buildV5GeneralExtrinsic,
|
|
@@ -12,6 +7,11 @@ import {
|
|
|
12
7
|
readExtensionOrder,
|
|
13
8
|
toHex
|
|
14
9
|
} from "./chunk-ZYVGHDMU.js";
|
|
10
|
+
import {
|
|
11
|
+
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
12
|
+
PGAS_ASSET_ID,
|
|
13
|
+
PROOF_BYTES
|
|
14
|
+
} from "./chunk-SI2ZUOYD.js";
|
|
15
15
|
|
|
16
16
|
// src/personhood/claim-pgas.ts
|
|
17
17
|
import * as verifiable from "verifiablejs/nodejs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ALIAS_PROOF_TAG
|
|
3
|
-
} from "./chunk-SI2ZUOYD.js";
|
|
4
1
|
import {
|
|
5
2
|
blake2_256,
|
|
6
3
|
concatBytes
|
|
7
4
|
} from "./chunk-ZYVGHDMU.js";
|
|
5
|
+
import {
|
|
6
|
+
ALIAS_PROOF_TAG
|
|
7
|
+
} from "./chunk-SI2ZUOYD.js";
|
|
8
8
|
|
|
9
9
|
// src/personhood/proof-validity.ts
|
|
10
10
|
var u64LeBytes = (v) => {
|