@dedot/chaintypes 0.239.0 → 0.241.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.
@@ -1829,14 +1829,16 @@ export type WestendRuntimeDynamicParamsInflationUseAuctionSlots = {};
1829
1829
  export type PalletSessionCall =
1830
1830
  /**
1831
1831
  * Sets the session key(s) of the function caller to `keys`.
1832
+ *
1832
1833
  * Allows an account to set its session key prior to becoming a validator.
1833
1834
  * This doesn't take effect until the next session.
1834
1835
  *
1835
- * The dispatch origin of this function must be signed.
1836
- *
1837
- * ## Complexity
1838
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
1839
- * fixed.
1836
+ * - `origin`: The dispatch origin of this function must be signed.
1837
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
1838
+ * setup in the runtime.
1839
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
1840
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
1841
+ * proof format.
1840
1842
  **/
1841
1843
  | { name: 'SetKeys'; params: { keys: WestendRuntimeSessionKeys; proof: Bytes } }
1842
1844
  /**
@@ -1848,24 +1850,22 @@ export type PalletSessionCall =
1848
1850
  * convertible to a validator ID using the chain's typical addressing system (this usually
1849
1851
  * means being a controller account) or directly convertible into a validator ID (which
1850
1852
  * usually means being a stash account).
1851
- *
1852
- * ## Complexity
1853
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
1854
- * `T::Keys::key_ids()` which is fixed.
1855
1853
  **/
1856
1854
  | { name: 'PurgeKeys' };
1857
1855
 
1858
1856
  export type PalletSessionCallLike =
1859
1857
  /**
1860
1858
  * Sets the session key(s) of the function caller to `keys`.
1859
+ *
1861
1860
  * Allows an account to set its session key prior to becoming a validator.
1862
1861
  * This doesn't take effect until the next session.
1863
1862
  *
1864
- * The dispatch origin of this function must be signed.
1865
- *
1866
- * ## Complexity
1867
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
1868
- * fixed.
1863
+ * - `origin`: The dispatch origin of this function must be signed.
1864
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
1865
+ * setup in the runtime.
1866
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
1867
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
1868
+ * proof format.
1869
1869
  **/
1870
1870
  | { name: 'SetKeys'; params: { keys: WestendRuntimeSessionKeys; proof: BytesLike } }
1871
1871
  /**
@@ -1877,10 +1877,6 @@ export type PalletSessionCallLike =
1877
1877
  * convertible to a validator ID using the chain's typical addressing system (this usually
1878
1878
  * means being a controller account) or directly convertible into a validator ID (which
1879
1879
  * usually means being a stash account).
1880
- *
1881
- * ## Complexity
1882
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
1883
- * `T::Keys::key_ids()` which is fixed.
1884
1880
  **/
1885
1881
  | { name: 'PurgeKeys' };
1886
1882
 
@@ -3427,7 +3423,10 @@ export type PalletSchedulerCall =
3427
3423
  };
3428
3424
  }
3429
3425
  /**
3430
- * Cancel an anonymously scheduled task.
3426
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
3427
+ * execution in, as well as the index of the task in that block's agenda.
3428
+ *
3429
+ * In the case of a named task, it will remove it from the lookup table as well.
3431
3430
  **/
3432
3431
  | { name: 'Cancel'; params: { when: number; index: number } }
3433
3432
  /**
@@ -3485,6 +3484,8 @@ export type PalletSchedulerCall =
3485
3484
  * clones of the original task. Their retry configuration will be derived from the
3486
3485
  * original task's configuration, but will have a lower value for `remaining` than the
3487
3486
  * original `total_retries`.
3487
+ *
3488
+ * This call **cannot** be used to set a retry configuration for a named task.
3488
3489
  **/
3489
3490
  | { name: 'SetRetry'; params: { task: [number, number]; retries: number; period: number } }
3490
3491
  /**
@@ -3500,6 +3501,8 @@ export type PalletSchedulerCall =
3500
3501
  * clones of the original task. Their retry configuration will be derived from the
3501
3502
  * original task's configuration, but will have a lower value for `remaining` than the
3502
3503
  * original `total_retries`.
3504
+ *
3505
+ * This is the only way to set a retry configuration for a named task.
3503
3506
  **/
