@dedot/chaintypes 0.199.0 → 0.200.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/westend/errors.d.ts +5 -0
- package/westend/events.d.ts +12 -12
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +84 -46
- package/westend/runtime.d.ts +100 -79
- package/westend/tx.d.ts +32 -32
- package/westend/types.d.ts +169 -181
- package/westend-people/index.d.ts +1 -1
- package/westend-people/query.d.ts +35 -16
- package/westend-people/runtime.d.ts +27 -5
- package/westend-people/types.d.ts +22 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.200.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "a201ce7b46ea660317cb8e2feba62e8bf4a31d2c",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/westend/errors.d.ts
CHANGED
|
@@ -2881,6 +2881,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2881
2881
|
**/
|
|
2882
2882
|
InvalidEquivocationProofSession: GenericPalletError;
|
|
2883
2883
|
|
|
2884
|
+
/**
|
|
2885
|
+
* The session of the equivocation proof is not in the mapping (anymore)
|
|
2886
|
+
**/
|
|
2887
|
+
InvalidEquivocationProofSessionMember: GenericPalletError;
|
|
2888
|
+
|
|
2884
2889
|
/**
|
|
2885
2890
|
* A given equivocation report is valid but already previously reported.
|
|
2886
2891
|
**/
|
package/westend/events.d.ts
CHANGED
|
@@ -31,10 +31,10 @@ import type {
|
|
|
31
31
|
SpRuntimeDispatchErrorWithPostInfo,
|
|
32
32
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
33
33
|
XcmVersionedLocation,
|
|
34
|
-
|
|
34
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
35
35
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
37
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
38
38
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
39
39
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
40
40
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
@@ -2067,10 +2067,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2067
2067
|
'ParaInclusion',
|
|
2068
2068
|
'CandidateBacked',
|
|
2069
2069
|
[
|
|
2070
|
-
|
|
2070
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
2071
2071
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
2072
|
-
|
|
2073
|
-
|
|
2072
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
2073
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
2074
2074
|
]
|
|
2075
2075
|
>;
|
|
2076
2076
|
|
|
@@ -2081,10 +2081,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2081
2081
|
'ParaInclusion',
|
|
2082
2082
|
'CandidateIncluded',
|
|
2083
2083
|
[
|
|
2084
|
-
|
|
2084
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
2085
2085
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
2086
|
-
|
|
2087
|
-
|
|
2086
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
2087
|
+
PolkadotPrimitivesV9GroupIndex,
|
|
2088
2088
|
]
|
|
2089
2089
|
>;
|
|
2090
2090
|
|
|
@@ -2095,9 +2095,9 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2095
2095
|
'ParaInclusion',
|
|
2096
2096
|
'CandidateTimedOut',
|
|
2097
2097
|
[
|
|
2098
|
-
|
|
2098
|
+
PolkadotPrimitivesV9CandidateReceiptV2,
|
|
2099
2099
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
2100
|
-
|
|
2100
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
2101
2101
|
]
|
|
2102
2102
|
>;
|
|
2103
2103
|
|
|
@@ -2639,7 +2639,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2639
2639
|
/**
|
|
2640
2640
|
* A core has received a new assignment from the broker chain.
|
|
2641
2641
|
**/
|
|
2642
|
-
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core:
|
|
2642
|
+
CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV9CoreIndex }>;
|
|
2643
2643
|
|
|
2644
2644
|
/**
|
|
2645
2645
|
* Generic pallet event
|
package/westend/index.d.ts
CHANGED
package/westend/query.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import type {
|
|
|
34
34
|
FrameSupportTokensMiscIdAmount,
|
|
35
35
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
36
36
|
PalletTransactionPaymentReleases,
|
|
37
|
+
FrameSupportStorageNoDrop,
|
|
37
38
|
PalletStakingStakingLedger,
|
|
38
39
|
PalletStakingRewardDestination,
|
|
39
40
|
PalletStakingValidatorPrefs,
|
|
@@ -94,13 +95,13 @@ import type {
|
|
|
94
95
|
PalletDelegatedStakingDelegation,
|
|
95
96
|
PalletDelegatedStakingAgentLedger,
|
|
96
97
|
PolkadotRuntimeParachainsConfigurationHostConfiguration,
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
PolkadotPrimitivesV9ValidatorIndex,
|
|
99
|
+
PolkadotPrimitivesV9ValidatorAppPublic,
|
|
99
100
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
|
|
100
101
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
|
|
101
102
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
PolkadotPrimitivesV9ScrapedOnChainVotes,
|
|
104
|
+
PolkadotPrimitivesV9CoreIndex,
|
|
104
105
|
PolkadotRuntimeParachainsSchedulerCommonAssignment,
|
|
105
106
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
|
|
106
107
|
PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
@@ -108,8 +109,8 @@ import type {
|
|
|
108
109
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
109
110
|
PolkadotRuntimeParachainsParasParaPastCodeMeta,
|
|
110
111
|
PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry,
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
PolkadotPrimitivesV9UpgradeGoAhead,
|
|
113
|
+
PolkadotPrimitivesV9UpgradeRestriction,
|
|
113
114
|
PolkadotRuntimeParachainsParasParaGenesisArgs,
|
|
114
115
|
PolkadotParachainPrimitivesPrimitivesValidationCode,
|
|
115
116
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange,
|
|
@@ -118,12 +119,12 @@ import type {
|
|
|
118
119
|
PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
|
|
119
120
|
PolkadotRuntimeParachainsHrmpHrmpChannel,
|
|
120
121
|
PolkadotCorePrimitivesInboundHrmpMessage,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
PolkadotPrimitivesV9AssignmentAppPublic,
|
|
123
|
+
PolkadotPrimitivesV9SessionInfo,
|
|
124
|
+
PolkadotPrimitivesV9ExecutorParams,
|
|
125
|
+
PolkadotPrimitivesV9DisputeState,
|
|
125
126
|
PolkadotCorePrimitivesCandidateHash,
|
|
126
|
-
|
|
127
|
+
PolkadotPrimitivesV9SlashingPendingSlashes,
|
|
127
128
|
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
|
|
128
129
|
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
|
|
129
130
|
BinaryHeapEnqueuedOrder,
|
|
@@ -642,6 +643,15 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
642
643
|
**/
|
|
643
644
|
storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
|
|
644
645
|
|
|
646
|
+
/**
|
|
647
|
+
* The `OnChargeTransaction` stores the withdrawn tx fee here.
|
|
648
|
+
*
|
|
649
|
+
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
|
|
650
|
+
*
|
|
651
|
+
* @param {Callback<FrameSupportStorageNoDrop | undefined> =} callback
|
|
652
|
+
**/
|
|
653
|
+
txPaymentCredit: GenericStorageQuery<() => FrameSupportStorageNoDrop | undefined>;
|
|
654
|
+
|
|
645
655
|
/**
|
|
646
656
|
* Generic pallet storage query
|
|
647
657
|
**/
|
|
@@ -1841,6 +1851,34 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1841
1851
|
**/
|
|
1842
1852
|
lock: GenericStorageQuery<() => [] | undefined>;
|
|
1843
1853
|
|
|
1854
|
+
/**
|
|
1855
|
+
* Accounts that failed to be inserted into the bags-list due to locking.
|
|
1856
|
+
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
|
|
1857
|
+
*
|
|
1858
|
+
* Note: This storage is intentionally unbounded. The following factors make bounding
|
|
1859
|
+
* unnecessary:
|
|
1860
|
+
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
|
|
1861
|
+
* 2. The pallet is only locked during snapshot generation, which is weight-limited
|
|
1862
|
+
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
|
|
1863
|
+
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
|
|
1864
|
+
* auto-rebagging from putting accounts in the correct position
|
|
1865
|
+
*
|
|
1866
|
+
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
|
|
1867
|
+
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
|
|
1868
|
+
* while waiting in the queue).
|
|
1869
|
+
*
|
|
1870
|
+
* @param {AccountId32Like} arg
|
|
1871
|
+
* @param {Callback<[] | undefined> =} callback
|
|
1872
|
+
**/
|
|
1873
|
+
pendingRebag: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* Counter for the related counted storage map
|
|
1877
|
+
*
|
|
1878
|
+
* @param {Callback<number> =} callback
|
|
1879
|
+
**/
|
|
1880
|
+
counterForPendingRebag: GenericStorageQuery<() => number>;
|
|
1881
|
+
|
|
1844
1882
|
/**
|
|
1845
1883
|
* Generic pallet storage query
|
|
1846
1884
|
**/
|
|
@@ -2352,17 +2390,17 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2352
2390
|
* All the validators actively participating in parachain consensus.
|
|
2353
2391
|
* Indices are into the broader validator set.
|
|
2354
2392
|
*
|
|
2355
|
-
* @param {Callback<Array<
|
|
2393
|
+
* @param {Callback<Array<PolkadotPrimitivesV9ValidatorIndex>> =} callback
|
|
2356
2394
|
**/
|
|
2357
|
-
activeValidatorIndices: GenericStorageQuery<() => Array<
|
|
2395
|
+
activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorIndex>>;
|
|
2358
2396
|
|
|
2359
2397
|
/**
|
|
2360
2398
|
* The parachain attestation keys of the validators actively participating in parachain
|
|
2361
2399
|
* consensus. This should be the same length as `ActiveValidatorIndices`.
|
|
2362
2400
|
*
|
|
2363
|
-
* @param {Callback<Array<
|
|
2401
|
+
* @param {Callback<Array<PolkadotPrimitivesV9ValidatorAppPublic>> =} callback
|
|
2364
2402
|
**/
|
|
2365
|
-
activeValidatorKeys: GenericStorageQuery<() => Array<
|
|
2403
|
+
activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorAppPublic>>;
|
|
2366
2404
|
|
|
2367
2405
|
/**
|
|
2368
2406
|
* All allowed relay-parents.
|
|
@@ -2421,9 +2459,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2421
2459
|
/**
|
|
2422
2460
|
* Scraped on chain data for extracting resolved disputes as well as backing votes.
|
|
2423
2461
|
*
|
|
2424
|
-
* @param {Callback<
|
|
2462
|
+
* @param {Callback<PolkadotPrimitivesV9ScrapedOnChainVotes | undefined> =} callback
|
|
2425
2463
|
**/
|
|
2426
|
-
onChainVotes: GenericStorageQuery<() =>
|
|
2464
|
+
onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV9ScrapedOnChainVotes | undefined>;
|
|
2427
2465
|
|
|
2428
2466
|
/**
|
|
2429
2467
|
* Generic pallet storage query
|
|
@@ -2443,9 +2481,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2443
2481
|
* multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
|
|
2444
2482
|
* upper bound at 10k.
|
|
2445
2483
|
*
|
|
2446
|
-
* @param {Callback<Array<Array<
|
|
2484
|
+
* @param {Callback<Array<Array<PolkadotPrimitivesV9ValidatorIndex>>> =} callback
|
|
2447
2485
|
**/
|
|
2448
|
-
validatorGroups: GenericStorageQuery<() => Array<Array<
|
|
2486
|
+
validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV9ValidatorIndex>>>;
|
|
2449
2487
|
|
|
2450
2488
|
/**
|
|
2451
2489
|
* The block number where the session start occurred. Used to track how many group rotations
|
|
@@ -2464,10 +2502,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2464
2502
|
* One entry for each availability core. The `VecDeque` represents the assignments to be
|
|
2465
2503
|
* scheduled on that core.
|
|
2466
2504
|
*
|
|
2467
|
-
* @param {Callback<Array<[
|
|
2505
|
+
* @param {Callback<Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
|
|
2468
2506
|
**/
|
|
2469
2507
|
claimQueue: GenericStorageQuery<
|
|
2470
|
-
() => Array<[
|
|
2508
|
+
() => Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
|
|
2471
2509
|
>;
|
|
2472
2510
|
|
|
2473
2511
|
/**
|
|
@@ -2670,10 +2708,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2670
2708
|
* the format will require migration of parachains.
|
|
2671
2709
|
*
|
|
2672
2710
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2673
|
-
* @param {Callback<
|
|
2711
|
+
* @param {Callback<PolkadotPrimitivesV9UpgradeGoAhead | undefined> =} callback
|
|
2674
2712
|
**/
|
|
2675
2713
|
upgradeGoAheadSignal: GenericStorageQuery<
|
|
2676
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2714
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV9UpgradeGoAhead | undefined,
|
|
2677
2715
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2678
2716
|
>;
|
|
2679
2717
|
|
|
@@ -2689,10 +2727,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2689
2727
|
* the format will require migration of parachains.
|
|
2690
2728
|
*
|
|
2691
2729
|
* @param {PolkadotParachainPrimitivesPrimitivesId} arg
|
|
2692
|
-
* @param {Callback<
|
|
2730
|
+
* @param {Callback<PolkadotPrimitivesV9UpgradeRestriction | undefined> =} callback
|
|
2693
2731
|
**/
|
|
2694
2732
|
upgradeRestrictionSignal: GenericStorageQuery<
|
|
2695
|
-
(arg: PolkadotParachainPrimitivesPrimitivesId) =>
|
|
2733
|
+
(arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV9UpgradeRestriction | undefined,
|
|
2696
2734
|
PolkadotParachainPrimitivesPrimitivesId
|
|
2697
2735
|
>;
|
|
2698
2736
|
|
|
@@ -3034,9 +3072,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3034
3072
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
|
3035
3073
|
* When in doubt, use `Sessions` API instead.
|
|
3036
3074
|
*
|
|
3037
|
-
* @param {Callback<Array<
|
|
3075
|
+
* @param {Callback<Array<PolkadotPrimitivesV9AssignmentAppPublic>> =} callback
|
|
3038
3076
|
**/
|
|
3039
|
-
assignmentKeysUnsafe: GenericStorageQuery<() => Array<
|
|
3077
|
+
assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV9AssignmentAppPublic>>;
|
|
3040
3078
|
|
|
3041
3079
|
/**
|
|
3042
3080
|
* The earliest session for which previous session info is stored.
|
|
@@ -3051,9 +3089,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3051
3089
|
* Does not have any entries before the session index in the first session change notification.
|
|
3052
3090
|
*
|
|
3053
3091
|
* @param {number} arg
|
|
3054
|
-
* @param {Callback<
|
|
3092
|
+
* @param {Callback<PolkadotPrimitivesV9SessionInfo | undefined> =} callback
|
|
3055
3093
|
**/
|
|
3056
|
-
sessions: GenericStorageQuery<(arg: number) =>
|
|
3094
|
+
sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV9SessionInfo | undefined, number>;
|
|
3057
3095
|
|
|
3058
3096
|
/**
|
|
3059
3097
|
* The validator account keys of the validators actively participating in parachain consensus.
|
|
@@ -3067,9 +3105,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3067
3105
|
* Executor parameter set for a given session index
|
|
3068
3106
|
*
|
|
3069
3107
|
* @param {number} arg
|
|
3070
|
-
* @param {Callback<
|
|
3108
|
+
* @param {Callback<PolkadotPrimitivesV9ExecutorParams | undefined> =} callback
|
|
3071
3109
|
**/
|
|
3072
|
-
sessionExecutorParams: GenericStorageQuery<(arg: number) =>
|
|
3110
|
+
sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV9ExecutorParams | undefined, number>;
|
|
3073
3111
|
|
|
3074
3112
|
/**
|
|
3075
3113
|
* Generic pallet storage query
|
|
@@ -3092,10 +3130,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3092
3130
|
* All ongoing or concluded disputes for the last several sessions.
|
|
3093
3131
|
*
|
|
3094
3132
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3095
|
-
* @param {Callback<
|
|
3133
|
+
* @param {Callback<PolkadotPrimitivesV9DisputeState | undefined> =} callback
|
|
3096
3134
|
**/
|
|
3097
3135
|
disputes: GenericStorageQuery<
|
|
3098
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3136
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV9DisputeState | undefined,
|
|
3099
3137
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3100
3138
|
>;
|
|
3101
3139
|
|
|
@@ -3104,10 +3142,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3104
3142
|
* This storage is used for slashing.
|
|
3105
3143
|
*
|
|
3106
3144
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3107
|
-
* @param {Callback<Array<
|
|
3145
|
+
* @param {Callback<Array<PolkadotPrimitivesV9ValidatorIndex> | undefined> =} callback
|
|
3108
3146
|
**/
|
|
3109
3147
|
backersOnDisputes: GenericStorageQuery<
|
|
3110
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<
|
|
3148
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV9ValidatorIndex> | undefined,
|
|
3111
3149
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3112
3150
|
>;
|
|
3113
3151
|
|
|
@@ -3146,10 +3184,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3146
3184
|
* Validators pending dispute slashes.
|
|
3147
3185
|
*
|
|
3148
3186
|
* @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
|
|
3149
|
-
* @param {Callback<
|
|
3187
|
+
* @param {Callback<PolkadotPrimitivesV9SlashingPendingSlashes | undefined> =} callback
|
|
3150
3188
|
**/
|
|
3151
3189
|
unappliedSlashes: GenericStorageQuery<
|
|
3152
|
-
(arg: [number, PolkadotCorePrimitivesCandidateHash]) =>
|
|
3190
|
+
(arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV9SlashingPendingSlashes | undefined,
|
|
3153
3191
|
[number, PolkadotCorePrimitivesCandidateHash]
|
|
3154
3192
|
>;
|
|
3155
3193
|
|
|
@@ -3202,12 +3240,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3202
3240
|
/**
|
|
3203
3241
|
* Queue entries that are currently bound to a particular core due to core affinity.
|
|
3204
3242
|
*
|
|
3205
|
-
* @param {
|
|
3243
|
+
* @param {PolkadotPrimitivesV9CoreIndex} arg
|
|
3206
3244
|
* @param {Callback<BinaryHeapEnqueuedOrder> =} callback
|
|
3207
3245
|
**/
|
|
3208
3246
|
affinityEntries: GenericStorageQuery<
|
|
3209
|
-
(arg:
|
|
3210
|
-
|
|
3247
|
+
(arg: PolkadotPrimitivesV9CoreIndex) => BinaryHeapEnqueuedOrder,
|
|
3248
|
+
PolkadotPrimitivesV9CoreIndex
|
|
3211
3249
|
>;
|
|
3212
3250
|
|
|
3213
3251
|
/**
|
|
@@ -3240,12 +3278,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3240
3278
|
* Assignments as of the given block number. They will go into state once the block number is
|
|
3241
3279
|
* reached (and replace whatever was in there before).
|
|
3242
3280
|
*
|
|
3243
|
-
* @param {[number,
|
|
3281
|
+
* @param {[number, PolkadotPrimitivesV9CoreIndex]} arg
|
|
3244
3282
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
|
|
3245
3283
|
**/
|
|
3246
3284
|
coreSchedules: GenericStorageQuery<
|
|
3247
|
-
(arg: [number,
|
|
3248
|
-
[number,
|
|
3285
|
+
(arg: [number, PolkadotPrimitivesV9CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
|
|
3286
|
+
[number, PolkadotPrimitivesV9CoreIndex]
|
|
3249
3287
|
>;
|
|
3250
3288
|
|
|
3251
3289
|
/**
|
|
@@ -3254,12 +3292,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3254
3292
|
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
|
|
3255
3293
|
* `PendingAssignments`.
|
|
3256
3294
|
*
|
|
3257
|
-
* @param {
|
|
3295
|
+
* @param {PolkadotPrimitivesV9CoreIndex} arg
|
|
3258
3296
|
* @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
|
|
3259
3297
|
**/
|
|
3260
3298
|
coreDescriptors: GenericStorageQuery<
|
|
3261
|
-
(arg:
|
|
3262
|
-
|
|
3299
|
+
(arg: PolkadotPrimitivesV9CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
|
|
3300
|
+
PolkadotPrimitivesV9CoreIndex
|
|
3263
3301
|
>;
|
|
3264
3302
|
|
|
3265
3303
|
/**
|