@dedot/chaintypes 0.14.0 → 0.16.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.
Files changed (51) hide show
  1. package/kusama/consts.d.ts +48 -30
  2. package/kusama/errors.d.ts +89 -100
  3. package/kusama/events.d.ts +87 -28
  4. package/kusama/index.d.ts +1 -1
  5. package/kusama/query.d.ts +241 -130
  6. package/kusama/runtime.d.ts +347 -95
  7. package/kusama/tx.d.ts +3309 -456
  8. package/kusama/types.d.ts +6341 -1092
  9. package/kusama-asset-hub/consts.d.ts +52 -3
  10. package/kusama-asset-hub/errors.d.ts +30 -5
  11. package/kusama-asset-hub/events.d.ts +61 -1
  12. package/kusama-asset-hub/index.d.ts +1 -1
  13. package/kusama-asset-hub/query.d.ts +100 -18
  14. package/kusama-asset-hub/runtime.d.ts +186 -15
  15. package/kusama-asset-hub/tx.d.ts +3074 -254
  16. package/kusama-asset-hub/types.d.ts +6190 -551
  17. package/package.json +2 -2
  18. package/paseo/index.d.ts +1 -1
  19. package/rococo/errors.d.ts +0 -10
  20. package/rococo/events.d.ts +33 -12
  21. package/rococo/index.d.ts +1 -1
  22. package/rococo/query.d.ts +52 -52
  23. package/rococo/runtime.d.ts +117 -58
  24. package/rococo/tx.d.ts +33 -33
  25. package/rococo/types.d.ts +191 -185
  26. package/rococo-asset-hub/consts.d.ts +2 -2
  27. package/rococo-asset-hub/events.d.ts +87 -80
  28. package/rococo-asset-hub/index.d.ts +1 -1
  29. package/rococo-asset-hub/query.d.ts +66 -54
  30. package/rococo-asset-hub/runtime.d.ts +12 -15
  31. package/rococo-asset-hub/tx.d.ts +250 -241
  32. package/rococo-asset-hub/types.d.ts +353 -404
  33. package/westend/consts.d.ts +9 -0
  34. package/westend/errors.d.ts +0 -10
  35. package/westend/events.d.ts +79 -13
  36. package/westend/index.d.ts +1 -1
  37. package/westend/query.d.ts +75 -52
  38. package/westend/runtime.d.ts +133 -58
  39. package/westend/tx.d.ts +72 -35
  40. package/westend/types.d.ts +308 -190
  41. package/westend-asset-hub/consts.d.ts +2 -2
  42. package/westend-asset-hub/events.d.ts +87 -80
  43. package/westend-asset-hub/index.d.ts +1 -1
  44. package/westend-asset-hub/query.d.ts +66 -54
  45. package/westend-asset-hub/runtime.d.ts +12 -15
  46. package/westend-asset-hub/tx.d.ts +250 -241
  47. package/westend-asset-hub/types.d.ts +353 -404
  48. package/westend-people/index.d.ts +1 -1
  49. package/westend-people/query.d.ts +12 -12
  50. package/westend-people/tx.d.ts +1 -58
  51. package/westend-people/types.d.ts +16 -62
@@ -306,6 +306,15 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
306
306
  **/
307
307
  [name: string]: any;
308
308
  };
309
+ /**
310
+ * Pallet `Parameters`'s constants
311
+ **/
312
+ parameters: {
313
+ /**
314
+ * Generic pallet constant
315
+ **/
316
+ [name: string]: any;
317
+ };
309
318
  /**
310
319
  * Pallet `Session`'s constants
311
320
  **/
@@ -796,11 +796,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
796
796
  **/
797
797
  TooFew: GenericPalletError<Rv>;
798
798
 
799
- /**
800
- * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
801
- **/
802
- NoCost: GenericPalletError<Rv>;
803
-
804
799
  /**
805
800
  * Generic pallet error
806
801
  **/
@@ -1675,11 +1670,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
1675
1670
  **/