3504
3507
  | { name: 'SetRetryNamed'; params: { id: FixedBytes<32>; retries: number; period: number } }
3505
3508
  /**
@@ -3525,7 +3528,10 @@ export type PalletSchedulerCallLike =
3525
3528
  };
3526
3529
  }
3527
3530
  /**
3528
- * Cancel an anonymously scheduled task.
3531
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
3532
+ * execution in, as well as the index of the task in that block's agenda.
3533
+ *
3534
+ * In the case of a named task, it will remove it from the lookup table as well.
3529
3535
  **/
3530
3536
  | { name: 'Cancel'; params: { when: number; index: number } }
3531
3537
  /**
@@ -3583,6 +3589,8 @@ export type PalletSchedulerCallLike =
3583
3589
  * clones of the original task. Their retry configuration will be derived from the
3584
3590
  * original task's configuration, but will have a lower value for `remaining` than the
3585
3591
  * original `total_retries`.
3592
+ *
3593
+ * This call **cannot** be used to set a retry configuration for a named task.
3586
3594
  **/
3587
3595
  | { name: 'SetRetry'; params: { task: [number, number]; retries: number; period: number } }
3588
3596
  /**
@@ -3598,6 +3606,8 @@ export type PalletSchedulerCallLike =
3598
3606
  * clones of the original task. Their retry configuration will be derived from the
3599
3607
  * original task's configuration, but will have a lower value for `remaining` than the
3600
3608
  * original `total_retries`.
3609
+ *
3610
+ * This is the only way to set a retry configuration for a named task.
3601
3611
  **/
3602
3612
  | { name: 'SetRetryNamed'; params: { id: FixedBytes<32>; retries: number; period: number } }
3603
3613
  /**
@@ -4147,7 +4157,9 @@ export type PalletMultisigCall =
4147
4157
  * Register approval for a dispatch to be made from a deterministic composite account if
4148
4158
  * approved by a total of `threshold - 1` of `other_signatories`.
4149
4159
  *
4150
- * If there are enough, then dispatch the call.
4160
+ * **If the approval threshold is met (including the sender's approval), this will
4161
+ * immediately execute the call.** This is the only way to execute a multisig call -
4162
+ * `approve_as_multi` will never trigger execution.
4151
4163
  *
4152
4164
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4153
4165
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -4163,8 +4175,9 @@ export type PalletMultisigCall =
4163
4175
  * transaction index) of the first approval transaction.
4164
4176
  * - `call`: The call to be executed.
4165
4177
  *
4166
- * NOTE: Unless this is the final approval, you will generally want to use
4167
- * `approve_as_multi` instead, since it only requires a hash of the call.
4178
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
4179
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
4180
+ * efficient.
4168
4181
  *
4169
4182
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
4170
4183
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -4198,6 +4211,13 @@ export type PalletMultisigCall =
4198
4211
  * Register approval for a dispatch to be made from a deterministic composite account if
4199
4212
  * approved by a total of `threshold - 1` of `other_signatories`.
4200
4213
  *
4214
+ * **This function will NEVER execute the call, even if the approval threshold is
4215
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
4216
+ * be called with the full call data by any of the signatories.
4217
+ *
4218
+ * This function is more efficient than `as_multi` for intermediate approvals since it
4219
+ * only requires the call hash, not the full call data.
4220
+ *
4201
4221
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4202
4222
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
4203
4223
  * is cancelled.
@@ -4212,7 +4232,8 @@ export type PalletMultisigCall =
4212
4232
  * transaction index) of the first approval transaction.
4213
4233
  * - `call_hash`: The hash of the call to be executed.
4214
4234
  *
4215
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
4235
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
4236
+ * `as_multi` with the full call data. This function cannot execute the call.
4216
4237
  *
4217
4238
  * ## Complexity
4218
4239
  * - `O(S)`.
@@ -4311,7 +4332,9 @@ export type PalletMultisigCallLike =
4311
4332
  * Register approval for a dispatch to be made from a deterministic composite account if
4312
4333
  * approved by a total of `threshold - 1` of `other_signatories`.
4313
4334
  *
4314
- * If there are enough, then dispatch the call.
4335
+ * **If the approval threshold is met (including the sender's approval), this will
4336
+ * immediately execute the call.** This is the only way to execute a multisig call -
4337
+ * `approve_as_multi` will never trigger execution.
4315
4338
  *
4316
4339
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4317
4340
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -4327,8 +4350,9 @@ export type PalletMultisigCallLike =
4327
4350
  * transaction index) of the first approval transaction.
4328
4351
  * - `call`: The call to be executed.
4329
4352
  *
4330
- * NOTE: Unless this is the final approval, you will generally want to use
4331
- * `approve_as_multi` instead, since it only requires a hash of the call.
4353
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
4354
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
4355
+ * efficient.
4332
4356
  *
4333
4357
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
4334
4358
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -4362,6 +4386,13 @@ export type PalletMultisigCallLike =
4362
4386
  * Register approval for a dispatch to be made from a deterministic composite account if
4363
4387
  * approved by a total of `threshold - 1` of `other_signatories`.
4364
4388
  *
4389
+ * **This function will NEVER execute the call, even if the approval threshold is
4390
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
4391
+ * be called with the full call data by any of the signatories.
4392
+ *
4393
+ * This function is more efficient than `as_multi` for intermediate approvals since it
4394
+ * only requires the call hash, not the full call data.
4395
+ *
4365
4396
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4366
4397
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
4367
4398
  * is cancelled.
@@ -4376,7 +4407,8 @@ export type PalletMultisigCallLike =
4376
4407
  * transaction index) of the first approval transaction.
4377
4408
  * - `call_hash`: The hash of the call to be executed.
4378
4409
  *
4379
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
4410
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
4411
+ * `as_multi` with the full call data. This function cannot execute the call.
4380
4412
  *
4381
4413
  * ## Complexity
4382
4414
  * - `O(S)`.
@@ -12726,7 +12758,15 @@ export type PalletStakingAsyncAhClientEvent =
12726
12758
  /**
12727
12759
  * Session keys updated for a validator.
12728
12760
  **/
