@dedot/chaintypes 0.246.0 → 0.248.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.246.0",
3
+ "version": "0.248.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": "974baa7acbcc2cae23a3d75424bdd7cc7d944a69",
28
+ "gitHead": "f740a62a84f658a717070addcdd11094669b5e41",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {
@@ -2622,6 +2622,11 @@ export interface ChainErrors extends GenericChainErrors {
2622
2622
  **/
2623
2623
  InvalidEquivocationProofSession: GenericPalletError;
2624
2624
 
2625
+ /**
2626
+ * The session of the equivocation proof is not in the mapping (anymore)
2627
+ **/
2628
+ InvalidEquivocationProofSessionMember: GenericPalletError;
2629
+
2625
2630
  /**
2626
2631
  * A given equivocation report is valid but already previously reported.
2627
2632
  **/
@@ -15,6 +15,7 @@ import type {
15
15
  import type {
16
16
  FrameSystemDispatchEventInfo,
17
17
  FrameSupportTokensMiscBalanceStatus,
18
+ PolkadotRuntimeRuntimeHoldReason,
18
19
  PalletBalancesUnexpectedKind,
19
20
  PalletStakingRewardDestination,
20
21
  PalletStakingValidatorPrefs,
@@ -38,10 +39,11 @@ import type {
38
39
  PalletNominationPoolsCommissionClaimPermission,
39
40
  PalletNominationPoolsClaimPermission,
40
41
  PalletStakingAsyncAhClientUnexpectedKind,
41
- PolkadotPrimitivesVstagingCandidateReceiptV2,
42
+ PalletStakingAsyncAhClientSessionKeysUpdate,
43
+ PolkadotPrimitivesV9CandidateReceiptV2,
42
44
  PolkadotParachainPrimitivesPrimitivesHeadData,
43
- PolkadotPrimitivesV8CoreIndex,
44
- PolkadotPrimitivesV8GroupIndex,
45
+ PolkadotPrimitivesV9CoreIndex,
46
+ PolkadotPrimitivesV9GroupIndex,
45
47
  PolkadotParachainPrimitivesPrimitivesId,
46
48
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
47
49
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
@@ -335,11 +337,21 @@ export interface ChainEvents extends GenericChainEvents {
335
337
  **/
336
338
  Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
337
339
 
340
+ /**
341
+ * Some credit was balanced and added to the TotalIssuance.
342
+ **/
343
+ MintedCredit: GenericPalletEvent<'Balances', 'MintedCredit', { amount: bigint }>;
344
+
338
345
  /**
339
346
  * Some amount was burned from an account.
340
347
  **/
341
348
  Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
342
349
 
350
+ /**
351
+ * Some debt has been dropped from the Total Issuance.
352
+ **/
353
+ BurnedDebt: GenericPalletEvent<'Balances', 'BurnedDebt', { amount: bigint }>;
354
+
343
355
  /**
344
356
  * Some amount was suspended from an account (it can be restored later).
345
357
  **/
@@ -390,6 +402,51 @@ export interface ChainEvents extends GenericChainEvents {
390
402
  **/
391
403
  TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
392
404
 
405
+ /**
406
+ * Some balance was placed on hold.
407
+ **/
408
+ Held: GenericPalletEvent<
409
+ 'Balances',
410
+ 'Held',
411
+ { reason: PolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
412
+ >;
413
+
414
+ /**
415
+ * Held balance was burned from an account.
416
+ **/
417
+ BurnedHeld: GenericPalletEvent<
418
+ 'Balances',
419
+ 'BurnedHeld',
420
+ { reason: PolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
421
+ >;
422
+
423
+ /**
424
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
425
+ **/
426
+ TransferOnHold: GenericPalletEvent<
427
+ 'Balances',
428
+ 'TransferOnHold',
429
+ { reason: PolkadotRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
430
+ >;
431
+
432
+ /**
433
+ * The `transferred` balance is placed on hold at the `dest` account.
434
+ **/
435
+ TransferAndHold: GenericPalletEvent<
436
+ 'Balances',
437
+ 'TransferAndHold',
438
+ { reason: PolkadotRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
439
+ >;
440
+
441
+ /**
442
+ * Some balance was released from hold.
443
+ **/
444
+ Released: GenericPalletEvent<
445
+ 'Balances',
446
+ 'Released',
447
+ { reason: PolkadotRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
448
+ >;
449
+
393
450
  /**
394
451
  * An unexpected/defensive event was triggered.
395
452
  **/
@@ -733,12 +790,12 @@ export interface ChainEvents extends GenericChainEvents {
733
790
  /**
734
791
  * An account has delegated their vote to another account. \[who, target\]
735
792
  **/
736
- Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
793
+ Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32, number]>;
737
794
 
738
795
  /**
739
796
  * An \[account\] has cancelled a previous delegation operation.
740
797
  **/
741
- Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
798
+ Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', [AccountId32, number]>;
742
799
 
743
800
  /**
744
801
  * An account has voted
@@ -746,7 +803,7 @@ export interface ChainEvents extends GenericChainEvents {
746
803
  Voted: GenericPalletEvent<
747
804
  'ConvictionVoting',
748
805
  'Voted',
749
- { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
806
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
750
807
  >;
751
808
 
752
809
  /**
@@ -755,7 +812,7 @@ export interface ChainEvents extends GenericChainEvents {
755
812
  VoteRemoved: GenericPalletEvent<
756
813
  'ConvictionVoting',
757
814
  'VoteRemoved',
758
- { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
815
+ { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote; pollIndex: number }
759
816
  >;
760
817
 
761
818
  /**
@@ -1219,6 +1276,8 @@ export interface ChainEvents extends GenericChainEvents {
1219
1276
  who: AccountId32;
1220
1277
  proxyType: PolkadotRuntimeConstantsProxyProxyType;
1221
1278
  disambiguationIndex: number;
1279
+ at: number;
1280
+ extrinsicIndex: number;
1222
1281
  }
1223
1282
  >;
1224
1283
 
@@ -1878,6 +1937,25 @@ export interface ChainEvents extends GenericChainEvents {
1878
1937
  **/
1879
1938
  Unexpected: GenericPalletEvent<'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
1880
1939
 
1940
+ /**
1941
+ * Session keys updated for a validator.
1942
+ **/
1943
+ SessionKeysUpdated: GenericPalletEvent<
1944
+ 'StakingAhClient',
1945
+ 'SessionKeysUpdated',
1946
+ { stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate }
1947
+ >;
1948
+
1949
+ /**
1950
+ * Session key update from AssetHub failed on the relay chain.
1951
+ * Logged as an event for fail-safe observability.
1952
+ **/
1953
+ SessionKeysUpdateFailed: GenericPalletEvent<
1954
+ 'StakingAhClient',
1955
+ 'SessionKeysUpdateFailed',
1956
+ { stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate; error: DispatchError }
1957
+ >;
1958
+
1881
1959
  /**
1882
1960
  * Generic pallet event
1883
1961
  **/
@@ -1894,10 +1972,10 @@ export interface ChainEvents extends GenericChainEvents {
1894
1972
  'ParaInclusion',
1895
1973
  'CandidateBacked',
1896
1974
  [
1897
- PolkadotPrimitivesVstagingCandidateReceiptV2,
1975
+ PolkadotPrimitivesV9CandidateReceiptV2,
1898
1976
  PolkadotParachainPrimitivesPrimitivesHeadData,
1899
- PolkadotPrimitivesV8CoreIndex,
1900
- PolkadotPrimitivesV8GroupIndex,
1977
+ PolkadotPrimitivesV9CoreIndex,
1978
+ PolkadotPrimitivesV9GroupIndex,
1901
1979
  ]
1902
1980
  >;
1903
1981
 
@@ -1908,10 +1986,10 @@ export interface ChainEvents extends GenericChainEvents {
1908
1986
  'ParaInclusion',
1909
1987
  'CandidateIncluded',
1910
1988
  [
1911
- PolkadotPrimitivesVstagingCandidateReceiptV2,
1989
+ PolkadotPrimitivesV9CandidateReceiptV2,
1912
1990
  PolkadotParachainPrimitivesPrimitivesHeadData,
1913
- PolkadotPrimitivesV8CoreIndex,
1914
- PolkadotPrimitivesV8GroupIndex,
1991
+ PolkadotPrimitivesV9CoreIndex,
1992
+ PolkadotPrimitivesV9GroupIndex,
1915
1993
  ]
1916
1994
  >;
1917
1995
 
@@ -1922,9 +2000,9 @@ export interface ChainEvents extends GenericChainEvents {
1922
2000
  'ParaInclusion',
1923
2001
  'CandidateTimedOut',
1924
2002
  [
1925
- PolkadotPrimitivesVstagingCandidateReceiptV2,
2003
+ PolkadotPrimitivesV9CandidateReceiptV2,
1926
2004
  PolkadotParachainPrimitivesPrimitivesHeadData,
1927
- PolkadotPrimitivesV8CoreIndex,
2005
+ PolkadotPrimitivesV9CoreIndex,
1928
2006
  ]
1929
2007
  >;
1930
2008
 
@@ -2425,7 +2503,7 @@ export interface ChainEvents extends GenericChainEvents {
2425
2503
  /**
2426
2504
  * A core has received a new assignment from the broker chain.
2427
2505
  **/
2428
- CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
2506
+ CoreAssigned: GenericPalletEvent<'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV9CoreIndex }>;
2429
2507
 
2430
2508
  /**
2431
2509
  * Generic pallet event
@@ -50,7 +50,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
50
50
 
51
51
  /**
52
52
  * @name: PolkadotApi
53
- * @specVersion: 2000007
53
+ * @specVersion: 2001001
54
54
  **/
55
55
  export interface PolkadotApi extends GenericSubstrateApi {
56
56
  rpc: ChainJsonRpcApis;
@@ -94,13 +94,13 @@ import type {
94
94
  PalletStakingAsyncRcClientSessionReport,
95
95
  PalletStakingAsyncRcClientOffence,
96
96
  PolkadotRuntimeParachainsConfigurationHostConfiguration,
97
- PolkadotPrimitivesV8ValidatorIndex,
98
- PolkadotPrimitivesV8ValidatorAppPublic,
97
+ PolkadotPrimitivesV9ValidatorIndex,
98
+ PolkadotPrimitivesV9ValidatorAppPublic,
99
99
  PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker,
100
100
  PolkadotRuntimeParachainsInclusionCandidatePendingAvailability,
101
101
  PolkadotParachainPrimitivesPrimitivesId,
102
- PolkadotPrimitivesVstagingScrapedOnChainVotes,
103
- PolkadotPrimitivesV8CoreIndex,
102
+ PolkadotPrimitivesV9ScrapedOnChainVotes,
103
+ PolkadotPrimitivesV9CoreIndex,
104
104
  PolkadotRuntimeParachainsSchedulerCommonAssignment,
105
105
  PolkadotRuntimeParachainsParasPvfCheckActiveVoteState,
106
106
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
@@ -108,8 +108,8 @@ import type {
108
108
  PolkadotParachainPrimitivesPrimitivesHeadData,
109
109
  PolkadotRuntimeParachainsParasParaPastCodeMeta,
110
110
  PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry,
111
- PolkadotPrimitivesV8UpgradeGoAhead,
112
- PolkadotPrimitivesV8UpgradeRestriction,
111
+ PolkadotPrimitivesV9UpgradeGoAhead,
112
+ PolkadotPrimitivesV9UpgradeRestriction,
113
113
  PolkadotRuntimeParachainsParasParaGenesisArgs,
114
114
  PolkadotParachainPrimitivesPrimitivesValidationCode,
115
115
  PolkadotRuntimeParachainsInitializerBufferedSessionChange,
@@ -118,12 +118,12 @@ import type {
118
118
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
119
119
  PolkadotRuntimeParachainsHrmpHrmpChannel,
120
120
  PolkadotCorePrimitivesInboundHrmpMessage,
121
- PolkadotPrimitivesV8AssignmentAppPublic,
122
- PolkadotPrimitivesV8SessionInfo,
123
- PolkadotPrimitivesV8ExecutorParams,
124
- PolkadotPrimitivesV8DisputeState,
121
+ PolkadotPrimitivesV9AssignmentAppPublic,
122
+ PolkadotPrimitivesV9SessionInfo,
123
+ PolkadotPrimitivesV9ExecutorParams,
124
+ PolkadotPrimitivesV9DisputeState,
125
125
  PolkadotCorePrimitivesCandidateHash,
126
- PolkadotPrimitivesVstagingPendingSlashes,
126
+ PolkadotPrimitivesV9SlashingPendingSlashes,
127
127
  PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount,
128
128
  PolkadotRuntimeParachainsOnDemandTypesQueueStatusType,
129
129
  BinaryHeapEnqueuedOrder,
@@ -1331,6 +1331,17 @@ export interface ChainStorage extends GenericChainStorage {
1331
1331
  [SpCoreCryptoKeyTypeId, Bytes]
1332
1332
  >;
1333
1333
 
1334
+ /**
1335
+ * Accounts whose keys were set via `SessionInterface` (external path) without
1336
+ * incrementing the consumer reference or placing a key deposit. `do_purge_keys`
1337
+ * only decrements consumers for accounts that were registered through the local
1338
+ * session pallet.
1339
+ *
1340
+ * @param {AccountId32Like} arg
1341
+ * @param {Callback<[] | undefined> =} callback
1342
+ **/
1343
+ externallySetKeys: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
1344
+
1334
1345
  /**
1335
1346
  * Generic pallet storage query
1336
1347
  **/
@@ -2008,6 +2019,34 @@ export interface ChainStorage extends GenericChainStorage {
2008
2019
  **/
2009
2020
  lock: GenericStorageQuery<() => [] | undefined>;
2010
2021
 
2022
+ /**
2023
+ * Accounts that failed to be inserted into the bags-list due to locking.
2024
+ * These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
2025
+ *
2026
+ * Note: This storage is intentionally unbounded. The following factors make bounding
2027
+ * unnecessary:
2028
+ * 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
2029
+ * 2. The pallet is only locked during snapshot generation, which is weight-limited
2030
+ * 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
2031
+ * 4. An artificial limit could be exhausted by an attacker, preventing legitimate
2032
+ * auto-rebagging from putting accounts in the correct position
2033
+ *
2034
+ * We don't store the score here - it's always fetched from `ScoreProvider` when processing,
2035
+ * ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
2036
+ * while waiting in the queue).
2037
+ *
2038
+ * @param {AccountId32Like} arg
2039
+ * @param {Callback<[] | undefined> =} callback
2040
+ **/
2041
+ pendingRebag: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
2042
+
2043
+ /**
2044
+ * Counter for the related counted storage map
2045
+ *
2046
+ * @param {Callback<number> =} callback
2047
+ **/
2048
+ counterForPendingRebag: GenericStorageQuery<() => number>;
2049
+
2011
2050
  /**
2012
2051
  * Generic pallet storage query
2013
2052
  **/
@@ -2445,17 +2484,17 @@ export interface ChainStorage extends GenericChainStorage {
2445
2484
  * All the validators actively participating in parachain consensus.
2446
2485
  * Indices are into the broader validator set.
2447
2486
  *
2448
- * @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex>> =} callback
2487
+ * @param {Callback<Array<PolkadotPrimitivesV9ValidatorIndex>> =} callback
2449
2488
  **/
2450
- activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorIndex>>;
2489
+ activeValidatorIndices: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorIndex>>;
2451
2490
 
2452
2491
  /**
2453
2492
  * The parachain attestation keys of the validators actively participating in parachain
2454
2493
  * consensus. This should be the same length as `ActiveValidatorIndices`.
2455
2494
  *
2456
- * @param {Callback<Array<PolkadotPrimitivesV8ValidatorAppPublic>> =} callback
2495
+ * @param {Callback<Array<PolkadotPrimitivesV9ValidatorAppPublic>> =} callback
2457
2496
  **/
2458
- activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV8ValidatorAppPublic>>;
2497
+ activeValidatorKeys: GenericStorageQuery<() => Array<PolkadotPrimitivesV9ValidatorAppPublic>>;
2459
2498
 
2460
2499
  /**
2461
2500
  * All allowed relay-parents.
@@ -2514,9 +2553,9 @@ export interface ChainStorage extends GenericChainStorage {
2514
2553
  /**
2515
2554
  * Scraped on chain data for extracting resolved disputes as well as backing votes.
2516
2555
  *
2517
- * @param {Callback<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined> =} callback
2556
+ * @param {Callback<PolkadotPrimitivesV9ScrapedOnChainVotes | undefined> =} callback
2518
2557
  **/
2519
- onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>;
2558
+ onChainVotes: GenericStorageQuery<() => PolkadotPrimitivesV9ScrapedOnChainVotes | undefined>;
2520
2559
 
2521
2560
  /**
2522
2561
  * Generic pallet storage query
@@ -2536,9 +2575,9 @@ export interface ChainStorage extends GenericChainStorage {
2536
2575
  * multiplexers. Reasonably, 100-1000. The dominant factor is the number of validators: safe
2537
2576
  * upper bound at 10k.
2538
2577
  *
2539
- * @param {Callback<Array<Array<PolkadotPrimitivesV8ValidatorIndex>>> =} callback
2578
+ * @param {Callback<Array<Array<PolkadotPrimitivesV9ValidatorIndex>>> =} callback
2540
2579
  **/
2541
- validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
2580
+ validatorGroups: GenericStorageQuery<() => Array<Array<PolkadotPrimitivesV9ValidatorIndex>>>;
2542
2581
 
2543
2582
  /**
2544
2583
  * The block number where the session start occurred. Used to track how many group rotations
@@ -2557,10 +2596,10 @@ export interface ChainStorage extends GenericChainStorage {
2557
2596
  * One entry for each availability core. The `VecDeque` represents the assignments to be
2558
2597
  * scheduled on that core.
2559
2598
  *
2560
- * @param {Callback<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
2599
+ * @param {Callback<Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>> =} callback
2561
2600
  **/
2562
2601
  claimQueue: GenericStorageQuery<
2563
- () => Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
2602
+ () => Array<[PolkadotPrimitivesV9CoreIndex, Array<PolkadotRuntimeParachainsSchedulerCommonAssignment>]>
2564
2603
  >;
2565
2604
 
2566
2605
  /**
@@ -2763,10 +2802,10 @@ export interface ChainStorage extends GenericChainStorage {
2763
2802
  * the format will require migration of parachains.
2764
2803
  *
2765
2804
  * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2766
- * @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
2805
+ * @param {Callback<PolkadotPrimitivesV9UpgradeGoAhead | undefined> =} callback
2767
2806
  **/
2768
2807
  upgradeGoAheadSignal: GenericStorageQuery<
2769
- (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeGoAhead | undefined,
2808
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV9UpgradeGoAhead | undefined,
2770
2809
  PolkadotParachainPrimitivesPrimitivesId
2771
2810
  >;
2772
2811
 
@@ -2782,10 +2821,10 @@ export interface ChainStorage extends GenericChainStorage {
2782
2821
  * the format will require migration of parachains.
2783
2822
  *
2784
2823
  * @param {PolkadotParachainPrimitivesPrimitivesId} arg
2785
- * @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
2824
+ * @param {Callback<PolkadotPrimitivesV9UpgradeRestriction | undefined> =} callback
2786
2825
  **/
2787
2826
  upgradeRestrictionSignal: GenericStorageQuery<
2788
- (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV8UpgradeRestriction | undefined,
2827
+ (arg: PolkadotParachainPrimitivesPrimitivesId) => PolkadotPrimitivesV9UpgradeRestriction | undefined,
2789
2828
  PolkadotParachainPrimitivesPrimitivesId
2790
2829
  >;
2791
2830
 
@@ -3127,9 +3166,9 @@ export interface ChainStorage extends GenericChainStorage {
3127
3166
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
3128
3167
  * When in doubt, use `Sessions` API instead.
3129
3168
  *
3130
- * @param {Callback<Array<PolkadotPrimitivesV8AssignmentAppPublic>> =} callback
3169
+ * @param {Callback<Array<PolkadotPrimitivesV9AssignmentAppPublic>> =} callback
3131
3170
  **/
3132
- assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV8AssignmentAppPublic>>;
3171
+ assignmentKeysUnsafe: GenericStorageQuery<() => Array<PolkadotPrimitivesV9AssignmentAppPublic>>;
3133
3172
 
3134
3173
  /**
3135
3174
  * The earliest session for which previous session info is stored.
@@ -3144,9 +3183,9 @@ export interface ChainStorage extends GenericChainStorage {
3144
3183
  * Does not have any entries before the session index in the first session change notification.
3145
3184
  *
3146
3185
  * @param {number} arg
3147
- * @param {Callback<PolkadotPrimitivesV8SessionInfo | undefined> =} callback
3186
+ * @param {Callback<PolkadotPrimitivesV9SessionInfo | undefined> =} callback
3148
3187
  **/
3149
- sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8SessionInfo | undefined, number>;
3188
+ sessions: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV9SessionInfo | undefined, number>;
3150
3189
 
3151
3190
  /**
3152
3191
  * The validator account keys of the validators actively participating in parachain consensus.
@@ -3160,9 +3199,9 @@ export interface ChainStorage extends GenericChainStorage {
3160
3199
  * Executor parameter set for a given session index
3161
3200
  *
3162
3201
  * @param {number} arg
3163
- * @param {Callback<PolkadotPrimitivesV8ExecutorParams | undefined> =} callback
3202
+ * @param {Callback<PolkadotPrimitivesV9ExecutorParams | undefined> =} callback
3164
3203
  **/
3165
- sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV8ExecutorParams | undefined, number>;
3204
+ sessionExecutorParams: GenericStorageQuery<(arg: number) => PolkadotPrimitivesV9ExecutorParams | undefined, number>;
3166
3205
 
3167
3206
  /**
3168
3207
  * Generic pallet storage query
@@ -3185,10 +3224,10 @@ export interface ChainStorage extends GenericChainStorage {
3185
3224
  * All ongoing or concluded disputes for the last several sessions.
3186
3225
  *
3187
3226
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3188
- * @param {Callback<PolkadotPrimitivesV8DisputeState | undefined> =} callback
3227
+ * @param {Callback<PolkadotPrimitivesV9DisputeState | undefined> =} callback
3189
3228
  **/
3190
3229
  disputes: GenericStorageQuery<
3191
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV8DisputeState | undefined,
3230
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV9DisputeState | undefined,
3192
3231
  [number, PolkadotCorePrimitivesCandidateHash]
3193
3232
  >;
3194
3233
 
@@ -3197,10 +3236,10 @@ export interface ChainStorage extends GenericChainStorage {
3197
3236
  * This storage is used for slashing.
3198
3237
  *
3199
3238
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3200
- * @param {Callback<Array<PolkadotPrimitivesV8ValidatorIndex> | undefined> =} callback
3239
+ * @param {Callback<Array<PolkadotPrimitivesV9ValidatorIndex> | undefined> =} callback
3201
3240
  **/
3202
3241
  backersOnDisputes: GenericStorageQuery<
3203
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV8ValidatorIndex> | undefined,
3242
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => Array<PolkadotPrimitivesV9ValidatorIndex> | undefined,
3204
3243
  [number, PolkadotCorePrimitivesCandidateHash]
3205
3244
  >;
3206
3245
 
@@ -3239,10 +3278,10 @@ export interface ChainStorage extends GenericChainStorage {
3239
3278
  * Validators pending dispute slashes.
3240
3279
  *
3241
3280
  * @param {[number, PolkadotCorePrimitivesCandidateHash]} arg
3242
- * @param {Callback<PolkadotPrimitivesVstagingPendingSlashes | undefined> =} callback
3281
+ * @param {Callback<PolkadotPrimitivesV9SlashingPendingSlashes | undefined> =} callback
3243
3282
  **/
3244
3283
  unappliedSlashes: GenericStorageQuery<
3245
- (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesVstagingPendingSlashes | undefined,
3284
+ (arg: [number, PolkadotCorePrimitivesCandidateHash]) => PolkadotPrimitivesV9SlashingPendingSlashes | undefined,
3246
3285
  [number, PolkadotCorePrimitivesCandidateHash]
3247
3286
  >;
3248
3287
 
@@ -3295,12 +3334,12 @@ export interface ChainStorage extends GenericChainStorage {
3295
3334
  /**
3296
3335
  * Queue entries that are currently bound to a particular core due to core affinity.
3297
3336
  *
3298
- * @param {PolkadotPrimitivesV8CoreIndex} arg
3337
+ * @param {PolkadotPrimitivesV9CoreIndex} arg
3299
3338
  * @param {Callback<BinaryHeapEnqueuedOrder> =} callback
3300
3339
  **/
3301
3340
  affinityEntries: GenericStorageQuery<
3302
- (arg: PolkadotPrimitivesV8CoreIndex) => BinaryHeapEnqueuedOrder,
3303
- PolkadotPrimitivesV8CoreIndex
3341
+ (arg: PolkadotPrimitivesV9CoreIndex) => BinaryHeapEnqueuedOrder,
3342
+ PolkadotPrimitivesV9CoreIndex
3304
3343
  >;
3305
3344
 
3306
3345
  /**
@@ -3333,12 +3372,12 @@ export interface ChainStorage extends GenericChainStorage {
3333
3372
  * Assignments as of the given block number. They will go into state once the block number is
3334
3373
  * reached (and replace whatever was in there before).
3335
3374
  *
3336
- * @param {[number, PolkadotPrimitivesV8CoreIndex]} arg
3375
+ * @param {[number, PolkadotPrimitivesV9CoreIndex]} arg
3337
3376
  * @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined> =} callback
3338
3377
  **/
3339
3378
  coreSchedules: GenericStorageQuery<
3340
- (arg: [number, PolkadotPrimitivesV8CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
3341
- [number, PolkadotPrimitivesV8CoreIndex]
3379
+ (arg: [number, PolkadotPrimitivesV9CoreIndex]) => PolkadotRuntimeParachainsAssignerCoretimeSchedule | undefined,
3380
+ [number, PolkadotPrimitivesV9CoreIndex]
3342
3381
  >;
3343
3382
 
3344
3383
  /**
@@ -3347,12 +3386,12 @@ export interface ChainStorage extends GenericChainStorage {
3347
3386
  * They will be picked from `PendingAssignments` once we reach the scheduled block number in
3348
3387
  * `PendingAssignments`.
3349
3388
  *
3350
- * @param {PolkadotPrimitivesV8CoreIndex} arg
3389
+ * @param {PolkadotPrimitivesV9CoreIndex} arg
3351
3390
  * @param {Callback<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor> =} callback
3352
3391
  **/
3353
3392
  coreDescriptors: GenericStorageQuery<
3354
- (arg: PolkadotPrimitivesV8CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
3355
- PolkadotPrimitivesV8CoreIndex
3393
+ (arg: PolkadotPrimitivesV9CoreIndex) => PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor,
3394
+ PolkadotPrimitivesV9CoreIndex
3356
3395
  >;
3357
3396
 
3358
3397
  /**