@dedot/chaintypes 0.59.0 → 0.60.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/package.json +2 -2
- package/polkadot/consts.d.ts +19 -9
- package/polkadot/errors.d.ts +95 -12
- package/polkadot/events.d.ts +90 -51
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +104 -75
- package/polkadot/runtime.d.ts +141 -63
- package/polkadot/tx.d.ts +165 -72
- package/polkadot/types.d.ts +440 -301
- package/polkadot-asset-hub/events.d.ts +50 -1
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +12 -12
- package/polkadot-asset-hub/runtime.d.ts +1 -1
- package/polkadot-asset-hub/tx.d.ts +121 -64
- package/polkadot-asset-hub/types.d.ts +167 -81
package/polkadot/query.d.ts
CHANGED
|
@@ -62,8 +62,6 @@ import type {
|
|
|
62
62
|
PalletTreasurySpendStatus,
|
|
63
63
|
PalletConvictionVotingVoteVoting,
|
|
64
64
|
PalletReferendaReferendumInfo,
|
|
65
|
-
PolkadotRuntimeRuntimeParametersValue,
|
|
66
|
-
PolkadotRuntimeRuntimeParametersKey,
|
|
67
65
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
68
66
|
PalletVestingVestingInfo,
|
|
69
67
|
PalletVestingReleases,
|
|
@@ -86,23 +84,25 @@ import type {
|
|
|
86
84
|
PalletNominationPoolsSubPools,
|
|
87
85
|
PalletNominationPoolsClaimPermission,
|
|
88
86
|
PalletFastUnstakeUnstakeRequest,
|
|
87
|
+
PalletDelegatedStakingDelegation,
|
|
88
|
+
PalletDelegatedStakingAgentLedger,
|
|
89
89
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
PolkadotPrimitivesV8ValidatorIndex,
|
|
91
|
+
PolkadotPrimitivesV8ValidatorAppPublic,
|
|
92
92
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
93
93
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
94
94
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
95
|
-
|
|
95
|
+
PolkadotPrimitivesV8ScrapedOnChainVotes,
|
|
96
96
|
PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
|
|
97
|
-
|
|
97
|
+
PolkadotPrimitivesV8CoreIndex,
|
|
98
98
|
PolkadotRuntimeParachainsSchedulerPalletParasEntry,
|
|
99
99
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
100
100
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
101
101
|
PolkadotRuntimeParachainsParasParaLifecycle,
|
|
102
102
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
103
103
|
PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
PolkadotPrimitivesV8UpgradeGoAhead,
|
|
105
|
+
PolkadotPrimitivesV8UpgradeRestriction,
|
|
106
106
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
107
107
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
108
108
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange,
|
|
@@ -111,14 +111,14 @@ import type {
|
|
|
111
111
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
112
112
|
PolkadotRuntimeParachainsHrmpHrmpChannel,
|
|
113
113
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
PolkadotPrimitivesV8AssignmentAppPublic,
|
|
115
|
+
PolkadotPrimitivesV8SessionInfo,
|
|
116
|
+
PolkadotPrimitivesV8ExecutorParams,
|
|
117
|
+
PolkadotPrimitivesV8DisputeState,
|
|
118
118
|
PolkadotCorePrimitivesCandidateHash,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
PolkadotPrimitivesV8SlashingPendingSlashes,
|
|
120
|
+
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
|
|
121
|
+
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
|
|
122
122
|
BinaryHeapEnqueuedOrder,
|
|
123
123
|
PolkadotRuntimeParachainsAssignerCoretimeSchedule,
|
|
124
124
|
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
@@ -1573,27 +1573,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1573
1573
|
**/
|
|
1574
1574
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
1575
1575
|
};
|
|
1576
|
-
/**
|
|
1577
|
-
* Pallet `Parameters`'s storage queries
|
|
1578
|
-
**/
|
|
1579
|
-
parameters: {
|
|
1580
|
-
/**
|
|
1581
|
-
* Stored parameters.
|
|
1582
|
-
*
|
|
1583
|
-
* @param {PolkadotRuntimeRuntimeParametersKey} arg
|
|
1584
|
-
* @param {Callback<PolkadotRuntimeRuntimeParametersValue | undefined> =} callback
|
|
1585
|
-
**/
|
|
1586
|
-
parameters: GenericStorageQuery<
|
|
1587
|
-
Rv,
|
|
1588
|
-
(arg: PolkadotRuntimeRuntimeParametersKey) => PolkadotRuntimeRuntimeParametersValue | undefined,
|
|
1589
|
-
PolkadotRuntimeRuntimeParametersKey
|
|
1590
|
-
>;
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* Generic pallet storage query
|
|
1594
|
-
**/
|
|
1595
|
-
[storage: string]: GenericStorageQuery<Rv>;
|
|
1596
|
-
};
|
|
1597
1576
|
/**
|
|
1598
1577
|
* Pallet `Claims`'s storage queries
|
|
1599
1578
|
**/
|
|
@@ -2228,6 +2207,56 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2228
2207
|
**/
|
|
2229
2208
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
2230
2209
|
};
|
|
2210
|
+
/**
|
|
2211
|
+
* Pallet `DelegatedStaking`'s storage queries
|
|
2212
|
+
**/
|
|
2213
|
+
delegatedStaking: {
|
|
2214
|
+
/**
|
|
2215
|
+
* Map of Delegators to their `Delegation`.
|
|
2216
|
+
*
|
|
2217
|
+
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
|
2218
|
+
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
|
2219
|
+
*
|
|
2220
|
+
* @param {AccountId32Like} arg
|
|
2221
|
+
* @param {Callback<PalletDelegatedStakingDelegation | undefined> =} callback
|
|
2222
|
+
**/
|
|
2223
|
+
delegators: GenericStorageQuery<
|
|
2224
|
+
Rv,
|
|
2225
|
+
(arg: AccountId32Like) => PalletDelegatedStakingDelegation | undefined,
|
|
2226
|
+
AccountId32
|
|
2227
|
+
>;
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Counter for the related counted storage map
|
|
2231
|
+
*
|
|
2232
|
+
* @param {Callback<number> =} callback
|
|
2233
|
+
**/
|
|
2234
|
+
counterForDelegators: GenericStorageQuery<Rv, () => number>;
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Map of `Agent` to their `Ledger`.
|
|
2238
|
+
*
|
|
2239
|
+
* @param {AccountId32Like} arg
|
|
2240
|
+
* @param {Callback<PalletDelegatedStakingAgentLedger | undefined> =} callback
|
|
2241
|
+
**/
|
|
2242
|
+
agents: GenericStorageQuery<
|
|
2243
|
+
Rv,
|
|
2244
|
+
(arg: AccountId32Like) => PalletDelegatedStakingAgentLedger | undefined,
|
|
2245
|
+
AccountId32
|
|
2246
|
+
>;
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* Counter for the related counted storage map
|
|
2250
|
+
*
|
|
2251
|
+
* @param {Callback<number> =} callback
|
|
2252
|
+
**/
|
|
2253
|
+
counterForAgents: GenericStorageQuery<Rv, () => number>;
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* Generic pallet storage query
|
|
2257
|
+
**/
|
|
2258
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2259
|
+
};
|
|
2231
2260
|
/**
|
|
2232
2261
|
* Pallet `Configuration`'s storage queries
|
|
2233
2262
|
**/
|
|
@@ -2283,17 +2312,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2283
2312
|
* All the validators actively participating in parachain consensus.
|
|
2284
2313
|
* Indices are into the broader validator set.
|
|
2285
2314
|
*
|
|
2286
|
-
* @param {Callback<Array<
|
|
2315
|
+
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
|
|
2287
2316
|
**/
|
|
2288
|
-
activeValidatorIndices: GenericStorageQuery<Rv, () => Array<
|
|
2317
|
+
activeValidatorIndices: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8ValidatorIndex>>;
|
|
2289
2318
|
|
|
2290
2319
|
/**
|
|
2291
2320
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
2292
2321
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
2293
2322
|
*
|
|
2294
|
-
* @param {Callback<Array<
|
|
2323
|
+
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
|
|
2295
2324
|
**/
|
|
2296
|
-
activeValidatorKeys: GenericStorageQuery<Rv, () => Array<
|
|
2325
|
+
activeValidatorKeys: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
|
|
2297
2326
|
|
|
2298
2327
|
/**
|
|
2299
2328
|
* All allowed relay-parents.
|
|
@@ -2353,9 +2382,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2353
2382
|
/**
|
|
2354
2383
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2355
2384
|
*
|
|
2356
|
-
* @param {Callback<
|
|
2385
|
+
* @param {Callback<PolkadotPrimitivesV8ScrapedOnChainVotes | undefined> =} callback
|
|
2357
2386
|
**/
|
|
2358
|
-
onChainVotes: GenericStorageQuery<Rv, () =>
|
|
2387
|
+
onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8ScrapedOnChainVotes | undefined>;
|
|
2359
2388
|
|
|
2360
2389
|
/**
|
|
2361
2390
|
* Generic pallet storage query
|
|
@@ -2375,9 +2404,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2375
2404
|
* multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
|
|
2376
2405
|
* upper bound at 10k.
|
|
2377
2406
|
*
|
|
2378
|
-
* @param {Callback<Array<Array<
|
|
2407
|
+
* @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
|
|
2379
2408
|
**/
|
|
2380
|
-
validatorGroups: GenericStorageQuery<Rv, () => Array<Array<
|
|
2409
|
+
validatorGroups: GenericStorageQuery<Rv, () => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
|
|
2381
2410
|
|
|
2382
2411
|
/**
|
|
2383
2412
|
* One entry for each availability core. The i'th parachain belongs to the i'th core, with the
|
|
@@ -2409,11 +2438,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2409
2438
|
* scheduled on that core. The value contained here will not be valid after the end of
|
|
2410
2439
|
* a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
|
|
2411
2440
|
*
|
|
2412
|
-
* @param {Callback<Array<[
|
|
2441
|
+
* @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>> =} callback
|
|
2413
2442
|
**/
|
|
2414
2443
|
claimQueue: GenericStorageQuery<
|
|
2415
2444
|
Rv,
|
|
2416
|
-
() => Array<[
|
|
2445
|
+
() => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>
|
|
2417
2446
|
>;
|
|
2418
2447
|
|
|
2419
2448
|
/**
|
|
@@ -2612,11 +2641,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2612
2641
|
* the format will require migration of parachains.
|
|
2613
2642
|
*
|
|
2614
2643
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2615
|
-
* @param {Callback<
|
|
2644
|
+
* @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
|
|
2616
2645
|
**/
|
|
2617
2646
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
2618
2647
|
Rv,
|
|
2619
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2648
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
|
|
2620
2649
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2621
2650
|
>;
|
|
2622
2651
|
|
|
@@ -2632,11 +2661,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2632
2661
|
* the format will require migration of parachains.
|
|
2633
2662
|
*
|
|
2634
2663
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2635
|
-
* @param {Callback<
|
|
2664
|
+
* @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
|
|
2636
2665
|
**/
|
|
2637
2666
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2638
2667
|
Rv,
|
|
2639
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2668
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
|
|
2640
2669
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2641
2670
|
>;
|
|
2642
2671
|
|
|
@@ -3003,9 +3032,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3003
3032
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
3004
3033
|
* When in doubt, use `Sessions` API instead.
|
|
3005
3034
|
*
|
|
3006
|
-
* @param {Callback<Array<
|
|
3035
|
+
* @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
|
|
3007
3036
|
**/
|
|
3008
|
-
assignmentKeysUnsafe: GenericStorageQuery<Rv, () => Array<
|
|
3037
|
+
assignmentKeysUnsafe: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
|
|
3009
3038
|
|
|
3010
3039
|
/**
|
|
3011
3040
|
* The earliest session for which previous session info is stored.
|
|
@@ -3020,9 +3049,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3020
3049
|
* Does not have any entries before the session index in the first session change notification.
|
|
3021
3050
|
*
|
|
3022
3051
|
* @param {number} arg
|
|
3023
|
-
* @param {Callback<
|
|
3052
|
+
* @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
|
|
3024
3053
|
**/
|
|
3025
|
-
sessions: GenericStorageQuery<Rv, (arg: number) =>
|
|
3054
|
+
sessions: GenericStorageQuery<Rv, (arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
|
|
3026
3055
|
|
|
3027
3056
|
/**
|
|
3028
3057
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3036,11 +3065,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3036
3065
|
* Executor parameter set for a given session index
|
|
3037
3066
|
*
|
|
3038
3067
|
* @param {number} arg
|
|
3039
|
-
* @param {Callback<
|
|
3068
|
+
* @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
|
|
3040
3069
|
**/
|
|
3041
3070
|
sessionExecutorParams: GenericStorageQuery<
|
|
3042
3071
|
Rv,
|
|
3043
|
-
(arg: number) =>
|
|
3072
|
+
(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined,
|
|
3044
3073
|
number
|
|
3045
3074
|
>;
|
|
3046
3075
|
|
|
@@ -3065,11 +3094,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3065
3094
|
* All ongoing or concluded disputes for the last several sessions.
|
|
3066
3095
|
*
|
|
3067
3096
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3068
|
-
* @param {Callback<
|
|
3097
|
+
* @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
|
|
3069
3098
|
**/
|
|
3070
3099
|
disputes: GenericStorageQuery<
|
|
3071
3100
|
Rv,
|
|
3072
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3101
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
|
|
3073
3102
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3074
3103
|
>;
|
|
3075
3104
|
|
|
@@ -3078,11 +3107,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3078
3107
|
* This storage is used for slashing.
|
|
3079
3108
|
*
|
|
3080
3109
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3081
|
-
* @param {Callback<Array<
|
|
3110
|
+
* @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
|
|
3082
3111
|
**/
|
|
3083
3112
|
backersOnDisputes: GenericStorageQuery<
|
|
3084
3113
|
Rv,
|
|
3085
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<
|
|
3114
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
|
|
3086
3115
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3087
3116
|
>;
|
|
3088
3117
|
|
|
@@ -3122,11 +3151,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3122
3151
|
* Validators pending dispute slashes.
|
|
3123
3152
|
*
|
|
3124
3153
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3125
|
-
* @param {Callback<
|
|
3154
|
+
* @param {Callback<PolkadotPrimitivesV8SlashingPendingSlashes | undefined> =} callback
|
|
3126
3155
|
**/
|
|
3127
3156
|
unappliedSlashes: GenericStorageQuery<
|
|
3128
3157
|
Rv,
|
|
3129
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3158
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8SlashingPendingSlashes | undefined,
|
|
3130
3159
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3131
3160
|
>;
|
|
3132
3161
|
|
|
@@ -3153,22 +3182,22 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3153
3182
|
* `ParaId` on two or more `CoreIndex`es.
|
|
3154
3183
|
*
|
|
3155
3184
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
3156
|
-
* @param {Callback<
|
|
3185
|
+
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
|
|
3157
3186
|
**/
|
|
3158
3187
|
paraIdAffinity: GenericStorageQuery<
|
|
3159
3188
|
Rv,
|
|
3160
3189
|
(
|
|
3161
3190
|
arg: PolkadotParachainPrimitivesPrimitivesId,
|
|
3162
|
-
) =>
|
|
3191
|
+
) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
|
|
3163
3192
|
PolkadotParachainPrimitivesPrimitivesId
|
|
3164
3193
|
>;
|
|
3165
3194
|
|
|
3166
3195
|
/**
|
|
3167
3196
|
* Overall status of queue (both free + affinity entries)
|
|
3168
3197
|
*
|
|
3169
|
-
* @param {Callback<
|
|
3198
|
+
* @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
|
|
3170
3199
|
**/
|
|
3171
|
-
queueStatus: GenericStorageQuery<Rv, () =>
|
|
3200
|
+
queueStatus: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
|
|
3172
3201
|
|
|
3173
3202
|
/**
|
|
3174
3203
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
|
@@ -3180,13 +3209,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3180
3209
|
/**
|
|
3181
3210
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3182
3211
|
*
|
|
3183
|
-
* @param {
|
|
3212
|
+
* @param {PolkadotPrimitivesV8CoreIndex} arg
|
|
3184
3213
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3185
3214
|
**/
|
|
3186
3215
|
affinityEntries: GenericStorageQuery<
|
|
3187
3216
|
Rv,
|
|
3188
|
-
(arg:
|
|
3189
|
-
|
|
3217
|
+
(arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3218
|
+
PolkadotPrimitivesV8CoreIndex
|
|
3190
3219
|
>;
|
|
3191
3220
|
|
|
3192
3221
|
/**
|
|
@@ -3211,13 +3240,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3211
3240
|
* Assignments as of the given block number. They will go into state once the block number is
|
|
3212
3241
|
* reached (and replace whatever was in there before).
|
|
3213
3242
|
*
|
|
3214
|
-
* @param {[number,
|
|
3243
|
+
* @param {[number, PolkadotPrimitivesV8CoreIndex]} arg
|
|
3215
3244
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3216
3245
|
**/
|
|
3217
3246
|
coreSchedules: GenericStorageQuery<
|
|
3218
3247
|
Rv,
|
|
3219
|
-
(arg: [number,
|
|
3220
|
-
[number,
|
|
3248
|
+
(arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3249
|
+
[number, PolkadotPrimitivesV8CoreIndex]
|
|
3221
3250
|
>;
|
|
3222
3251
|
|
|
3223
3252
|
/**
|
|
@@ -3226,13 +3255,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3226
3255
|
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3227
3256
|
* `PendingAssignments`.
|
|
3228
3257
|
*
|
|
3229
|
-
* @param {
|
|
3258
|
+
* @param {PolkadotPrimitivesV8CoreIndex} arg
|
|
3230
3259
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3231
3260
|
**/
|
|
3232
3261
|
coreDescriptors: GenericStorageQuery<
|
|
3233
3262
|
Rv,
|
|
3234
|
-
(arg:
|
|
3235
|
-
|
|
3263
|
+
(arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3264
|
+
PolkadotPrimitivesV8CoreIndex
|
|
3236
3265
|
>;
|
|
3237
3266
|
|
|
3238
3267
|
/**
|