12729
- | { name: 'SessionKeysUpdated'; data: { stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate } };
12761
+ | { name: 'SessionKeysUpdated'; data: { stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate } }
12762
+ /**
12763
+ * Session key update from AssetHub failed on the relay chain.
12764
+ * Logged as an event for fail-safe observability.
12765
+ **/
12766
+ | {
12767
+ name: 'SessionKeysUpdateFailed';
12768
+ data: { stash: AccountId32; update: PalletStakingAsyncAhClientSessionKeysUpdate; error: DispatchError };
12769
+ };
12730
12770
 
12731
12771
  export type PalletStakingAsyncAhClientUnexpectedKind =
12732
12772
  | 'ReceivedValidatorSetWhilePassive'
@@ -13277,7 +13317,10 @@ export type FrameSystemLimitsWeightsPerClass = {
13277
13317
  reserved?: SpWeightsWeightV2Weight | undefined;
13278
13318
  };
13279
13319
 
13280
- export type FrameSystemLimitsBlockLength = { max: FrameSupportDispatchPerDispatchClassU32 };
13320
+ export type FrameSystemLimitsBlockLength = {
13321
+ max: FrameSupportDispatchPerDispatchClassU32;
13322
+ maxHeaderSize?: number | undefined;
13323
+ };
13281
13324
 
13282
13325
  export type FrameSupportDispatchPerDispatchClassU32 = { normal: number; operational: number; mandatory: number };
13283
13326
 
@@ -15887,6 +15930,21 @@ export type PalletMigrationsError =
15887
15930
  **/
15888
15931
  'Ongoing';
15889
15932
 