1676
1671
  InvalidBacking: GenericPalletError<Rv>;
1677
1672
 
1678
- /**
1679
- * Collator did not sign PoV.
1680
- **/
1681
- NotCollatorSigned: GenericPalletError<Rv>;
1682
-
1683
1673
  /**
1684
1674
  * The validation data hash does not match expected.
1685
1675
  **/
@@ -17,6 +17,8 @@ import type {
17
17
  PalletStakingRewardDestination,
18
18
  PalletStakingValidatorPrefs,
19
19
  PalletStakingForcing,
20
+ WestendRuntimeRuntimeParametersKey,
21
+ WestendRuntimeRuntimeParametersValue,
20
22
  SpConsensusGrandpaAppPublic,
21
23
  WestendRuntimeProxyType,
22
24
  PalletMultisigTimepoint,
@@ -26,16 +28,17 @@ import type {
26
28
  PalletNominationPoolsPoolState,
27
29
  PalletNominationPoolsCommissionChangeRate,
28
30
  PalletNominationPoolsCommissionClaimPermission,
31
+ PalletConvictionVotingVoteAccountVote,
29
32
  FrameSupportPreimagesBounded,
30
33
  PalletConvictionVotingTally,
31
34
  FrameSupportDispatchPostDispatchInfo,
32
35
  SpRuntimeDispatchErrorWithPostInfo,
33
36
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
34
37
  XcmVersionedLocation,
35
- PolkadotPrimitivesV7CandidateReceipt,
38
+ PolkadotPrimitivesV8CandidateReceipt,
36
39
  PolkadotParachainPrimitivesPrimitivesHeadData,
37
- PolkadotPrimitivesV7CoreIndex,
38
- PolkadotPrimitivesV7GroupIndex,
40
+ PolkadotPrimitivesV8CoreIndex,
41
+ PolkadotPrimitivesV8GroupIndex,
39
42
  PolkadotParachainPrimitivesPrimitivesId,
40
43
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
41
44
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
@@ -426,6 +429,42 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
426
429
  **/
427
430
  [prop: string]: GenericPalletEvent<Rv>;
428
431
  };
432
+ /**
433
+ * Pallet `Parameters`'s events
434
+ **/
435
+ parameters: {
436
+ /**
437
+ * A Parameter was set.
438
+ *
439
+ * Is also emitted when the value was not changed.
440
+ **/
441
+ Updated: GenericPalletEvent<
442
+ Rv,
443
+ 'Parameters',
444
+ 'Updated',
445
+ {
446
+ /**
447
+ * The key that was updated.
448
+ **/
449
+ key: WestendRuntimeRuntimeParametersKey;
450
+
451
+ /**
452
+ * The old value before this call.
453
+ **/
454
+ oldValue?: WestendRuntimeRuntimeParametersValue | undefined;
455
+
456
+ /**
457
+ * The new value after this call.
458
+ **/
459
+ newValue?: WestendRuntimeRuntimeParametersValue | undefined;
460
+ }
461
+ >;
462
+
463
+ /**
464
+ * Generic pallet event
465
+ **/
466
+ [prop: string]: GenericPalletEvent<Rv>;
467
+ };
429
468
  /**
430
469
  * Pallet `Session`'s events
431
470
  **/
@@ -1176,8 +1215,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1176
1215
  * A member has been removed from a pool.
1177
1216
  *
1178
1217
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1218
+ * Any funds that are still delegated (i.e. dangling delegation) are released and are
1219
+ * represented by `released_balance`.
1179
1220
  **/
1180
- MemberRemoved: GenericPalletEvent<Rv, 'NominationPools', 'MemberRemoved', { poolId: number; member: AccountId32 }>;
1221
+ MemberRemoved: GenericPalletEvent<
1222
+ Rv,
1223
+ 'NominationPools',
1224
+ 'MemberRemoved',
1225
+ { poolId: number; member: AccountId32; releasedBalance: bigint }
1226
+ >;
1181
1227
 
1182
1228
  /**
1183
1229
  * The roles of a pool have been updated to the given new roles. Note that the depositor
@@ -1336,6 +1382,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1336
1382
  **/
1337
1383
  Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
1338
1384
 
1385
+ /**
1386
+ * An account that has voted
1387
+ **/
1388
+ Voted: GenericPalletEvent<
1389
+ Rv,
1390
+ 'ConvictionVoting',
1391
+ 'Voted',
1392
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
1393
+ >;
1394
+
1395
+ /**
1396
+ * A vote that been removed
1397
+ **/
1398
+ VoteRemoved: GenericPalletEvent<
1399
+ Rv,
1400
+ 'ConvictionVoting',
1401
+ 'VoteRemoved',
1402
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
1403
+ >;
1404
+
1339
1405
  /**
1340
1406
  * Generic pallet event
1341
1407
  **/
@@ -1853,10 +1919,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1853
1919
  'ParaInclusion',
1854
1920
  'CandidateBacked',
1855
1921
  [
1856
- PolkadotPrimitivesV7CandidateReceipt,
1922
+ PolkadotPrimitivesV8CandidateReceipt,
1857
1923
  PolkadotParachainPrimitivesPrimitivesHeadData,
1858
- PolkadotPrimitivesV7CoreIndex,
1859
- PolkadotPrimitivesV7GroupIndex,
1924
+ PolkadotPrimitivesV8CoreIndex,
1925
+ PolkadotPrimitivesV8GroupIndex,
1860
1926
  ]
1861
1927
  >;
1862
1928
 
@@ -1868,10 +1934,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1868
1934
  'ParaInclusion',
1869
1935
  'CandidateIncluded',
1870
1936
  [
1871
- PolkadotPrimitivesV7CandidateReceipt,
1937
+ PolkadotPrimitivesV8CandidateReceipt,
1872
1938
  PolkadotParachainPrimitivesPrimitivesHeadData,
1873
- PolkadotPrimitivesV7CoreIndex,
1874
- PolkadotPrimitivesV7GroupIndex,
1939
+ PolkadotPrimitivesV8CoreIndex,
1940
+ PolkadotPrimitivesV8GroupIndex,
1875
1941
  ]
1876
1942
  >;
1877
1943
 
@@ -1883,9 +1949,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1883
1949
  'ParaInclusion',
1884
1950
  'CandidateTimedOut',
1885
1951
  [
1886
- PolkadotPrimitivesV7CandidateReceipt,
1952
+ PolkadotPrimitivesV8CandidateReceipt,
1887
1953
  PolkadotParachainPrimitivesPrimitivesHeadData,
1888
- PolkadotPrimitivesV7CoreIndex,
1954
+ PolkadotPrimitivesV8CoreIndex,
1889
1955
  ]
1890
1956
  >;
1891
1957
 
@@ -2425,7 +2491,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2425
2491
  /**
2426
2492
  * A core has received a new assignment from the broker chain.
2427
2493
  **/
2428
- CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV7CoreIndex }>;
2494
+ CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
2429
2495
 
