@dedot/chaintypes 0.29.0 → 0.31.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/moonbeam/json-rpc.d.ts +1 -1
- package/package.json +2 -2
- package/westend/events.d.ts +4 -4
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +3 -3
- package/westend/runtime.d.ts +13 -11
- package/westend/tx.d.ts +5 -5
- package/westend/types.d.ts +62 -37
package/moonbeam/json-rpc.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
85
85
|
| 'eth_syncing'
|
|
86
86
|
| 'eth_uninstallFilter'
|
|
87
87
|
| 'eth_unsubscribe'
|
|
88
|
-
| '
|
|
88
|
+
| 'moon_getEthSyncBlockRange'
|
|
89
89
|
| 'moon_isBlockFinalized'
|
|
90
90
|
| 'moon_isTxFinalized'
|
|
91
91
|
| 'net_listening'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "1d615507a4bebe0d533f5c74be6c20df1c422559",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts"
|
|
25
25
|
}
|
package/westend/events.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import type {
|
|
|
35
35
|
SpRuntimeDispatchErrorWithPostInfo,
|
|
36
36
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
37
37
|
XcmVersionedLocation,
|
|
38
|
-
|
|
38
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
39
39
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
40
40
|
PolkadotPrimitivesV8CoreIndex,
|
|
41
41
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -1919,7 +1919,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1919
1919
|
'ParaInclusion',
|
|
1920
1920
|
'CandidateBacked',
|
|
1921
1921
|
[
|
|
1922
|
-
|
|
1922
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1923
1923
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1924
1924
|
PolkadotPrimitivesV8CoreIndex,
|
|
1925
1925
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -1934,7 +1934,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1934
1934
|
'ParaInclusion',
|
|
1935
1935
|
'CandidateIncluded',
|
|
1936
1936
|
[
|
|
1937
|
-
|
|
1937
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1938
1938
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1939
1939
|
PolkadotPrimitivesV8CoreIndex,
|
|
1940
1940
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -1949,7 +1949,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1949
1949
|
'ParaInclusion',
|
|
1950
1950
|
'CandidateTimedOut',
|
|
1951
1951
|
[
|
|
1952
|
-
|
|
1952
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
1953
1953
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
1954
1954
|
PolkadotPrimitivesV8CoreIndex,
|
|
1955
1955
|
]
|
package/westend/index.d.ts
CHANGED
package/westend/query.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ import type {
|
|
|
95
95
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
96
96
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
97
97
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
98
|
-
|
|
98
|
+
PolkadotPrimitivesVstagingScrapedOnChainVotes,
|
|
99
99
|
PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
|
|
100
100
|
PolkadotPrimitivesV8CoreIndex,
|
|
101
101
|
PolkadotRuntimeParachainsSchedulerPalletParasEntry,
|
|
@@ -2410,9 +2410,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2410
2410
|
/**
|
|
2411
2411
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2412
2412
|
*
|
|
2413
|
-
* @param {Callback<
|
|
2413
|
+
* @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
|
|
2414
2414
|
**/
|
|
2415
|
-
onChainVotes: GenericStorageQuery<Rv, () =>
|
|
2415
|
+
onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
|
|
2416
2416
|
|
|
2417
2417
|
/**
|
|
2418
2418
|
* Generic pallet storage query
|
package/westend/runtime.d.ts
CHANGED
|
@@ -27,18 +27,18 @@ import type {
|
|
|
27
27
|
PolkadotPrimitivesV8ValidatorAppPublic,
|
|
28
28
|
PolkadotPrimitivesV8ValidatorIndex,
|
|
29
29
|
PolkadotPrimitivesV8GroupRotationInfo,
|
|
30
|
-
|
|
30
|
+
PolkadotPrimitivesVstagingCoreState,
|
|
31
31
|
PolkadotPrimitivesV8PersistedValidationData,
|
|
32
32
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
33
33
|
PolkadotPrimitivesV8OccupiedCoreAssumption,
|
|
34
34
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
35
35
|
PolkadotPrimitivesV8CandidateCommitments,
|
|
36
36
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
PolkadotPrimitivesVstagingCommittedCandidateReceiptV2,
|
|
38
|
+
PolkadotPrimitivesVstagingCandidateEvent,
|
|
39
39
|
PolkadotCorePrimitivesInboundDownwardMessage,
|
|
40
40
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
41
|
-
|
|
41
|
+
PolkadotPrimitivesVstagingScrapedOnChainVotes,
|
|
42
42
|
PolkadotPrimitivesV8SessionInfo,
|
|
43
43
|
PolkadotPrimitivesV8PvfCheckStatement,
|
|
44
44
|
PolkadotPrimitivesV8ValidatorAppSignature,
|
|
@@ -48,7 +48,7 @@ import type {
|
|
|
48
48
|
PolkadotPrimitivesV8SlashingPendingSlashes,
|
|
49
49
|
PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof,
|
|
50
50
|
PolkadotPrimitivesV8SlashingDisputeProof,
|
|
51
|
-
|
|
51
|
+
PolkadotPrimitivesVstagingAsyncBackingBackingState,
|
|
52
52
|
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
|
|
53
53
|
PolkadotPrimitivesV8ApprovalVotingParams,
|
|
54
54
|
PolkadotPrimitivesV8CoreIndex,
|
|
@@ -294,7 +294,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
294
294
|
*
|
|
295
295
|
* @callname: ParachainHost_availability_cores
|
|
296
296
|
**/
|
|
297
|
-
availabilityCores: GenericRuntimeApiMethod<Rv, () => Promise<Array<
|
|
297
|
+
availabilityCores: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesVstagingCoreState>>>;
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* Yields the persisted validation data for the given `ParaId` along with an assumption that
|
|
@@ -388,7 +388,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
388
388
|
Rv,
|
|
389
389
|
(
|
|
390
390
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
391
|
-
) => Promise<
|
|
391
|
+
) => Promise<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 | undefined>
|
|
392
392
|
>;
|
|
393
393
|
|
|
394
394
|
/**
|
|
@@ -396,7 +396,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
396
396
|
*
|
|
397
397
|
* @callname: ParachainHost_candidate_events
|
|
398
398
|
**/
|
|
399
|
-
candidateEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<
|
|
399
|
+
candidateEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<PolkadotPrimitivesVstagingCandidateEvent>>>;
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* Get all the pending inbound messages in the downward message queue for a para.
|
|
@@ -443,7 +443,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
443
443
|
*
|
|
444
444
|
* @callname: ParachainHost_on_chain_votes
|
|
445
445
|
**/
|
|
446
|
-
onChainVotes: GenericRuntimeApiMethod<Rv, () => Promise<
|
|
446
|
+
onChainVotes: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>>;
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
449
|
* Get the session info for the given session, if stored.
|
|
@@ -579,7 +579,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
579
579
|
Rv,
|
|
580
580
|
(
|
|
581
581
|
undefined: PolkadotParachainPrimitivesPrimitivesId,
|
|
582
|
-
) => Promise<
|
|
582
|
+
) => Promise<PolkadotPrimitivesVstagingAsyncBackingBackingState | undefined>
|
|
583
583
|
>;
|
|
584
584
|
|
|
585
585
|
/**
|
|
@@ -629,7 +629,9 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
629
629
|
**/
|
|
630
630
|
candidatesPendingAvailability: GenericRuntimeApiMethod<
|
|
631
631
|
Rv,
|
|
632
|
-
(
|
|
632
|
+
(
|
|
633
|
+
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
634
|
+
) => Promise<Array<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>
|
|
633
635
|
>;
|
|
634
636
|
|
|
635
637
|
/**
|
package/westend/tx.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ import type {
|
|
|
70
70
|
PolkadotPrimitivesV8ExecutorParams,
|
|
71
71
|
PolkadotPrimitivesV8ApprovalVotingParams,
|
|
72
72
|
PolkadotPrimitivesV8SchedulerParams,
|
|
73
|
-
|
|
73
|
+
PolkadotPrimitivesVstagingInherentData,
|
|
74
74
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
75
75
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
76
76
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
@@ -996,7 +996,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
996
996
|
/**
|
|
997
997
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
998
998
|
* period ends. If this leaves an amount actively bonded less than
|
|
999
|
-
*
|
|
999
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
1000
1000
|
*
|
|
1001
1001
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
1002
1002
|
*
|
|
@@ -7451,17 +7451,17 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7451
7451
|
/**
|
|
7452
7452
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
7453
7453
|
*
|
|
7454
|
-
* @param {
|
|
7454
|
+
* @param {PolkadotPrimitivesVstagingInherentData} data
|
|
7455
7455
|
**/
|
|
7456
7456
|
enter: GenericTxCall<
|
|
7457
7457
|
Rv,
|
|
7458
|
-
(data:
|
|
7458
|
+
(data: PolkadotPrimitivesVstagingInherentData) => ChainSubmittableExtrinsic<
|
|
7459
7459
|
Rv,
|
|
7460
7460
|
{
|
|
7461
7461
|
pallet: 'ParaInherent';
|
|
7462
7462
|
palletCall: {
|
|
7463
7463
|
name: 'Enter';
|
|
7464
|
-
params: { data:
|
|
7464
|
+
params: { data: PolkadotPrimitivesVstagingInherentData };
|
|
7465
7465
|
};
|
|
7466
7466
|
}
|
|
7467
7467
|
>
|
package/westend/types.d.ts
CHANGED
|
@@ -136,6 +136,22 @@ export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mand
|
|
|
136
136
|
|
|
137
137
|
export type FrameSupportDispatchPays = 'Yes' | 'No';
|
|
138
138
|
|
|
139
|
+
export type SpRuntimeProvingTrieTrieError =
|
|
140
|
+
| 'InvalidStateRoot'
|
|
141
|
+
| 'IncompleteDatabase'
|
|
142
|
+
| 'ValueAtIncompleteKey'
|
|
143
|
+
| 'DecoderError'
|
|
144
|
+
| 'InvalidHash'
|
|
145
|
+
| 'DuplicateKey'
|
|
146
|
+
| 'ExtraneousNode'
|
|
147
|
+
| 'ExtraneousValue'
|
|
148
|
+
| 'ExtraneousHashReference'
|
|
149
|
+
| 'InvalidChildReference'
|
|
150
|
+
| 'ValueMismatch'
|
|
151
|
+
| 'IncompleteProof'
|
|
152
|
+
| 'RootMismatch'
|
|
153
|
+
| 'DecodeError';
|
|
154
|
+
|
|
139
155
|
/**
|
|
140
156
|
* The `Event` enum of this pallet
|
|
141
157
|
**/
|
|
@@ -2131,7 +2147,7 @@ export type PalletStakingPalletCall =
|
|
|
2131
2147
|
/**
|
|
2132
2148
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
2133
2149
|
* period ends. If this leaves an amount actively bonded less than
|
|
2134
|
-
*
|
|
2150
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
2135
2151
|
*
|
|
2136
2152
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
2137
2153
|
*
|
|
@@ -2577,7 +2593,7 @@ export type PalletStakingPalletCallLike =
|
|
|
2577
2593
|
/**
|
|
2578
2594
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
2579
2595
|
* period ends. If this leaves an amount actively bonded less than
|
|
2580
|
-
*
|
|
2596
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
2581
2597
|
*
|
|
2582
2598
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
2583
2599
|
*
|
|
@@ -7917,17 +7933,17 @@ export type PolkadotRuntimeParachainsParasInherentPalletCall =
|
|
|
7917
7933
|
/**
|
|
7918
7934
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
7919
7935
|
**/
|
|
7920
|
-
{ name: 'Enter'; params: { data:
|
|
7936
|
+
{ name: 'Enter'; params: { data: PolkadotPrimitivesVstagingInherentData } };
|
|
7921
7937
|
|
|
7922
7938
|
export type PolkadotRuntimeParachainsParasInherentPalletCallLike =
|
|
7923
7939
|
/**
|
|
7924
7940
|
* Enter the paras inherent. This will process bitfields and backed candidates.
|
|
7925
7941
|
**/
|
|
7926
|
-
{ name: 'Enter'; params: { data:
|
|
7942
|
+
{ name: 'Enter'; params: { data: PolkadotPrimitivesVstagingInherentData } };
|
|
7927
7943
|
|
|
7928
|
-
export type
|
|
7944
|
+
export type PolkadotPrimitivesVstagingInherentData = {
|
|
7929
7945
|
bitfields: Array<PolkadotPrimitivesV8SignedUncheckedSigned>;
|
|
7930
|
-
backedCandidates: Array<
|
|
7946
|
+
backedCandidates: Array<PolkadotPrimitivesVstagingBackedCandidate>;
|
|
7931
7947
|
disputes: Array<PolkadotPrimitivesV8DisputeStatementSet>;
|
|
7932
7948
|
parentHeader: Header;
|
|
7933
7949
|
};
|
|
@@ -7946,32 +7962,33 @@ export type PolkadotPrimitivesV8ValidatorIndex = number;
|
|
|
7946
7962
|
|
|
7947
7963
|
export type PolkadotPrimitivesV8ValidatorAppSignature = FixedBytes<64>;
|
|
7948
7964
|
|
|
7949
|
-
export type
|
|
7950
|
-
candidate:
|
|
7965
|
+
export type PolkadotPrimitivesVstagingBackedCandidate = {
|
|
7966
|
+
candidate: PolkadotPrimitivesVstagingCommittedCandidateReceiptV2;
|
|
7951
7967
|
validityVotes: Array<PolkadotPrimitivesV8ValidityAttestation>;
|
|
7952
7968
|
validatorIndices: BitSequence;
|
|
7953
7969
|
};
|
|
7954
7970
|
|
|
7955
|
-
export type
|
|
7956
|
-
descriptor:
|
|
7971
|
+
export type PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 = {
|
|
7972
|
+
descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
|
7957
7973
|
commitments: PolkadotPrimitivesV8CandidateCommitments;
|
|
7958
7974
|
};
|
|
7959
7975
|
|
|
7960
|
-
export type
|
|
7976
|
+
export type PolkadotPrimitivesVstagingCandidateDescriptorV2 = {
|
|
7961
7977
|
paraId: PolkadotParachainPrimitivesPrimitivesId;
|
|
7962
7978
|
relayParent: H256;
|
|
7963
|
-
|
|
7979
|
+
version: PolkadotPrimitivesVstagingInternalVersion;
|
|
7980
|
+
coreIndex: number;
|
|
7981
|
+
sessionIndex: number;
|
|
7982
|
+
reserved1: FixedBytes<25>;
|
|
7964
7983
|
persistedValidationDataHash: H256;
|
|
7965
7984
|
povHash: H256;
|
|
7966
7985
|
erasureRoot: H256;
|
|
7967
|
-
|
|
7986
|
+
reserved2: FixedBytes<64>;
|
|
7968
7987
|
paraHead: H256;
|
|
7969
7988
|
validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
|
|
7970
7989
|
};
|
|
7971
7990
|
|
|
7972
|
-
export type
|
|
7973
|
-
|
|
7974
|
-
export type PolkadotPrimitivesV8CollatorAppSignature = FixedBytes<64>;
|
|
7991
|
+
export type PolkadotPrimitivesVstagingInternalVersion = number;
|
|
7975
7992
|
|
|
7976
7993
|
export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
|
|
7977
7994
|
|
|
@@ -11180,7 +11197,7 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
|
|
|
11180
11197
|
| {
|
|
11181
11198
|
name: 'CandidateBacked';
|
|
11182
11199
|
data: [
|
|
11183
|
-
|
|
11200
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
11184
11201
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
11185
11202
|
PolkadotPrimitivesV8CoreIndex,
|
|
11186
11203
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -11192,7 +11209,7 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
|
|
|
11192
11209
|
| {
|
|
11193
11210
|
name: 'CandidateIncluded';
|
|
11194
11211
|
data: [
|
|
11195
|
-
|
|
11212
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
11196
11213
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
11197
11214
|
PolkadotPrimitivesV8CoreIndex,
|
|
11198
11215
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -11204,7 +11221,7 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
|
|
|
11204
11221
|
| {
|
|
11205
11222
|
name: 'CandidateTimedOut';
|
|
11206
11223
|
data: [
|
|
11207
|
-
|
|
11224
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
11208
11225
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
11209
11226
|
PolkadotPrimitivesV8CoreIndex,
|
|
11210
11227
|
];
|
|
@@ -11214,8 +11231,8 @@ export type PolkadotRuntimeParachainsInclusionPalletEvent =
|
|
|
11214
11231
|
**/
|
|
11215
11232
|
| { name: 'UpwardMessagesReceived'; data: { from: PolkadotParachainPrimitivesPrimitivesId; count: number } };
|
|
11216
11233
|
|
|
11217
|
-
export type
|
|
11218
|
-
descriptor:
|
|
11234
|
+
export type PolkadotPrimitivesVstagingCandidateReceiptV2 = {
|
|
11235
|
+
descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
|
11219
11236
|
commitmentsHash: H256;
|
|
11220
11237
|
};
|
|
11221
11238
|
|
|
@@ -13554,14 +13571,20 @@ export type PolkadotRuntimeParachainsConfigurationPalletError =
|
|
|
13554
13571
|
'InvalidNewValue';
|
|
13555
13572
|
|
|
13556
13573
|
export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
|
|
13557
|
-
buffer: Array<
|
|
13574
|
+
buffer: Array<PolkadotRuntimeParachainsSharedRelayParentInfo>;
|
|
13558
13575
|
latestNumber: number;
|
|
13559
13576
|
};
|
|
13560
13577
|
|
|
13578
|
+
export type PolkadotRuntimeParachainsSharedRelayParentInfo = {
|
|
13579
|
+
relayParent: H256;
|
|
13580
|
+
stateRoot: H256;
|
|
13581
|
+
claimQueue: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<[number, Array<PolkadotPrimitivesV8CoreIndex>]>]>;
|
|
13582
|
+
};
|
|
13583
|
+
|
|
13561
13584
|
export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
|
|
13562
13585
|
core: PolkadotPrimitivesV8CoreIndex;
|
|
13563
13586
|
hash: PolkadotCorePrimitivesCandidateHash;
|
|
13564
|
-
descriptor:
|
|
13587
|
+
descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
|
13565
13588
|
commitments: PolkadotPrimitivesV8CandidateCommitments;
|
|
13566
13589
|
availabilityVotes: BitSequence;
|
|
13567
13590
|
backers: BitSequence;
|
|
@@ -13646,11 +13669,11 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
|
|
|
13646
13669
|
**/
|
|
13647
13670
|
| 'ParaHeadMismatch';
|
|
13648
13671
|
|
|
13649
|
-
export type
|
|
13672
|
+
export type PolkadotPrimitivesVstagingScrapedOnChainVotes = {
|
|
13650
13673
|
session: number;
|
|
13651
13674
|
backingValidatorsPerCandidate: Array<
|
|
13652
13675
|
[
|
|
13653
|
-
|
|
13676
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
13654
13677
|
Array<[PolkadotPrimitivesV8ValidatorIndex, PolkadotPrimitivesV8ValidityAttestation]>,
|
|
13655
13678
|
]
|
|
13656
13679
|
>;
|
|
@@ -14775,12 +14798,12 @@ export type PolkadotPrimitivesV8GroupRotationInfo = {
|
|
|
14775
14798
|
now: number;
|
|
14776
14799
|
};
|
|
14777
14800
|
|
|
14778
|
-
export type
|
|
14779
|
-
| { type: 'Occupied'; value:
|
|
14801
|
+
export type PolkadotPrimitivesVstagingCoreState =
|
|
14802
|
+
| { type: 'Occupied'; value: PolkadotPrimitivesVstagingOccupiedCore }
|
|
14780
14803
|
| { type: 'Scheduled'; value: PolkadotPrimitivesV8ScheduledCore }
|
|
14781
14804
|
| { type: 'Free' };
|
|
14782
14805
|
|
|
14783
|
-
export type
|
|
14806
|
+
export type PolkadotPrimitivesVstagingOccupiedCore = {
|
|
14784
14807
|
nextUpOnAvailable?: PolkadotPrimitivesV8ScheduledCore | undefined;
|
|
14785
14808
|
occupiedSince: number;
|
|
14786
14809
|
timeOutAt: number;
|
|
@@ -14788,7 +14811,7 @@ export type PolkadotPrimitivesV8OccupiedCore = {
|
|
|
14788
14811
|
availability: BitSequence;
|
|
14789
14812
|
groupResponsible: PolkadotPrimitivesV8GroupIndex;
|
|
14790
14813
|
candidateHash: PolkadotCorePrimitivesCandidateHash;
|
|
14791
|
-
candidateDescriptor:
|
|
14814
|
+
candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
|
14792
14815
|
};
|
|
14793
14816
|
|
|
14794
14817
|
export type PolkadotPrimitivesV8ScheduledCore = {
|
|
@@ -14796,6 +14819,8 @@ export type PolkadotPrimitivesV8ScheduledCore = {
|
|
|
14796
14819
|
collator?: PolkadotPrimitivesV8CollatorAppPublic | undefined;
|
|
14797
14820
|
};
|
|
14798
14821
|
|
|
14822
|
+
export type PolkadotPrimitivesV8CollatorAppPublic = FixedBytes<32>;
|
|
14823
|
+
|
|
14799
14824
|
export type PolkadotPrimitivesV8OccupiedCoreAssumption = 'Included' | 'TimedOut' | 'Free';
|
|
14800
14825
|
|
|
14801
14826
|
export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
@@ -14805,11 +14830,11 @@ export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
|
14805
14830
|
maxPovSize: number;
|
|
14806
14831
|
};
|
|
14807
14832
|
|
|
14808
|
-
export type
|
|
14833
|
+
export type PolkadotPrimitivesVstagingCandidateEvent =
|
|
14809
14834
|
| {
|
|
14810
14835
|
type: 'CandidateBacked';
|
|
14811
14836
|
value: [
|
|
14812
|
-
|
|
14837
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
14813
14838
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
14814
14839
|
PolkadotPrimitivesV8CoreIndex,
|
|
14815
14840
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -14818,7 +14843,7 @@ export type PolkadotPrimitivesV8CandidateEvent =
|
|
|
14818
14843
|
| {
|
|
14819
14844
|
type: 'CandidateIncluded';
|
|
14820
14845
|
value: [
|
|
14821
|
-
|
|
14846
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
14822
14847
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
14823
14848
|
PolkadotPrimitivesV8CoreIndex,
|
|
14824
14849
|
PolkadotPrimitivesV8GroupIndex,
|
|
@@ -14827,7 +14852,7 @@ export type PolkadotPrimitivesV8CandidateEvent =
|
|
|
14827
14852
|
| {
|
|
14828
14853
|
type: 'CandidateTimedOut';
|
|
14829
14854
|
value: [
|
|
14830
|
-
|
|
14855
|
+
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
14831
14856
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
14832
14857
|
PolkadotPrimitivesV8CoreIndex,
|
|
14833
14858
|
];
|
|
@@ -14835,9 +14860,9 @@ export type PolkadotPrimitivesV8CandidateEvent =
|
|
|
14835
14860
|
|
|
14836
14861
|
export type PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof = Bytes;
|
|
14837
14862
|
|
|
14838
|
-
export type
|
|
14863
|
+
export type PolkadotPrimitivesVstagingAsyncBackingBackingState = {
|
|
14839
14864
|
constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
|
|
14840
|
-
pendingAvailability: Array<
|
|
14865
|
+
pendingAvailability: Array<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
|
|
14841
14866
|
};
|
|
14842
14867
|
|
|
14843
14868
|
export type PolkadotPrimitivesV8AsyncBackingConstraints = {
|
|
@@ -14866,9 +14891,9 @@ export type PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations = {
|
|
|
14866
14891
|
messagesRemaining: number;
|
|
14867
14892
|
};
|
|
14868
14893
|
|
|
14869
|
-
export type
|
|
14894
|
+
export type PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability = {
|
|
14870
14895
|
candidateHash: PolkadotCorePrimitivesCandidateHash;
|
|
14871
|
-
descriptor:
|
|
14896
|
+
descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
|
14872
14897
|
commitments: PolkadotPrimitivesV8CandidateCommitments;
|
|
14873
14898
|
relayParentNumber: number;
|
|
14874
14899
|
maxPovSize: number;
|