15933
+ export type PalletMigrationsMbmIsOngoing = 'Yes' | 'No' | 'Stuck';
15934
+
15935
+ export type PalletMigrationsMbmProgress = {
15936
+ currentMigration: number;
15937
+ totalMigrations: number;
15938
+ currentMigrationSteps: number;
15939
+ currentMigrationMaxSteps?: number | undefined;
15940
+ };
15941
+
15942
+ export type PalletMigrationsMbmStatus = {
15943
+ ongoing: PalletMigrationsMbmIsOngoing;
15944
+ progress?: PalletMigrationsMbmProgress | undefined;
15945
+ prefixes: Array<Bytes>;
15946
+ };
15947
+
15890
15948
  export type PalletXcmQueryStatus =
15891
15949
  | {
15892
15950
  type: 'Pending';
@@ -16474,6 +16532,8 @@ export type SpConsensusBabeEpoch = {
16474
16532
 
16475
16533
  export type SpConsensusBabeOpaqueKeyOwnershipProof = Bytes;
16476
16534
 
16535
+ export type SpSessionRuntimeApiOpaqueGeneratedSessionKeys = { keys: Bytes; proof: Bytes };
16536
+
16477
16537
  export type PalletTransactionPaymentRuntimeDispatchInfo = {
16478
16538
  weight: SpWeightsWeightV2Weight;
16479
16539
  class: FrameSupportDispatchDispatchClass;
@@ -1,11 +1,14 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
4
- import type { AccountId32Like } from 'dedot/codecs';
4
+ import type { AccountId32Like, Bytes } from 'dedot/codecs';
5
5
  import type {
6
6
  WestendRuntimeRuntimeCallLike,
7
7
  WestendRuntimeProxyType,
8
8
  PolkadotParachainPrimitivesPrimitivesId,
9
+ PalletMigrationsMbmIsOngoing,
10
+ PalletMigrationsMbmProgress,
11
+ PalletMigrationsMbmStatus,
9
12
  } from './types.js';
10
13
 
11
14
  export interface ChainViewFunctions extends GenericChainViewFunctions {
@@ -48,7 +51,6 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
48
51
  * Returns `(current, real_score)`, the former being the current score that this pallet is
49
52
  * aware of, which may or may not be up to date, and the latter being the real score, as
50
53
  * provided by
51
- *
52
54
  * If the two differ, it means this node is eligible for [`Call::rebag`].
53
55
  *
54
56
  * @param {AccountId32Like} who
@@ -71,6 +73,40 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
71
73
  **/
72
74
  removeUpgradeCooldownCost: GenericViewFunction<(para: PolkadotParachainPrimitivesPrimitivesId) => Promise<bigint>>;
73
75
 
76
+ /**
77
+ * Generic pallet view function
78
+ **/
79
+ [name: string]: GenericViewFunction;
80
+ };
81
+ /**
82
+ * Pallet `MultiBlockMigrations`'s view functions
83
+ **/
84
+ multiBlockMigrations: {
85
+ /**
86
+ * Returns the ongoing status of migrations.
87
+ **/
88
+ ongoingStatus: GenericViewFunction<() => Promise<PalletMigrationsMbmIsOngoing>>;
89
+
90
+ /**
91
+ * Returns progress information about the current migration, if any.
92
+ *
93
+ * This function provides detailed information about the current migration's progress,
94
+ * including the number of steps completed and the maximum allowed steps.
95
+ **/
96
+ progress: GenericViewFunction<() => Promise<PalletMigrationsMbmProgress | undefined>>;
97
+
98
+ /**
99
+ * Returns the storage prefixes affected by the current migration.
100
+ *
101
+ * Can be empty if the migration does not know or there are no prefixes.
102
+ **/
103
+ affectedPrefixes: GenericViewFunction<() => Promise<Array<Bytes>>>;
104
+
105
+ /**
106
+ * Returns the comprehensive status of multi-block migrations.
107
+ **/
108
+ status: GenericViewFunction<() => Promise<PalletMigrationsMbmStatus>>;
109
+
74
110
  /**
75
111
  * Generic pallet view function
76
112
  **/
@@ -1036,19 +1036,6 @@ export interface ChainConsts extends GenericChainConsts {
1036
1036
  **/
1037
1037
  codeHashLockupDepositPercent: Perbill;
1038
1038
 
1039
- /**
1040
- * Make contract callable functions marked as `#[unstable]` available.
1041
- *
1042
- * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
1043
- * this is set to `true`. This is only meant for testnets and dev nodes in order to
1044
- * experiment with new features.
1045
- *
1046
- * # Warning
1047
- *
1048
- * Do **not** set to `true` on productions chains.
1049
- **/
1050
- unsafeUnstableInterface: boolean;
1051
-
1052
1039
  /**
1053
1040
  * Allow EVM bytecode to be uploaded and instantiated.
1054
1041
  **/
@@ -1274,11 +1261,6 @@ export interface ChainConsts extends GenericChainConsts {
1274
1261
  **/
1275
1262
  maxUnlockingChunks: number;
1276
1263
 
1277
- /**
1278
- * Maximum number of invulnerable validators.
1279
- **/
1280
- maxInvulnerables: number;
1281
-
1282
1264
  /**
1283
1265
  * Maximum allowed era duration in milliseconds.
1284
1266
  *
@@ -1427,11 +1409,6 @@ export interface ChainConsts extends GenericChainConsts {
1427
1409
  * Pallet `StakingRcClient`'s constants
1428
1410
  **/
1429
1411
  stakingRcClient: {
1430
- /**
1431
- * Maximum length of encoded session keys.
1432
- **/
1433
- maxSessionKeysLength: number;
1434
-
1435
1412
  /**
1436
1413
  * Generic pallet constant
1437
1414
  **/
@@ -1455,8 +1432,7 @@ export interface ChainConsts extends GenericChainConsts {
1455
1432
  * Duration of the singed validation phase.
1456
1433
  *
1457
1434
  * The duration of this should not be less than `T::Pages`, and there is no point in it
1458
- * being more than `SignedPhase::MaxSubmission::get() * T::Pages`. TODO: integrity test for
1459
- * it.
1435
+ * being more than `SignedPhase::MaxSubmission::get() * T::Pages`.
1460
1436
  **/
1461
1437
  signedValidationPhase: number;
1462
1438
 
@@ -1489,12 +1465,6 @@ export interface ChainConsts extends GenericChainConsts {
1489
1465
  * Pallet `MultiBlockElectionVerifier`'s constants
1490
1466
  **/
1491
1467
  multiBlockElectionVerifier: {
1492
- /**
1493
- * The minimum amount of improvement to the solution score that defines a solution as
1494
- * "better".
1495
- **/
1496
- solutionImprovementThreshold: Perbill;
1497
-
1498
1468
  /**
1499
1469
  * Maximum number of backers, per winner, among all pages of an election.
1500
1470
  *
@@ -2832,6 +2832,11 @@ export interface ChainErrors extends GenericChainErrors {
2832
2832
  **/
2833
2833
  InvalidKeys: GenericPalletError;
2834
2834
 
2835
+ /**
2836
+ * Invalid ownership proof for the session keys.
2837
+ **/
2838
+ InvalidProof: GenericPalletError;
2839
+
2835
2840
  /**
2836
2841
  * Delivery fees exceeded the specified maximum.
2837
2842
  **/
@@ -3829,15 +3829,38 @@ export interface ChainEvents extends GenericChainEvents {
3829
3829
  >;
3830
3830
 
3831
3831
  /**
3832
- * Target snapshot creation failed
3832
+ * Target snapshot creation failed.
3833
3833
  **/
3834
3834
  UnexpectedTargetSnapshotFailed: GenericPalletEvent<'MultiBlockElection', 'UnexpectedTargetSnapshotFailed', null>;
3835
3835
 
3836
3836
  /**
3837
- * Voter snapshot creation failed
3837
+ * Voter snapshot creation failed.
3838
3838
  **/
3839
3839
  UnexpectedVoterSnapshotFailed: GenericPalletEvent<'MultiBlockElection', 'UnexpectedVoterSnapshotFailed', null>;
3840
3840
 
3841
+ /**
3842
+ * Phase transition could not proceed due to being out of weight.
3843
+ **/
3844
+ UnexpectedPhaseTransitionOutOfWeight: GenericPalletEvent<
3845
+ 'MultiBlockElection',
3846
+ 'UnexpectedPhaseTransitionOutOfWeight',
3847
+ {
3848
+ from: PalletElectionProviderMultiBlockPhase;
3849
+ to: PalletElectionProviderMultiBlockPhase;
3850
+ required: SpWeightsWeightV2Weight;
3851
+ had: SpWeightsWeightV2Weight;
3852
+ }
3853
+ >;
3854
+
3855
+ /**
3856
+ * Phase transition could not even begin becaseu of being out of weight.
3857
+ **/
3858
+ UnexpectedPhaseTransitionHalt: GenericPalletEvent<
3859
+ 'MultiBlockElection',
3860
+ 'UnexpectedPhaseTransitionHalt',
3861
+ { required: SpWeightsWeightV2Weight; had: SpWeightsWeightV2Weight }
3862
+ >;
3863
+
3841
3864
  /**
3842
3865
  * Generic pallet event
3843
3866
  **/
@@ -54,7 +54,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
54
54
 
55
55
  /**
56
56
  * @name: WestendAssetHubApi
57
- * @specVersion: 1021003
57
+ * @specVersion: 1022000
58
58
  **/
59
59
  export interface WestendAssetHubApi extends GenericSubstrateApi {
60
60
  rpc: ChainJsonRpcApis;
@@ -181,11 +181,13 @@ export interface ChainStorage extends GenericChainStorage {
181
181
  blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
182
182
 
183
183
  /**
184
- * Total length (in bytes) for all extrinsics put together, for the current block.
184
+ * Total size (in bytes) of the current block.
185
+ *
186
+ * Tracks the size of the header and all extrinsics.
185
187
  *
186
188
  * @param {Callback<number | undefined> =} callback
187
189
  **/
188
- allExtrinsicsLen: GenericStorageQuery<() => number | undefined>;
190
+ blockSize: GenericStorageQuery<() => number | undefined>;
189
191
 
190
192
  /**
191
193
  * Map of block numbers to block hashes.
@@ -2324,15 +2326,6 @@ export interface ChainStorage extends GenericChainStorage {
2324
2326
  **/
2325
2327
  validatorCount: GenericStorageQuery<() => number>;
2326
2328
 
2327
- /**
2328
- * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
2329
- * easy to initialize and the performance hit is minimal (we expect no more than four
2330
- * invulnerables) and restricted to testnets.
2331
- *
2332
- * @param {Callback<Array<AccountId32>> =} callback
2333
- **/
2334
- invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
2335
-
2336
2329
  /**
2337
2330
  * Map from all locked "stash" accounts to the controller account.
2338
2331
  *
@@ -9,8 +9,8 @@ import type {
9
9
  Result,
10
10
  UncheckedExtrinsicLike,
11
11
  UncheckedExtrinsic,
12
- Bytes,
13
12
  BytesLike,
13
+ Bytes,
14
14
  AccountId32Like,
15
15
  AccountId32,
16
16
  U256,
@@ -30,6 +30,7 @@ import type {
30
30
  SpInherentsCheckInherentsResult,
31
31
  SpRuntimeTransactionValidityValidTransaction,
32
32
  SpRuntimeTransactionValidityTransactionSource,
33
+ SpSessionRuntimeApiOpaqueGeneratedSessionKeys,
33
34
  SpCoreCryptoKeyTypeId,
34
35
  StagingXcmV5Location,
35
36
  PalletTransactionPaymentRuntimeDispatchInfo,
@@ -358,9 +359,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
358
359
  * Returns the concatenated SCALE encoded public keys.
359
360
  *
360
361
  * @callname: SessionKeys_generate_session_keys
362
+ * @param {BytesLike} owner
361
363
  * @param {BytesLike | undefined} seed
362
364
  **/
363
- generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
365
+ generateSessionKeys: GenericRuntimeApiMethod<
366
+ (owner: BytesLike, seed?: BytesLike | undefined) => Promise<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>
367
+ >;
364
368
 
365
369
  /**
366
370
  * Decode the given public session keys.