2430
2496
  /**
2431
2497
  * Generic pallet event
@@ -23,7 +23,7 @@ export interface VersionedWestendApi<Rv extends RpcVersion> extends GenericSubst
23
23
 
24
24
  /**
25
25
  * @name: WestendApi
26
- * @specVersion: 1015000
26
+ * @specVersion: 1016000
27
27
  **/
28
28
  export interface WestendApi {
29
29
  legacy: VersionedWestendApi<RpcLegacy>;
@@ -47,6 +47,8 @@ import type {
47
47
  PalletStakingSlashingSlashingSpans,
48
48
  PalletStakingSlashingSpanRecord,
49
49
  SpStakingOffenceOffenceDetails,
50
+ WestendRuntimeRuntimeParametersValue,
51
+ WestendRuntimeRuntimeParametersKey,
50
52
  WestendRuntimeSessionKeys,
51
53
  SpCoreCryptoKeyTypeId,
52
54
  PalletGrandpaStoredState,
@@ -88,22 +90,22 @@ import type {
88
90
  PalletDelegatedStakingDelegation,
89
91
  PalletDelegatedStakingAgentLedger,
90
92
  PolkadotRuntimeParachainsConfigurationHostConfiguration,
91
- PolkadotPrimitivesV7ValidatorIndex,
92
- PolkadotPrimitivesV7ValidatorAppPublic,
93
+ PolkadotPrimitivesV8ValidatorIndex,
94
+ PolkadotPrimitivesV8ValidatorAppPublic,
93
95
  PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
94
96
  PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
95
97
  PolkadotParachainPrimitivesPrimitivesId,
96
- PolkadotPrimitivesV7ScrapedOnChainVotes,
98
+ PolkadotPrimitivesV8ScrapedOnChainVotes,
97
99
  PolkadotRuntimeParachainsSchedulerPalletCoreOccupied,
98
- PolkadotPrimitivesV7CoreIndex,
100
+ PolkadotPrimitivesV8CoreIndex,
99
101
  PolkadotRuntimeParachainsSchedulerPalletParasEntry,
100
102
  PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
101
103
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
102
104
  PolkadotRuntimeParachainsParasParaLifecycle,
103
105
  PolkadotParachainPrimitivesPrimitivesHeadData,
104
106
  PolkadotRuntimeParachainsParasParaPastCodeMeta,
105
- PolkadotPrimitivesV7UpgradeGoAhead,
106
- PolkadotPrimitivesV7UpgradeRestriction,
107
+ PolkadotPrimitivesV8UpgradeGoAhead,
108
+ PolkadotPrimitivesV8UpgradeRestriction,
107
109
  PolkadotRuntimeParachainsParasParaGenesisArgs,
108
110
  PolkadotParachainPrimitivesPrimitivesValidationCode,
109
111
  PolkadotRuntimeParachainsInitializerBufferedSessionChange,
@@ -112,14 +114,14 @@ import type {
112
114
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
113
115
  PolkadotRuntimeParachainsHrmpHrmpChannel,
114
116
  PolkadotCorePrimitivesInboundHrmpMessage,
115
- PolkadotPrimitivesV7AssignmentAppPublic,
116
- PolkadotPrimitivesV7SessionInfo,
117
- PolkadotPrimitivesV7ExecutorParams,
118
- PolkadotPrimitivesV7DisputeState,
117
+ PolkadotPrimitivesV8AssignmentAppPublic,
118
+ PolkadotPrimitivesV8SessionInfo,
119
+ PolkadotPrimitivesV8ExecutorParams,
120
+ PolkadotPrimitivesV8DisputeState,
119
121
  PolkadotCorePrimitivesCandidateHash,
120
- PolkadotPrimitivesV7SlashingPendingSlashes,
121
- PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount,
122
- PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType,
122
+ PolkadotPrimitivesV8SlashingPendingSlashes,
123
+ PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
124
+ PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
123
125
  BinaryHeapEnqueuedOrder,
124
126
  PolkadotRuntimeParachainsAssignerCoretimeSchedule,
125
127
  PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
@@ -1176,6 +1178,27 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
1176
1178
  **/
1177
1179
  [storage: string]: GenericStorageQuery<Rv>;
1178
1180
  };
1181
+ /**
1182
+ * Pallet `Parameters`'s storage queries
1183
+ **/
1184
+ parameters: {
1185
+ /**
1186
+ * Stored parameters.
1187
+ *
1188
+ * @param {WestendRuntimeRuntimeParametersKey} arg
1189
+ * @param {Callback<WestendRuntimeRuntimeParametersValue | undefined> =} callback
1190
+ **/
1191
+ parameters: GenericStorageQuery<
1192
+ Rv,
1193
+ (arg: WestendRuntimeRuntimeParametersKey) => WestendRuntimeRuntimeParametersValue | undefined,
1194
+ WestendRuntimeRuntimeParametersKey
1195
+ >;
1196
+
1197
+ /**
1198
+ * Generic pallet storage query
1199
+ **/
1200
+ [storage: string]: GenericStorageQuery<Rv>;
1201
+ };
1179
1202
  /**
1180
1203
  * Pallet `Session`'s storage queries
1181
1204
  **/
@@ -2317,17 +2340,17 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2317
2340
  * All the validators actively participating in parachain consensus.
2318
2341
  * Indices are into the broader validator set.
2319
2342
  *
2320
- * @param {Callback<Array<PolkadotPrimitivesV7ValidatorIndex>> =} callback
2343
+ * @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
2321
2344
  **/
2322
- activeValidatorIndices: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV7ValidatorIndex>>;
2345
+ activeValidatorIndices: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8ValidatorIndex>>;
2323
2346
 
2324
2347
  /**
2325
2348
  * The parachain attestation keys of the validators actively participating in parachain
2326
2349
  * consensus. This should be the same length as `ActiveValidatorIndices`.
2327
2350
  *
2328
- * @param {Callback<Array<PolkadotPrimitivesV7ValidatorAppPublic>> =} callback
2351
+ * @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
2329
2352
  **/
2330
- activeValidatorKeys: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV7ValidatorAppPublic>>;
2353
+ activeValidatorKeys: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
2331
2354
 
2332
2355
  /**
2333
2356
  * All allowed relay-parents.
@@ -2387,9 +2410,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2387
2410
  /**
2388
2411
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
2389
2412
  *
2390
- * @param {Callback<PolkadotPrimitivesV7ScrapedOnChainVotes | undefined> =} callback
2413
+ * @param {Callback<PolkadotPrimitivesV8ScrapedOnChainVotes | undefined> =} callback
2391
2414
  **/
2392
- onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesV7ScrapedOnChainVotes | undefined>;
2415
+ onChainVotes: GenericStorageQuery<Rv, () => PolkadotPrimitivesV8ScrapedOnChainVotes | undefined>;
2393
2416
 
2394
2417
  /**
2395
2418
  * Generic pallet storage query
@@ -2409,9 +2432,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2409
2432
  * multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
2410
2433
  * upper bound at 10k.
2411
2434
  *
2412
- * @param {Callback<Array<Array<PolkadotPrimitivesV7ValidatorIndex>>> =} callback
2435
+ * @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
2413
2436
  **/
2414
- validatorGroups: GenericStorageQuery<Rv, () => Array<Array<PolkadotPrimitivesV7ValidatorIndex>>>;
2437
+ validatorGroups: GenericStorageQuery<Rv, () => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
2415
2438
 
2416
2439
  /**
2417
2440
  * One entry for each availability core. The i'th parachain belongs to the i'th core, with the
@@ -2443,11 +2466,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2443
2466
  * scheduled on that core. The value contained here will not be valid after the end of
2444
2467
  * a block. Runtime APIs should be used to determine scheduled cores for the upcoming block.
2445
2468
  *
2446
- * @param {Callback<Array<[PolkadotPrimitivesV7CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>> =} callback
2469
+ * @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>> =} callback
2447
2470
  **/
2448
2471
  claimQueue: GenericStorageQuery<
2449
2472
  Rv,
2450
- () => Array<[PolkadotPrimitivesV7CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>
2473
+ () => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerPalletParasEntry>]>
2451
2474
  >;
2452
2475
 
2453
2476
  /**
@@ -2646,11 +2669,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2646
2669
  * the format will require migration of parachains.
2647
2670
  *
2648
2671
  * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2649
- * @param {Callback<PolkadotPrimitivesV7UpgradeGoAhead | undefined> =} callback
2672
+ * @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
2650
2673
  **/
2651
2674
  upgradeGoAheadSignal: GenericStorageQuery<
2652
2675
  Rv,
2653
- (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV7UpgradeGoAhead | undefined,
2676
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
2654
2677
  PolkadotParachainPrimitivesPrimitivesId
2655
2678
  >;
2656
2679
 
@@ -2666,11 +2689,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
2666
2689
  * the format will require migration of parachains.
2667
2690
  *
2668
2691
  * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2669
- * @param {Callback<PolkadotPrimitivesV7UpgradeRestriction | undefined> =} callback
2692
+ * @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
2670
2693
  **/
2671
2694
  upgradeRestrictionSignal: GenericStorageQuery<
2672
2695
  Rv,
2673
- (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV7UpgradeRestriction | undefined,
2696
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
2674
2697
  PolkadotParachainPrimitivesPrimitivesId
2675
2698
  >;
2676
2699
 
@@ -3037,9 +3060,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3037
3060
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
3038
3061
  * When in doubt, use `Sessions` API instead.
3039
3062
  *
3040
- * @param {Callback<Array<PolkadotPrimitivesV7AssignmentAppPublic>> =} callback
3063
+ * @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
3041
3064
  **/
3042
- assignmentKeysUnsafe: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV7AssignmentAppPublic>>;
3065
+ assignmentKeysUnsafe: GenericStorageQuery<Rv, () => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
3043
3066
 
3044
3067
  /**
3045
3068
  * The earliest session for which previous session info is stored.
@@ -3054,9 +3077,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3054
3077
  * Does not have any entries before the session index in the first session change notification.
3055
3078
  *
3056
3079
  * @param {number} arg
3057
- * @param {Callback<PolkadotPrimitivesV7SessionInfo | undefined> =} callback
3080
+ * @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
3058
3081
  **/
3059
- sessions: GenericStorageQuery<Rv, (arg: number) => PolkadotPrimitivesV7SessionInfo | undefined, number>;
3082
+ sessions: GenericStorageQuery<Rv, (arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
3060
3083
 
3061
3084
  /**
3062
3085
  * The validator account keys of the validators actively participating in parachain consensus.
@@ -3070,11 +3093,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3070
3093
  * Executor parameter set for a given session index
3071
3094
  *
3072
3095
  * @param {number} arg
3073
- * @param {Callback<PolkadotPrimitivesV7ExecutorParams | undefined> =} callback
3096
+ * @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
3074
3097
  **/
3075
3098
  sessionExecutorParams: GenericStorageQuery<
3076
3099
  Rv,
3077
- (arg: number) => PolkadotPrimitivesV7ExecutorParams | undefined,
3100
+ (arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined,
3078
3101
  number
3079
3102
  >;
3080
3103
 
@@ -3099,11 +3122,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3099
3122
  * All ongoing or concluded disputes for the last several sessions.
3100
3123
  *
3101
3124
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3102
- * @param {Callback<PolkadotPrimitivesV7DisputeState | undefined> =} callback
3125
+ * @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
3103
3126
  **/
3104
3127
  disputes: GenericStorageQuery<
3105
3128
  Rv,
3106
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV7DisputeState | undefined,
3129
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
3107
3130
  [number, PolkadotCorePrimitivesCandidateHash]
3108
3131
  >;
3109
3132
 
@@ -3112,11 +3135,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3112
3135
  * This storage is used for slashing.
3113
3136
  *
3114
3137
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3115
- * @param {Callback<Array<PolkadotPrimitivesV7ValidatorIndex> | undefined> =} callback
3138
+ * @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
3116
3139
  **/
3117
3140
  backersOnDisputes: GenericStorageQuery<
3118
3141
  Rv,
3119
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV7ValidatorIndex> | undefined,
3142
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
3120
3143
  [number, PolkadotCorePrimitivesCandidateHash]
3121
3144
  >;
3122
3145
 
@@ -3156,11 +3179,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3156
3179
  * Validators pending dispute slashes.
3157
3180
  *
3158
3181
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3159
- * @param {Callback<PolkadotPrimitivesV7SlashingPendingSlashes | undefined> =} callback
3182
+ * @param {Callback<PolkadotPrimitivesV8SlashingPendingSlashes | undefined> =} callback
3160
3183
  **/
3161
3184
  unappliedSlashes: GenericStorageQuery<
3162
3185
  Rv,
3163
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV7SlashingPendingSlashes | undefined,
3186
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8SlashingPendingSlashes | undefined,
3164
3187
  [number, PolkadotCorePrimitivesCandidateHash]
3165
3188
  >;
3166
3189
 
@@ -3187,22 +3210,22 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3187
3210
  * `ParaId` on two or more `CoreIndex`es.
3188
3211
  *
3189
3212
  * @param {PolkadotParachainPrimitivesPrimitivesId} arg
3190
- * @param {Callback<PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount | undefined> =} callback
3213
+ * @param {Callback<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined> =} callback
3191
3214
  **/
3192
3215
  paraIdAffinity: GenericStorageQuery<
3193
3216
  Rv,
3194
3217
  (
3195
3218
  arg: PolkadotParachainPrimitivesPrimitivesId,
3196
- ) => PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount | undefined,
3219
+ ) => PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount | undefined,
3197
3220
  PolkadotParachainPrimitivesPrimitivesId
3198
3221
  >;
3199
3222
 
3200
3223
  /**
3201
3224
  * Overall status of queue (both free + affinity entries)
3202
3225
  *
3203
- * @param {Callback<PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType> =} callback
3226
+ * @param {Callback<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType> =} callback
3204
3227
  **/
3205
- queueStatus: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType>;
3228
+ queueStatus: GenericStorageQuery<Rv, () => PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>;
3206
3229
 
3207
3230
  /**
3208
3231
  * Priority queue for all orders which don't yet (or not any more) have any core affinity.
@@ -3214,13 +3237,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3214
3237
  /**
3215
3238
  * Queue entries that are currently bound to a particular core due to core affinity.
3216
3239
  *
3217
- * @param {PolkadotPrimitivesV7CoreIndex} arg
3240
+ * @param {PolkadotPrimitivesV8CoreIndex} arg
3218
3241
  * @param {Callback<BinaryHeapEnqueuedOrder> =} callback
3219
3242
  **/
3220
3243
  affinityEntries: GenericStorageQuery<
3221
3244
  Rv,
3222
- (arg: PolkadotPrimitivesV7CoreIndex) => BinaryHeapEnqueuedOrder,
3223
- PolkadotPrimitivesV7CoreIndex
3245
+ (arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
3246
+ PolkadotPrimitivesV8CoreIndex
3224
3247
  >;
3225
3248
 
3226
3249
  /**
@@ -3245,13 +3268,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3245
3268
  * Assignments as of the given block number. They will go into state once the block number is
3246
3269
  * reached (and replace whatever was in there before).
3247
3270
  *
3248
- * @param {[number, PolkadotPrimitivesV7CoreIndex]} arg
3271
+ * @param {[number, PolkadotPrimitivesV8CoreIndex]} arg
3249
3272
  * @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
3250
3273
  **/
3251
3274
  coreSchedules: GenericStorageQuery<
3252
3275
  Rv,
3253
- (arg: [number, PolkadotPrimitivesV7CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
3254
- [number, PolkadotPrimitivesV7CoreIndex]
3276
+ (arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
3277
+ [number, PolkadotPrimitivesV8CoreIndex]
3255
3278
  >;
3256
3279
 
3257
3280
  /**
@@ -3260,13 +3283,13 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
3260
3283
  * They will be picked from `PendingAssignments` once we reach the scheduled block number in
3261
3284
  * `PendingAssignments`.
3262
3285
  *
3263
- * @param {PolkadotPrimitivesV7CoreIndex} arg
3286
+ * @param {PolkadotPrimitivesV8CoreIndex} arg
3264
3287
  * @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
3265
3288
  **/
3266
3289
  coreDescriptors: GenericStorageQuery<
3267
3290
  Rv,
3268
- (arg: PolkadotPrimitivesV7CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
3269
- PolkadotPrimitivesV7CoreIndex
3291
+ (arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
3292
+ PolkadotPrimitivesV8CoreIndex
3270
3293
  >;
3271
3294
 
3272
3295
  /**