@dedot/chaintypes 0.270.0 → 0.271.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/paseo/types.d.ts CHANGED
@@ -74,8 +74,7 @@ export type PaseoRuntimeRuntimeCall =
74
74
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCall }
75
75
  | { pallet: 'Beefy'; palletCall: PalletBeefyCall }
76
76
  | { pallet: 'ParaSudoWrapper'; palletCall: PolkadotRuntimeCommonParasSudoWrapperPalletCall }
77
- | { pallet: 'Sudo'; palletCall: PalletSudoCall }
78
- | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCall };
77
+ | { pallet: 'Sudo'; palletCall: PalletSudoCall };
79
78
 
80
79
  export type PaseoRuntimeRuntimeCallLike =
81
80
  | { pallet: 'System'; palletCall: FrameSystemCallLike }
@@ -125,8 +124,7 @@ export type PaseoRuntimeRuntimeCallLike =
125
124
  | { pallet: 'AssetRate'; palletCall: PalletAssetRateCallLike }
126
125
  | { pallet: 'Beefy'; palletCall: PalletBeefyCallLike }
127
126
  | { pallet: 'ParaSudoWrapper'; palletCall: PolkadotRuntimeCommonParasSudoWrapperPalletCallLike }
128
- | { pallet: 'Sudo'; palletCall: PalletSudoCallLike }
129
- | { pallet: 'RcMigrator'; palletCall: PalletRcMigratorCallLike };
127
+ | { pallet: 'Sudo'; palletCall: PalletSudoCallLike };
130
128
 
131
129
  /**
132
130
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -292,7 +290,10 @@ export type PalletSchedulerCall =
292
290
  };
293
291
  }
294
292
  /**
295
- * Cancel an anonymously scheduled task.
293
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
294
+ * execution in, as well as the index of the task in that block's agenda.
295
+ *
296
+ * In the case of a named task, it will remove it from the lookup table as well.
296
297
  **/
297
298
  | { name: 'Cancel'; params: { when: number; index: number } }
298
299
  /**
@@ -350,6 +351,8 @@ export type PalletSchedulerCall =
350
351
  * clones of the original task. Their retry configuration will be derived from the
351
352
  * original task's configuration, but will have a lower value for `remaining` than the
352
353
  * original `total_retries`.
354
+ *
355
+ * This call **cannot** be used to set a retry configuration for a named task.
353
356
  **/
354
357
  | { name: 'SetRetry'; params: { task: [number, number]; retries: number; period: number } }
355
358
  /**
@@ -365,6 +368,8 @@ export type PalletSchedulerCall =
365
368
  * clones of the original task. Their retry configuration will be derived from the
366
369
  * original task's configuration, but will have a lower value for `remaining` than the
367
370
  * original `total_retries`.
371
+ *
372
+ * This is the only way to set a retry configuration for a named task.
368
373
  **/
369
374
  | { name: 'SetRetryNamed'; params: { id: FixedBytes<32>; retries: number; period: number } }
370
375
  /**
@@ -390,7 +395,10 @@ export type PalletSchedulerCallLike =
390
395
  };
391
396
  }
392
397
  /**
393
- * Cancel an anonymously scheduled task.
398
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
399
+ * execution in, as well as the index of the task in that block's agenda.
400
+ *
401
+ * In the case of a named task, it will remove it from the lookup table as well.
394
402
  **/
395
403
  | { name: 'Cancel'; params: { when: number; index: number } }
396
404
  /**
@@ -448,6 +456,8 @@ export type PalletSchedulerCallLike =
448
456
  * clones of the original task. Their retry configuration will be derived from the
449
457
  * original task's configuration, but will have a lower value for `remaining` than the
450
458
  * original `total_retries`.
459
+ *
460
+ * This call **cannot** be used to set a retry configuration for a named task.
451
461
  **/
452
462
  | { name: 'SetRetry'; params: { task: [number, number]; retries: number; period: number } }
453
463
  /**
@@ -463,6 +473,8 @@ export type PalletSchedulerCallLike =
463
473
  * clones of the original task. Their retry configuration will be derived from the
464
474
  * original task's configuration, but will have a lower value for `remaining` than the
465
475
  * original `total_retries`.
476
+ *
477
+ * This is the only way to set a retry configuration for a named task.
466
478
  **/
467
479
  | { name: 'SetRetryNamed'; params: { id: FixedBytes<32>; retries: number; period: number } }
468
480
  /**
@@ -1457,7 +1469,7 @@ export type PalletStakingPalletCall =
1457
1469
  *
1458
1470
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
1459
1471
  * them, then the list of nominators is paged, with each page being capped at
1460
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
1472
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
1461
1473
  * the call needs to be made for each page separately in order for all the nominators
1462
1474
  * backing a validator to receive the reward. The nominators are not sorted across pages
1463
1475
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -1940,7 +1952,7 @@ export type PalletStakingPalletCallLike =
1940
1952
  *
1941
1953
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
1942
1954
  * them, then the list of nominators is paged, with each page being capped at
1943
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
1955
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
1944
1956
  * the call needs to be made for each page separately in order for all the nominators
1945
1957
  * backing a validator to receive the reward. The nominators are not sorted across pages
1946
1958
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -2054,14 +2066,16 @@ export type PalletStakingUnlockChunk = { value: bigint; era: number };
2054
2066
  export type PalletSessionCall =
2055
2067
  /**
2056
2068
  * Sets the session key(s) of the function caller to `keys`.
2069
+ *
2057
2070
  * Allows an account to set its session key prior to becoming a validator.
2058
2071
  * This doesn't take effect until the next session.
2059
2072
  *
2060
- * The dispatch origin of this function must be signed.
2061
- *
2062
- * ## Complexity
2063
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
2064
- * fixed.
2073
+ * - `origin`: The dispatch origin of this function must be signed.
2074
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
2075
+ * setup in the runtime.
2076
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
2077
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
2078
+ * proof format.
2065
2079
  **/
2066
2080
  | { name: 'SetKeys'; params: { keys: PaseoRuntimeSessionKeys; proof: Bytes } }
2067
2081
  /**
@@ -2073,24 +2087,22 @@ export type PalletSessionCall =
2073
2087
  * convertible to a validator ID using the chain's typical addressing system (this usually
2074
2088
  * means being a controller account) or directly convertible into a validator ID (which
2075
2089
  * usually means being a stash account).
2076
- *
2077
- * ## Complexity
2078
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
2079
- * `T::Keys::key_ids()` which is fixed.
2080
2090
  **/
2081
2091
  | { name: 'PurgeKeys' };
2082
2092
 
2083
2093
  export type PalletSessionCallLike =
2084
2094
  /**
2085
2095
  * Sets the session key(s) of the function caller to `keys`.
2096
+ *
2086
2097
  * Allows an account to set its session key prior to becoming a validator.
2087
2098
  * This doesn't take effect until the next session.
2088
2099
  *
2089
- * The dispatch origin of this function must be signed.
2090
- *
2091
- * ## Complexity
2092
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
2093
- * fixed.
2100
+ * - `origin`: The dispatch origin of this function must be signed.
2101
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
2102
+ * setup in the runtime.
2103
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
2104
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
2105
+ * proof format.
2094
2106
  **/
2095
2107
  | { name: 'SetKeys'; params: { keys: PaseoRuntimeSessionKeys; proof: BytesLike } }
2096
2108
  /**
@@ -2102,10 +2114,6 @@ export type PalletSessionCallLike =
2102
2114
  * convertible to a validator ID using the chain's typical addressing system (this usually
2103
2115
  * means being a controller account) or directly convertible into a validator ID (which
2104
2116
  * usually means being a stash account).
2105
- *
2106
- * ## Complexity
2107
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
2108
- * `T::Keys::key_ids()` which is fixed.
2109
2117
  **/
2110
2118
  | { name: 'PurgeKeys' };
2111
2119
 
@@ -4328,7 +4336,9 @@ export type PalletMultisigCall =
4328
4336
  * Register approval for a dispatch to be made from a deterministic composite account if
4329
4337
  * approved by a total of `threshold - 1` of `other_signatories`.
4330
4338
  *
4331
- * If there are enough, then dispatch the call.
4339
+ * **If the approval threshold is met (including the sender's approval), this will
4340
+ * immediately execute the call.** This is the only way to execute a multisig call -
4341
+ * `approve_as_multi` will never trigger execution.
4332
4342
  *
4333
4343
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4334
4344
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -4344,8 +4354,9 @@ export type PalletMultisigCall =
4344
4354
  * transaction index) of the first approval transaction.
4345
4355
  * - `call`: The call to be executed.
4346
4356
  *
4347
- * NOTE: Unless this is the final approval, you will generally want to use
4348
- * `approve_as_multi` instead, since it only requires a hash of the call.
4357
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
4358
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
4359
+ * efficient.
4349
4360
  *
4350
4361
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
4351
4362
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -4379,6 +4390,13 @@ export type PalletMultisigCall =
4379
4390
  * Register approval for a dispatch to be made from a deterministic composite account if
4380
4391
  * approved by a total of `threshold - 1` of `other_signatories`.
4381
4392
  *
4393
+ * **This function will NEVER execute the call, even if the approval threshold is
4394
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
4395
+ * be called with the full call data by any of the signatories.
4396
+ *
4397
+ * This function is more efficient than `as_multi` for intermediate approvals since it
4398
+ * only requires the call hash, not the full call data.
4399
+ *
4382
4400
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4383
4401
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
4384
4402
  * is cancelled.
@@ -4393,7 +4411,8 @@ export type PalletMultisigCall =
4393
4411
  * transaction index) of the first approval transaction.
4394
4412
  * - `call_hash`: The hash of the call to be executed.
4395
4413
  *
4396
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
4414
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
4415
+ * `as_multi` with the full call data. This function cannot execute the call.
4397
4416
  *
4398
4417
  * ## Complexity
4399
4418
  * - `O(S)`.
@@ -4492,7 +4511,9 @@ export type PalletMultisigCallLike =
4492
4511
  * Register approval for a dispatch to be made from a deterministic composite account if
4493
4512
  * approved by a total of `threshold - 1` of `other_signatories`.
4494
4513
  *
4495
- * If there are enough, then dispatch the call.
4514
+ * **If the approval threshold is met (including the sender's approval), this will
4515
+ * immediately execute the call.** This is the only way to execute a multisig call -
4516
+ * `approve_as_multi` will never trigger execution.
4496
4517
  *
4497
4518
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4498
4519
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -4508,8 +4529,9 @@ export type PalletMultisigCallLike =
4508
4529
  * transaction index) of the first approval transaction.
4509
4530
  * - `call`: The call to be executed.
4510
4531
  *
4511
- * NOTE: Unless this is the final approval, you will generally want to use
4512
- * `approve_as_multi` instead, since it only requires a hash of the call.
4532
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
4533
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
4534
+ * efficient.
4513
4535
  *
4514
4536
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
4515
4537
  * on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -4543,6 +4565,13 @@ export type PalletMultisigCallLike =
4543
4565
  * Register approval for a dispatch to be made from a deterministic composite account if
4544
4566
  * approved by a total of `threshold - 1` of `other_signatories`.
4545
4567
  *
4568
+ * **This function will NEVER execute the call, even if the approval threshold is
4569
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
4570
+ * be called with the full call data by any of the signatories.
4571
+ *
4572
+ * This function is more efficient than `as_multi` for intermediate approvals since it
4573
+ * only requires the call hash, not the full call data.
4574
+ *
4546
4575
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
4547
4576
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
4548
4577
  * is cancelled.
@@ -4557,7 +4586,8 @@ export type PalletMultisigCallLike =
4557
4586
  * transaction index) of the first approval transaction.
4558
4587
  * - `call_hash`: The hash of the call to be executed.
4559
4588
  *
4560
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
4589
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
4590
+ * `as_multi` with the full call data. This function cannot execute the call.
4561
4591
  *
4562
4592
  * ## Complexity
4563
4593
  * - `O(S)`.
@@ -6687,7 +6717,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCall =
6687
6717
  /**
6688
6718
  * Set scheduler-params.
6689
6719
  **/
6690
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV9SchedulerParams } };
6720
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } }
6721
+ /**
6722
+ * Set the maximum relay parent session age.
6723
+ **/
6724
+ | { name: 'SetMaxRelayParentSessionAge'; params: { new: number } };
6691
6725
 
6692
6726
  export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
6693
6727
  /**
@@ -6883,7 +6917,11 @@ export type PolkadotRuntimeParachainsConfigurationPalletCallLike =
6883
6917
  /**
6884
6918
  * Set scheduler-params.
6885
6919
  **/
6886
- | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesV9SchedulerParams } };
6920
+ | { name: 'SetSchedulerParams'; params: { new: PolkadotPrimitivesVstagingSchedulerParams } }
6921
+ /**
6922
+ * Set the maximum relay parent session age.
6923
+ **/
6924
+ | { name: 'SetMaxRelayParentSessionAge'; params: { new: number } };
6887
6925
 
6888
6926
  export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
6889
6927
  maxCandidateDepth: number;
@@ -6899,26 +6937,27 @@ export type PolkadotPrimitivesV9ExecutorParamsExecutorParam =
6899
6937
  | { type: 'PrecheckingMaxMemory'; value: bigint }
6900
6938
  | { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV9PvfPrepKind, bigint] }
6901
6939
  | { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV9PvfExecKind, bigint] }
6902
- | { type: 'WasmExtBulkMemory' };
6940
+ | { type: 'WasmExtBulkMemory' }
6941
+ | { type: 'EnabledHostFunction'; value: PolkadotPrimitivesV9ExecutorParamsExecutorHostFunction };
6903
6942
 
6904
6943
  export type PolkadotPrimitivesV9PvfPrepKind = 'Precheck' | 'Prepare';
6905
6944
 
6906
6945
  export type PolkadotPrimitivesV9PvfExecKind = 'Backing' | 'Approval';
6907
6946
 
6947
+ export type PolkadotPrimitivesV9ExecutorParamsExecutorHostFunction = 'EccRfc163';
6948
+
6908
6949
  export type PolkadotPrimitivesV9ApprovalVotingParams = { maxApprovalCoalesceCount: number };
6909
6950
 
6910
- export type PolkadotPrimitivesV9SchedulerParams = {
6951
+ export type PolkadotPrimitivesVstagingSchedulerParams = {
6911
6952
  groupRotationFrequency: number;
6912
6953
  parasAvailabilityPeriod: number;
6913
6954
  maxValidatorsPerCore?: number | undefined;
6914
6955
  lookahead: number;
6915
6956
  numCores: number;
6916
- maxAvailabilityTimeouts: number;
6917
6957
  onDemandQueueMaxSize: number;
6918
6958
  onDemandTargetQueueUtilization: Perbill;
6919
6959
  onDemandFeeVariability: Perbill;
6920
6960
  onDemandBaseFee: bigint;
6921
- ttl: number;
6922
6961
  };
6923
6962
 
6924
6963
  /**
@@ -6985,20 +7024,20 @@ export type PolkadotPrimitivesV9CommittedCandidateReceiptV2 = {
6985
7024
  export type PolkadotPrimitivesV9CandidateDescriptorV2 = {
6986
7025
  paraId: PolkadotParachainPrimitivesPrimitivesId;
6987
7026
  relayParent: H256;
6988
- version: PolkadotPrimitivesV9InternalVersion;
7027
+ version: number;
6989
7028
  coreIndex: number;
6990
7029
  sessionIndex: number;
6991
- reserved1: FixedBytes<25>;
7030
+ schedulingSessionOffset: number;
7031
+ reserved1: FixedBytes<24>;
6992
7032
  persistedValidationDataHash: H256;
6993
7033
  povHash: H256;
6994
7034
  erasureRoot: H256;
6995
- reserved2: FixedBytes<64>;
7035
+ schedulingParent: H256;
7036
+ reserved2: FixedBytes<32>;
6996
7037
  paraHead: H256;
6997
7038
  validationCodeHash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash;
6998
7039
  };
6999
7040
 
7000
- export type PolkadotPrimitivesV9InternalVersion = number;
7001
-
7002
7041
  export type PolkadotParachainPrimitivesPrimitivesValidationCodeHash = H256;
7003
7042
 
7004
7043
  export type PolkadotPrimitivesV9CandidateCommitments = {
@@ -8445,7 +8484,7 @@ export type SpRuntimeMultiSignature =
8445
8484
  | { type: 'Eth'; value: FixedBytes<65> };
8446
8485
 
8447
8486
  /**
8448
- * Contains a variant per dispatchable extrinsic that this pallet has.
8487
+ * Extrinsics to be called by the Coretime chain.
8449
8488
  **/
8450
8489
  export type PolkadotRuntimeParachainsCoretimePalletCall =
8451
8490
  /**
@@ -8482,7 +8521,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCall =
8482
8521
  core: number;
8483
8522
  begin: number;
8484
8523
  assignment: Array<
8485
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimePartsOf57600]
8524
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
8486
8525
  >;
8487
8526
  endHint?: number | undefined;
8488
8527
  };
@@ -8523,7 +8562,7 @@ export type PolkadotRuntimeParachainsCoretimePalletCallLike =
8523
8562
  core: number;
8524
8563
  begin: number;
8525
8564
  assignment: Array<
8526
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimePartsOf57600]
8565
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
8527
8566
  >;
8528
8567
  endHint?: number | undefined;
8529
8568
  };
@@ -8534,7 +8573,7 @@ export type PalletBrokerCoretimeInterfaceCoreAssignment =
8534
8573
  | { type: 'Pool' }
8535
8574
  | { type: 'Task'; value: number };
8536
8575
 
8537
- export type PolkadotRuntimeParachainsAssignerCoretimePartsOf57600 = number;
8576
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600 = number;
8538
8577
 
8539
8578
  /**
8540
8579
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -10457,460 +10496,7 @@ export type PalletSudoCallLike =
10457
10496
  **/
10458
10497
  | { name: 'RemoveKey' };
10459
10498
 
10460
- /**
10461
- * Contains a variant per dispatchable extrinsic that this pallet has.
10462
- **/
10463
- export type PalletRcMigratorCall =
10464
- /**
10465
- * Set the migration stage.
10466
- *
10467
- * This call is intended for emergency use only and is guarded by the
10468
- * [`Config::AdminOrigin`].
10469
- **/
10470
- | { name: 'ForceSetStage'; params: { stage: PalletRcMigratorMigrationStage } }
10471
- /**
10472
- * Schedule the migration to start at a given moment.
10473
- *
10474
- * ### Parameters:
10475
- * - `start`: The block number at which the migration will start. `DispatchTime` calculated
10476
- * at the moment of the extrinsic execution.
10477
- * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
10478
- * are filtered during this period. It is intended to give enough time for UMP and DMP
10479
- * queues to empty. `DispatchTime` calculated at the moment of the transition to the
10480
- * warm-up stage.
10481
- * - `cool_off`: The block number at which the post migration cool-off period will end. The
10482
- * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
10483
- * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
10484
- * scheduled time point is far enough in the future.
10485
- *
10486
- * Note: If the staking election for next era is already complete, and the next
10487
- * validator set is queued in `pallet-session`, we want to avoid starting the data
10488
- * migration at this point as it can lead to some missed validator rewards. To address
10489
- * this, we stop staking election at the start of migration and must wait atleast 1
10490
- * session (set via warm_up) before starting the data migration.
10491
- *
10492
- * Read [`MigrationStage::Scheduled`] documentation for more details.
10493
- **/
10494
- | {
10495
- name: 'ScheduleMigration';
10496
- params: {
10497
- start: FrameSupportScheduleDispatchTime;
10498
- warmUp: FrameSupportScheduleDispatchTime;
10499
- coolOff: FrameSupportScheduleDispatchTime;
10500
- unsafeIgnoreStakingLockCheck: boolean;
10501
- };
10502
- }
10503
- /**
10504
- * Start the data migration.
10505
- *
10506
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
10507
- * migration data.
10508
- **/
10509
- | { name: 'StartDataMigration' }
10510
- /**
10511
- * Receive a query response from the Asset Hub for a previously sent xcm message.
10512
- **/
10513
- | { name: 'ReceiveQueryResponse'; params: { queryId: bigint; response: StagingXcmV5Response } }
10514
- /**
10515
- * Resend a previously sent and unconfirmed XCM message.
10516
- **/
10517
- | { name: 'ResendXcm'; params: { queryId: bigint } }
10518
- /**
10519
- * Set the unprocessed message buffer size.
10520
- *
10521
- * `None` means to use the configuration value.
10522
- **/
10523
- | { name: 'SetUnprocessedMsgBuffer'; params: { new?: number | undefined } }
10524
- /**
10525
- * Set the AH UMP queue priority configuration.
10526
- *
10527
- * Can only be called by the `AdminOrigin`.
10528
- **/
10529
- | { name: 'SetAhUmpQueuePriority'; params: { new: PalletRcMigratorQueuePriority } }
10530
- /**
10531
- * Set the manager account id.
10532
- *
10533
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
10534
- * can not set the manager account id via `set_manager` call.
10535
- **/
10536
- | { name: 'SetManager'; params: { new?: AccountId32 | undefined } }
10537
- /**
10538
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
10539
- * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
10540
- * the migration.
10541
- **/
10542
- | { name: 'SendXcmMessage'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
10543
- /**
10544
- * Set the accounts to be preserved on Relay Chain during the migration.
10545
- *
10546
- * The accounts must have no consumers references.
10547
- **/
10548
- | { name: 'PreserveAccounts'; params: { accounts: Array<AccountId32> } }
10549
- /**
10550
- * Set the canceller account id.
10551
- *
10552
- * The canceller can only stop scheduled migration.
10553
- **/
10554
- | { name: 'SetCanceller'; params: { new?: AccountId32 | undefined } }
10555
- /**
10556
- * Pause the migration.
10557
- **/
10558
- | { name: 'PauseMigration' }
10559
- /**
10560
- * Cancel the migration.
10561
- *
10562
- * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
10563
- **/
10564
- | { name: 'CancelMigration' }
10565
- /**
10566
- * Vote on behalf of any of the members in `MultisigMembers`.
10567
- *
10568
- * Unsigned extrinsic, requiring the `payload` to be signed.
10569
- *
10570
- * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
10571
- * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
10572
- * move on to the next round.
10573
- *
10574
- * The round system ensures that signatures from older round cannot be reused.
10575
- **/
10576
- | {
10577
- name: 'VoteManagerMultisig';
10578
- params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
10579
- }
10580
- /**
10581
- * Set the migration settings. Can only be done by admin or manager.
10582
- **/
10583
- | { name: 'SetSettings'; params: { settings?: PalletRcMigratorMigrationSettings | undefined } };
10584
-
10585
- export type PalletRcMigratorCallLike =
10586
- /**
10587
- * Set the migration stage.
10588
- *
10589
- * This call is intended for emergency use only and is guarded by the
10590
- * [`Config::AdminOrigin`].
10591
- **/
10592
- | { name: 'ForceSetStage'; params: { stage: PalletRcMigratorMigrationStage } }
10593
- /**
10594
- * Schedule the migration to start at a given moment.
10595
- *
10596
- * ### Parameters:
10597
- * - `start`: The block number at which the migration will start. `DispatchTime` calculated
10598
- * at the moment of the extrinsic execution.
10599
- * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
10600
- * are filtered during this period. It is intended to give enough time for UMP and DMP
10601
- * queues to empty. `DispatchTime` calculated at the moment of the transition to the
10602
- * warm-up stage.
10603
- * - `cool_off`: The block number at which the post migration cool-off period will end. The
10604
- * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
10605
- * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
10606
- * scheduled time point is far enough in the future.
10607
- *
10608
- * Note: If the staking election for next era is already complete, and the next
10609
- * validator set is queued in `pallet-session`, we want to avoid starting the data
10610
- * migration at this point as it can lead to some missed validator rewards. To address
10611
- * this, we stop staking election at the start of migration and must wait atleast 1
10612
- * session (set via warm_up) before starting the data migration.
10613
- *
10614
- * Read [`MigrationStage::Scheduled`] documentation for more details.
10615
- **/
10616
- | {
10617
- name: 'ScheduleMigration';
10618
- params: {
10619
- start: FrameSupportScheduleDispatchTime;
10620
- warmUp: FrameSupportScheduleDispatchTime;
10621
- coolOff: FrameSupportScheduleDispatchTime;
10622
- unsafeIgnoreStakingLockCheck: boolean;
10623
- };
10624
- }
10625
- /**
10626
- * Start the data migration.
10627
- *
10628
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
10629
- * migration data.
10630
- **/
10631
- | { name: 'StartDataMigration' }
10632
- /**
10633
- * Receive a query response from the Asset Hub for a previously sent xcm message.
10634
- **/
10635
- | { name: 'ReceiveQueryResponse'; params: { queryId: bigint; response: StagingXcmV5Response } }
10636
- /**
10637
- * Resend a previously sent and unconfirmed XCM message.
10638
- **/
10639
- | { name: 'ResendXcm'; params: { queryId: bigint } }
10640
- /**
10641
- * Set the unprocessed message buffer size.
10642
- *
10643
- * `None` means to use the configuration value.
10644
- **/
10645
- | { name: 'SetUnprocessedMsgBuffer'; params: { new?: number | undefined } }
10646
- /**
10647
- * Set the AH UMP queue priority configuration.
10648
- *
10649
- * Can only be called by the `AdminOrigin`.
10650
- **/
10651
- | { name: 'SetAhUmpQueuePriority'; params: { new: PalletRcMigratorQueuePriority } }
10652
- /**
10653
- * Set the manager account id.
10654
- *
10655
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
10656
- * can not set the manager account id via `set_manager` call.
10657
- **/
10658
- | { name: 'SetManager'; params: { new?: AccountId32Like | undefined } }
10659
- /**
10660
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
10661
- * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
10662
- * the migration.
10663
- **/
10664
- | { name: 'SendXcmMessage'; params: { dest: XcmVersionedLocation; message: XcmVersionedXcm } }
10665
- /**
10666
- * Set the accounts to be preserved on Relay Chain during the migration.
10667
- *
10668
- * The accounts must have no consumers references.
10669
- **/
10670
- | { name: 'PreserveAccounts'; params: { accounts: Array<AccountId32Like> } }
10671
- /**
10672
- * Set the canceller account id.
10673
- *
10674
- * The canceller can only stop scheduled migration.
10675
- **/
10676
- | { name: 'SetCanceller'; params: { new?: AccountId32Like | undefined } }
10677
- /**
10678
- * Pause the migration.
10679
- **/
10680
- | { name: 'PauseMigration' }
10681
- /**
10682
- * Cancel the migration.
10683
- *
10684
- * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
10685
- **/
10686
- | { name: 'CancelMigration' }
10687
- /**
10688
- * Vote on behalf of any of the members in `MultisigMembers`.
10689
- *
10690
- * Unsigned extrinsic, requiring the `payload` to be signed.
10691
- *
10692
- * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
10693
- * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
10694
- * move on to the next round.
10695
- *
10696
- * The round system ensures that signatures from older round cannot be reused.
10697
- **/
10698
- | {
10699
- name: 'VoteManagerMultisig';
10700
- params: { payload: PalletRcMigratorManagerMultisigVote; sig: SpRuntimeMultiSignature };
10701
- }
10702
- /**
10703
- * Set the migration settings. Can only be done by admin or manager.
10704
- **/
10705
- | { name: 'SetSettings'; params: { settings?: PalletRcMigratorMigrationSettings | undefined } };
10706
-
10707
- export type PalletRcMigratorMigrationStage =
10708
- | { type: 'Pending' }
10709
- | { type: 'MigrationPaused' }
10710
- | { type: 'Scheduled'; value: { start: number } }
10711
- | { type: 'WaitingForAh' }
10712
- | { type: 'WarmUp'; value: { endAt: number } }
10713
- | { type: 'Starting' }
10714
- | { type: 'PureProxyCandidatesMigrationInit' }
10715
- | { type: 'AccountsMigrationInit' }
10716
- | { type: 'AccountsMigrationOngoing'; value: { lastKey?: AccountId32 | undefined } }
10717
- | { type: 'AccountsMigrationDone' }
10718
- | { type: 'MultisigMigrationInit' }
10719
- | { type: 'MultisigMigrationOngoing'; value: { lastKey?: [AccountId32, FixedBytes<32>] | undefined } }
10720
- | { type: 'MultisigMigrationDone' }
10721
- | { type: 'ClaimsMigrationInit' }
10722
- | { type: 'ClaimsMigrationOngoing'; value: { currentKey?: PalletRcMigratorClaimsClaimsStage | undefined } }
10723
- | { type: 'ClaimsMigrationDone' }
10724
- | { type: 'ProxyMigrationInit' }
10725
- | { type: 'ProxyMigrationProxies'; value: { lastKey?: AccountId32 | undefined } }
10726
- | { type: 'ProxyMigrationAnnouncements'; value: { lastKey?: AccountId32 | undefined } }
10727
- | { type: 'ProxyMigrationDone' }
10728
- | { type: 'PreimageMigrationInit' }
10729
- | { type: 'PreimageMigrationChunksOngoing'; value: { lastKey?: [[H256, number], number] | undefined } }
10730
- | { type: 'PreimageMigrationChunksDone' }
10731
- | { type: 'PreimageMigrationRequestStatusOngoing'; value: { nextKey?: H256 | undefined } }
10732
- | { type: 'PreimageMigrationRequestStatusDone' }
10733
- | { type: 'PreimageMigrationLegacyRequestStatusInit' }
10734
- | { type: 'PreimageMigrationLegacyRequestStatusOngoing'; value: { nextKey?: H256 | undefined } }
10735
- | { type: 'PreimageMigrationLegacyRequestStatusDone' }
10736
- | { type: 'PreimageMigrationDone' }
10737
- | { type: 'NomPoolsMigrationInit' }
10738
- | { type: 'NomPoolsMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingNomPoolsNomPoolsStage | undefined } }
10739
- | { type: 'NomPoolsMigrationDone' }
10740
- | { type: 'VestingMigrationInit' }
10741
- | { type: 'VestingMigrationOngoing'; value: { nextKey?: AccountId32 | undefined } }
10742
- | { type: 'VestingMigrationDone' }
10743
- | { type: 'DelegatedStakingMigrationInit' }
10744
- | {
10745
- type: 'DelegatedStakingMigrationOngoing';
10746
- value: { nextKey?: PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage | undefined };
10747
- }
10748
- | { type: 'DelegatedStakingMigrationDone' }
10749
- | { type: 'IndicesMigrationInit' }
10750
- | { type: 'IndicesMigrationOngoing'; value: { nextKey?: [] | undefined } }
10751
- | { type: 'IndicesMigrationDone' }
10752
- | { type: 'ReferendaMigrationInit' }
10753
- | { type: 'ReferendaMigrationOngoing'; value: { lastKey?: PalletRcMigratorReferendaReferendaStage | undefined } }
10754
- | { type: 'ReferendaMigrationDone' }
10755
- | { type: 'BagsListMigrationInit' }
10756
- | { type: 'BagsListMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingBagsListBagsListStage | undefined } }
10757
- | { type: 'BagsListMigrationDone' }
10758
- | { type: 'SchedulerMigrationInit' }
10759
- | { type: 'SchedulerMigrationOngoing'; value: { lastKey?: PalletRcMigratorSchedulerSchedulerStage | undefined } }
10760
- | { type: 'SchedulerAgendaMigrationOngoing'; value: { lastKey?: number | undefined } }
10761
- | { type: 'SchedulerMigrationDone' }
10762
- | { type: 'ConvictionVotingMigrationInit' }
10763
- | {
10764
- type: 'ConvictionVotingMigrationOngoing';
10765
- value: { lastKey?: PalletRcMigratorConvictionVotingConvictionVotingStage | undefined };
10766
- }
10767
- | { type: 'ConvictionVotingMigrationDone' }
10768
- | { type: 'BountiesMigrationInit' }
10769
- | { type: 'BountiesMigrationOngoing'; value: { lastKey?: PalletRcMigratorBountiesBountiesStage | undefined } }
10770
- | { type: 'BountiesMigrationDone' }
10771
- | { type: 'ChildBountiesMigrationInit' }
10772
- | {
10773
- type: 'ChildBountiesMigrationOngoing';
10774
- value: { lastKey?: PalletRcMigratorChildBountiesChildBountiesStage | undefined };
10775
- }
10776
- | { type: 'ChildBountiesMigrationDone' }
10777
- | { type: 'AssetRateMigrationInit' }
10778
- | {
10779
- type: 'AssetRateMigrationOngoing';
10780
- value: { lastKey?: PolkadotRuntimeCommonImplsVersionedLocatableAsset | undefined };
10781
- }
10782
- | { type: 'AssetRateMigrationDone' }
10783
- | { type: 'CrowdloanMigrationInit' }
10784
- | { type: 'CrowdloanMigrationOngoing'; value: { lastKey?: PalletRcMigratorCrowdloanCrowdloanStage | undefined } }
10785
- | { type: 'CrowdloanMigrationDone' }
10786
- | { type: 'TreasuryMigrationInit' }
10787
- | { type: 'TreasuryMigrationOngoing'; value: { lastKey?: PalletRcMigratorTreasuryTreasuryStage | undefined } }
10788
- | { type: 'TreasuryMigrationDone' }
10789
- | { type: 'StakingMigrationInit' }
10790
- | { type: 'StakingMigrationOngoing'; value: { nextKey?: PalletRcMigratorStakingStakingImplStakingStage | undefined } }
10791
- | { type: 'StakingMigrationDone' }
10792
- | { type: 'CoolOff'; value: { endAt: number } }
10793
- | { type: 'SignalMigrationFinish' }
10794
- | { type: 'MigrationDone' };
10795
-
10796
- export type PalletRcMigratorClaimsClaimsStage =
10797
- | { type: 'StorageValues' }
10798
- | { type: 'Claims'; value?: EthereumAddress | undefined }
10799
- | { type: 'Vesting'; value?: EthereumAddress | undefined }
10800
- | { type: 'Signing'; value?: EthereumAddress | undefined }
10801
- | { type: 'Preclaims'; value?: AccountId32 | undefined }
10802
- | { type: 'Finished' };
10803
-
10804
- export type PalletRcMigratorStakingNomPoolsNomPoolsStage =
10805
- | { type: 'StorageValues' }
10806
- | { type: 'PoolMembers'; value?: AccountId32 | undefined }
10807
- | { type: 'BondedPools'; value?: number | undefined }
10808
- | { type: 'RewardPools'; value?: number | undefined }
10809
- | { type: 'SubPoolsStorage'; value?: number | undefined }
10810
- | { type: 'Metadata'; value?: number | undefined }
10811
- | { type: 'ReversePoolIdLookup'; value?: AccountId32 | undefined }
10812
- | { type: 'ClaimPermissions'; value?: AccountId32 | undefined }
10813
- | { type: 'Finished' };
10814
-
10815
- export type PalletRcMigratorStakingDelegatedStakingDelegatedStakingStage =
10816
- | { type: 'Delegators'; value?: AccountId32 | undefined }
10817
- | { type: 'Agents'; value?: AccountId32 | undefined }
10818
- | { type: 'Finished' };
10819
-
10820
- export type PalletRcMigratorReferendaReferendaStage =
10821
- | { type: 'StorageValues' }
10822
- | { type: 'Metadata'; value?: number | undefined }
10823
- | { type: 'ReferendumInfo'; value?: number | undefined };
10824
-
10825
- export type PalletRcMigratorStakingBagsListBagsListStage =
10826
- | { type: 'ListNodes'; value?: AccountId32 | undefined }
10827
- | { type: 'ListBags'; value?: bigint | undefined }
10828
- | { type: 'Finished' };
10829
-
10830
- export type PalletRcMigratorSchedulerSchedulerStage =
10831
- | { type: 'IncompleteSince' }
10832
- | { type: 'Retries'; value?: [number, number] | undefined }
10833
- | { type: 'Lookup'; value?: FixedBytes<32> | undefined }
10834
- | { type: 'Finished' };
10835
-
10836
- export type PalletRcMigratorConvictionVotingConvictionVotingStage =
10837
- | { type: 'VotingFor'; value?: [AccountId32, number] | undefined }
10838
- | { type: 'ClassLocksFor'; value?: AccountId32 | undefined }
10839
- | { type: 'Finished' };
10840
-
10841
- export type PalletRcMigratorBountiesBountiesStage =
10842
- | { type: 'BountyCount' }
10843
- | { type: 'BountyApprovals' }
10844
- | { type: 'BountyDescriptions'; value: { lastKey?: number | undefined } }
10845
- | { type: 'Bounties'; value: { lastKey?: number | undefined } }
10846
- | { type: 'Finished' };
10847
-
10848
- export type PalletRcMigratorChildBountiesChildBountiesStage =
10849
- | { type: 'ChildBountyCount' }
10850
- | { type: 'ParentChildBounties'; value: { parentId?: number | undefined } }
10851
- | { type: 'ParentTotalChildBounties'; value: { parentId?: number | undefined } }
10852
- | { type: 'ChildBounties'; value: { ids?: [number, number] | undefined } }
10853
- | { type: 'ChildBountyDescriptionsV1'; value: { ids?: [number, number] | undefined } }
10854
- | { type: 'V0ToV1ChildBountyIds'; value: { childId?: number | undefined } }
10855
- | { type: 'ChildrenCuratorFees'; value: { childId?: number | undefined } }
10856
- | { type: 'Finished' };
10857
-
10858
- export type PalletRcMigratorCrowdloanCrowdloanStage =
10859
- | { type: 'Setup' }
10860
- | { type: 'LeaseReserve'; value: { lastKey?: PolkadotParachainPrimitivesPrimitivesId | undefined } }
10861
- | { type: 'CrowdloanContribution'; value: { lastKey?: PolkadotParachainPrimitivesPrimitivesId | undefined } }
10862
- | { type: 'CrowdloanReserve' }
10863
- | { type: 'Finished' };
10864
-
10865
- export type PalletRcMigratorTreasuryTreasuryStage =
10866
- | { type: 'ProposalCount' }
10867
- | { type: 'Proposals'; value?: number | undefined }
10868
- | { type: 'Approvals' }
10869
- | { type: 'SpendCount' }
10870
- | { type: 'Spends'; value?: number | undefined }
10871
- | { type: 'LastSpendPeriod' }
10872
- | { type: 'Funds' }
10873
- | { type: 'Finished' };
10874
-
10875
- export type PalletRcMigratorStakingStakingImplStakingStage =
10876
- | { type: 'Values' }
10877
- | { type: 'Invulnerables' }
10878
- | { type: 'Bonded'; value?: AccountId32 | undefined }
10879
- | { type: 'Ledger'; value?: AccountId32 | undefined }
10880
- | { type: 'Payee'; value?: AccountId32 | undefined }
10881
- | { type: 'Validators'; value?: AccountId32 | undefined }
10882
- | { type: 'Nominators'; value?: AccountId32 | undefined }
10883
- | { type: 'VirtualStakers'; value?: AccountId32 | undefined }
10884
- | { type: 'ErasStakersOverview'; value?: [number, AccountId32] | undefined }
10885
- | { type: 'ErasStakersPaged'; value?: [number, AccountId32, number] | undefined }
10886
- | { type: 'ClaimedRewards'; value?: [number, AccountId32] | undefined }
10887
- | { type: 'ErasValidatorPrefs'; value?: [number, AccountId32] | undefined }
10888
- | { type: 'ErasValidatorReward'; value?: number | undefined }
10889
- | { type: 'ErasRewardPoints'; value?: number | undefined }
10890
- | { type: 'ErasTotalStake'; value?: number | undefined }
10891
- | { type: 'UnappliedSlashes'; value?: number | undefined }
10892
- | { type: 'BondedEras' }
10893
- | { type: 'ValidatorSlashInEra'; value?: [number, AccountId32] | undefined }
10894
- | { type: 'NominatorSlashInEra'; value?: [number, AccountId32] | undefined }
10895
- | { type: 'SlashingSpans'; value?: AccountId32 | undefined }
10896
- | { type: 'SpanSlash'; value?: [AccountId32, number] | undefined }
10897
- | { type: 'Finished' };
10898
-
10899
- export type PalletRcMigratorQueuePriority =
10900
- | { type: 'Config' }
10901
- | { type: 'OverrideConfig'; value: [number, number] }
10902
- | { type: 'Disabled' };
10903
-
10904
- export type PalletRcMigratorManagerMultisigVote = {
10905
- who: SpRuntimeMultiSigner;
10906
- call: PaseoRuntimeRuntimeCall;
10907
- round: number;
10908
- };
10909
-
10910
- export type PalletRcMigratorMigrationSettings = {
10911
- maxAccountsPerBlock?: number | undefined;
10912
- maxItemsPerBlock?: number | undefined;
10913
- };
10499
+ export type FrameSystemExtensionsAuthorizeCall = {};
10914
10500
 
10915
10501
  export type FrameSystemExtensionsCheckNonZeroSender = {};
10916
10502
 
@@ -11002,8 +10588,7 @@ export type PaseoRuntimeRuntimeEvent =
11002
10588
  | { pallet: 'XcmPallet'; palletEvent: PalletXcmEvent }
11003
10589
  | { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
11004
10590
  | { pallet: 'AssetRate'; palletEvent: PalletAssetRateEvent }
11005
- | { pallet: 'Sudo'; palletEvent: PalletSudoEvent }
11006
- | { pallet: 'RcMigrator'; palletEvent: PalletRcMigratorEvent };
10591
+ | { pallet: 'Sudo'; palletEvent: PalletSudoEvent };
11007
10592
 
11008
10593
  /**
11009
10594
  * Event for the System pallet.
@@ -13353,260 +12938,6 @@ export type PalletSudoEvent =
13353
12938
  };
13354
12939
  };
13355
12940
 
13356
- /**
13357
- * The `Event` enum of this pallet
13358
- **/
13359
- export type PalletRcMigratorEvent =
13360
- /**
13361
- * A stage transition has occurred.
13362
- **/
13363
- | {
13364
- name: 'StageTransition';
13365
- data: {
13366
- /**
13367
- * The old stage before the transition.
13368
- **/
13369
- old: PalletRcMigratorMigrationStage;
13370
-
13371
- /**
13372
- * The new stage after the transition.
13373
- **/
13374
- new: PalletRcMigratorMigrationStage;
13375
- };
13376
- }
13377
- /**
13378
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
13379
- * emitted.
13380
- *
13381
- * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
13382
- * to understand. The activation is immediate and affects all events happening
13383
- * afterwards.
13384
- **/
13385
- | { name: 'AssetHubMigrationStarted' }
13386
- /**
13387
- * The Asset Hub Migration finished.
13388
- *
13389
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
13390
- * to understand. The finishing is immediate and affects all events happening
13391
- * afterwards.
13392
- **/
13393
- | { name: 'AssetHubMigrationFinished' }
13394
- /**
13395
- * A query response has been received.
13396
- **/
13397
- | {
13398
- name: 'QueryResponseReceived';
13399
- data: {
13400
- /**
13401
- * The query ID.
13402
- **/
13403
- queryId: bigint;
13404
-
13405
- /**
13406
- * The response.
13407
- **/
13408
- response: XcmV3MaybeErrorCode;
13409
- };
13410
- }
13411
- /**
13412
- * A XCM message has been resent.
13413
- **/
13414
- | {
13415
- name: 'XcmResendAttempt';
13416
- data: {
13417
- /**
13418
- * The query ID.
13419
- **/
13420
- queryId: bigint;
13421
-
13422
- /**
13423
- * The error message.
13424
- **/
13425
- sendError?: XcmV3TraitsSendError | undefined;
13426
- };
13427
- }
13428
- /**
13429
- * The unprocessed message buffer size has been set.
13430
- **/
13431
- | {
13432
- name: 'UnprocessedMsgBufferSet';
13433
- data: {
13434
- /**
13435
- * The new size.
13436
- **/
13437
- new: number;
13438
-
13439
- /**
13440
- * The old size.
13441
- **/
13442
- old: number;
13443
- };
13444
- }
13445
- /**
13446
- * Whether the AH UMP queue was prioritized for the next block.
13447
- **/
13448
- | {
13449
- name: 'AhUmpQueuePrioritySet';
13450
- data: {
13451
- /**
13452
- * Indicates if AH UMP queue was successfully set as priority.
13453
- * If `false`, it means we're in the round-robin phase of our priority pattern
13454
- * (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
13455
- **/
13456
- prioritized: boolean;
13457
-
13458
- /**
13459
- * Current block number within the pattern cycle (1 to period).
13460
- **/
13461
- cycleBlock: number;
13462
-
13463
- /**
13464
- * Total number of blocks in the pattern cycle
13465
- **/
13466
- cyclePeriod: number;
13467
- };
13468
- }
13469
- /**
13470
- * The AH UMP queue priority config was set.
13471
- **/
13472
- | {
13473
- name: 'AhUmpQueuePriorityConfigSet';
13474
- data: {
13475
- /**
13476
- * The old priority pattern.
13477
- **/
13478
- old: PalletRcMigratorQueuePriority;
13479
-
13480
- /**
13481
- * The new priority pattern.
13482
- **/
13483
- new: PalletRcMigratorQueuePriority;
13484
- };
13485
- }
13486
- /**
13487
- * The total issuance was recorded.
13488
- **/
13489
- | { name: 'MigratedBalanceRecordSet'; data: { kept: bigint; migrated: bigint } }
13490
- /**
13491
- * The RC kept balance was consumed.
13492
- **/
13493
- | { name: 'MigratedBalanceConsumed'; data: { kept: bigint; migrated: bigint } }
13494
- /**
13495
- * The manager account id was set.
13496
- **/
13497
- | {
13498
- name: 'ManagerSet';
13499
- data: {
13500
- /**
13501
- * The old manager account id.
13502
- **/
13503
- old?: AccountId32 | undefined;
13504
-
13505
- /**
13506
- * The new manager account id.
13507
- **/
13508
- new?: AccountId32 | undefined;
13509
- };
13510
- }
13511
- /**
13512
- * An XCM message was sent.
13513
- **/
13514
- | {
13515
- name: 'XcmSent';
13516
- data: {
13517
- origin: StagingXcmV5Location;
13518
- destination: StagingXcmV5Location;
13519
- message: StagingXcmV5Xcm;
13520
- messageId: FixedBytes<32>;
13521
- };
13522
- }
13523
- /**
13524
- * The staking elections were paused.
13525
- **/
13526
- | { name: 'StakingElectionsPaused' }
13527
- /**
13528
- * The accounts to be preserved on Relay Chain were set.
13529
- **/
13530
- | {
13531
- name: 'AccountsPreserved';
13532
- data: {
13533
- /**
13534
- * The accounts that will be preserved.
13535
- **/
13536
- accounts: Array<AccountId32>;
13537
- };
13538
- }
13539
- /**
13540
- * The canceller account id was set.
13541
- **/
13542
- | {
13543
- name: 'CancellerSet';
13544
- data: {
13545
- /**
13546
- * The old canceller account id.
13547
- **/
13548
- old?: AccountId32 | undefined;
13549
-
13550
- /**
13551
- * The new canceller account id.
13552
- **/
13553
- new?: AccountId32 | undefined;
13554
- };
13555
- }
13556
- /**
13557
- * The migration was paused.
13558
- **/
13559
- | {
13560
- name: 'MigrationPaused';
13561
- data: {
13562
- /**
13563
- * The stage at which the migration was paused.
13564
- **/
13565
- pauseStage: PalletRcMigratorMigrationStage;
13566
- };
13567
- }
13568
- /**
13569
- * The migration was cancelled.
13570
- **/
13571
- | { name: 'MigrationCancelled' }
13572
- /**
13573
- * Some pure accounts were indexed for possibly receiving free `Any` proxies.
13574
- **/
13575
- | {
13576
- name: 'PureAccountsIndexed';
13577
- data: {
13578
- /**
13579
- * The number of indexed pure accounts.
13580
- **/
13581
- numPureAccounts: number;
13582
- };
13583
- }
13584
- /**
13585
- * The manager multisig dispatched something.
13586
- **/
13587
- | { name: 'ManagerMultisigDispatched'; data: { res: Result<[], DispatchError> } }
13588
- /**
13589
- * The manager multisig received a vote.
13590
- **/
13591
- | { name: 'ManagerMultisigVoted'; data: { votes: number } }
13592
- /**
13593
- * The migration settings were set.
13594
- **/
13595
- | {
13596
- name: 'MigrationSettingsSet';
13597
- data: {
13598
- /**
13599
- * The old migration settings.
13600
- **/
13601
- old?: PalletRcMigratorMigrationSettings | undefined;
13602
-
13603
- /**
13604
- * The new migration settings.
13605
- **/
13606
- new?: PalletRcMigratorMigrationSettings | undefined;
13607
- };
13608
- };
13609
-
13610
12941
  export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
13611
12942
 
13612
12943
  export type FrameSystemCodeUpgradeAuthorization = { codeHash: H256; checkVersion: boolean };
@@ -13630,7 +12961,10 @@ export type FrameSystemLimitsWeightsPerClass = {
13630
12961
  reserved?: SpWeightsWeightV2Weight | undefined;
13631
12962
  };
13632
12963
 
13633
- export type FrameSystemLimitsBlockLength = { max: FrameSupportDispatchPerDispatchClassU32 };
12964
+ export type FrameSystemLimitsBlockLength = {
12965
+ max: FrameSupportDispatchPerDispatchClassU32;
12966
+ maxHeaderSize?: number | undefined;
12967
+ };
13634
12968
 
13635
12969
  export type FrameSupportDispatchPerDispatchClassU32 = { normal: number; operational: number; mandatory: number };
13636
12970
 
@@ -15231,7 +14565,8 @@ export type PolkadotRuntimeParachainsConfigurationHostConfiguration = {
15231
14565
  minimumBackingVotes: number;
15232
14566
  nodeFeatures: BitSequence;
15233
14567
  approvalVotingParams: PolkadotPrimitivesV9ApprovalVotingParams;
15234
- schedulerParams: PolkadotPrimitivesV9SchedulerParams;
14568
+ schedulerParams: PolkadotPrimitivesVstagingSchedulerParams;
14569
+ maxRelayParentSessionAge: number;
15235
14570
  };
15236
14571
 
15237
14572
  /**
@@ -15243,17 +14578,18 @@ export type PolkadotRuntimeParachainsConfigurationPalletError =
15243
14578
  **/
15244
14579
  'InvalidNewValue';
15245
14580
 
15246
- export type PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker = {
15247
- buffer: Array<PolkadotRuntimeParachainsSharedRelayParentInfo>;
14581
+ export type PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker = {
14582
+ buffer: Array<PolkadotRuntimeParachainsSharedSchedulingParentInfo>;
15248
14583
  latestNumber: number;
15249
14584
  };
15250
14585
 
15251
- export type PolkadotRuntimeParachainsSharedRelayParentInfo = {
15252
- relayParent: H256;
15253
- stateRoot: H256;
14586
+ export type PolkadotRuntimeParachainsSharedSchedulingParentInfo = {
14587
+ schedulingParent: H256;
15254
14588
  claimQueue: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<[number, Array<PolkadotPrimitivesV9CoreIndex>]>]>;
15255
14589
  };
15256
14590
 
14591
+ export type PolkadotPrimitivesVstagingRelayParentInfo = { number: number; stateRoot: H256 };
14592
+
15257
14593
  export type PolkadotRuntimeParachainsInclusionCandidatePendingAvailability = {
15258
14594
  core: PolkadotPrimitivesV9CoreIndex;
15259
14595
  hash: PolkadotCorePrimitivesCandidateHash;
@@ -15295,9 +14631,13 @@ export type PolkadotRuntimeParachainsInclusionPalletError =
15295
14631
  * not recent enough or it didn't advance based on the last parachain block.
15296
14632
  **/
15297
14633
  | 'DisallowedRelayParent'
14634
+ /**
14635
+ * The candidate's scheduling-parent was not allowed.
14636
+ **/
14637
+ | 'DisallowedSchedulingParent'
15298
14638
  /**
15299
14639
  * Failed to compute group index for the core: either it's out of bounds
15300
- * or the relay parent doesn't belong to the current session.
14640
+ * or the scheduling parent doesn't belong to the current session.
15301
14641
  **/
15302
14642
  | 'InvalidAssignment'
15303
14643
  /**
@@ -15376,12 +14716,47 @@ export type PolkadotRuntimeParachainsParasInherentPalletError =
15376
14716
  **/
15377
14717
  | 'UnscheduledCandidate';
15378
14718
 
15379
- export type PolkadotRuntimeParachainsSchedulerCommonAssignment =
15380
- | {
15381
- type: 'Pool';
15382
- value: { paraId: PolkadotParachainPrimitivesPrimitivesId; coreIndex: PolkadotPrimitivesV9CoreIndex };
15383
- }
15384
- | { type: 'Bulk'; value: PolkadotParachainPrimitivesPrimitivesId };
14719
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule = {
14720
+ assignments: Array<
14721
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600]
14722
+ >;
14723
+ endHint?: number | undefined;
14724
+ nextSchedule?: number | undefined;
14725
+ };
14726
+
14727
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor = {
14728
+ queue?: PolkadotRuntimeParachainsSchedulerAssignerCoretimeQueueDescriptor | undefined;
14729
+ currentWork?: PolkadotRuntimeParachainsSchedulerAssignerCoretimeWorkState | undefined;
14730
+ };
14731
+
14732
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeQueueDescriptor = { first: number; last: number };
14733
+
14734
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeWorkState = {
14735
+ assignments: Array<
14736
+ [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsSchedulerAssignerCoretimeAssignmentState]
14737
+ >;
14738
+ endHint?: number | undefined;
14739
+ pos: number;
14740
+ step: PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600;
14741
+ };
14742
+
14743
+ export type PolkadotRuntimeParachainsSchedulerAssignerCoretimeAssignmentState = {
14744
+ ratio: PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600;
14745
+ remaining: PolkadotRuntimeParachainsSchedulerAssignerCoretimePartsOf57600;
14746
+ };
14747
+
14748
+ /**
14749
+ * The `Error` enum of this pallet.
14750
+ **/
14751
+ export type PolkadotRuntimeParachainsSchedulerPalletError =
14752
+ /**
14753
+ * assign_core was called with no assignments.
14754
+ **/
14755
+ | 'AssignmentsEmpty'
14756
+ /**
14757
+ * assign_core with non allowed insertion.
14758
+ **/
14759
+ | 'DisallowedInsert';
15385
14760
 
15386
14761
  export type PolkadotRuntimeParachainsParasPvfCheckActiveVoteState = {
15387
14762
  votesAccept: BitSequence;
@@ -15716,29 +15091,18 @@ export type PolkadotRuntimeParachainsDisputesSlashingPalletError =
15716
15091
  **/
15717
15092
  | 'DuplicateSlashingReport';
15718
15093
 
15719
- export type PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount = {
15720
- coreIndex: PolkadotPrimitivesV9CoreIndex;
15721
- count: number;
15722
- };
15723
-
15724
- export type PolkadotRuntimeParachainsOnDemandTypesQueueStatusType = {
15094
+ export type PolkadotRuntimeParachainsOnDemandOrderStatus = {
15725
15095
  traffic: FixedU128;
15726
- nextIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15727
- smallestIndex: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15728
- freedIndices: BinaryHeap;
15096
+ queue: PolkadotRuntimeParachainsOnDemandOrderQueue;
15729
15097
  };
15730
15098
 
15731
- export type PolkadotRuntimeParachainsOnDemandTypesQueueIndex = number;
15732
-
15733
- export type BinaryHeap = Array<PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex>;
15734
-
15735
- export type PolkadotRuntimeParachainsOnDemandTypesReverseQueueIndex = number;
15736
-
15737
- export type BinaryHeapEnqueuedOrder = Array<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>;
15099
+ export type PolkadotRuntimeParachainsOnDemandOrderQueue = {
15100
+ queue: Array<PolkadotRuntimeParachainsOnDemandEnqueuedOrder>;
15101
+ };
15738
15102
 
15739
- export type PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder = {
15103
+ export type PolkadotRuntimeParachainsOnDemandEnqueuedOrder = {
15740
15104
  paraId: PolkadotParachainPrimitivesPrimitivesId;
15741
- idx: PolkadotRuntimeParachainsOnDemandTypesQueueIndex;
15105
+ orderedAt: number;
15742
15106
  };
15743
15107
 
15744
15108
  /**
@@ -15759,46 +15123,6 @@ export type PolkadotRuntimeParachainsOnDemandPalletError =
15759
15123
  **/
15760
15124
  | 'InsufficientCredits';
15761
15125
 
15762
- export type PolkadotRuntimeParachainsAssignerCoretimeSchedule = {
15763
- assignments: Array<
15764
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimePartsOf57600]
15765
- >;
15766
- endHint?: number | undefined;
15767
- nextSchedule?: number | undefined;
15768
- };
15769
-
15770
- export type PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor = {
15771
- queue?: PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor | undefined;
15772
- currentWork?: PolkadotRuntimeParachainsAssignerCoretimeWorkState | undefined;
15773
- };
15774
-
15775
- export type PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor = { first: number; last: number };
15776
-
15777
- export type PolkadotRuntimeParachainsAssignerCoretimeWorkState = {
15778
- assignments: Array<
15779
- [PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]
15780
- >;
15781
- endHint?: number | undefined;
15782
- pos: number;
15783
- step: PolkadotRuntimeParachainsAssignerCoretimePartsOf57600;
15784
- };
15785
-
15786
- export type PolkadotRuntimeParachainsAssignerCoretimeAssignmentState = {
15787
- ratio: PolkadotRuntimeParachainsAssignerCoretimePartsOf57600;
15788
- remaining: PolkadotRuntimeParachainsAssignerCoretimePartsOf57600;
15789
- };
15790
-
15791
- /**
15792
- * The `Error` enum of this pallet.
15793
- **/
15794
- export type PolkadotRuntimeParachainsAssignerCoretimePalletError =
15795
- | 'AssignmentsEmpty'
15796
- /**
15797
- * assign_core is only allowed to append new assignments at the end of already existing
15798
- * ones or update the last entry.
15799
- **/
15800
- | 'DisallowedInsert';
15801
-
15802
15126
  export type PolkadotRuntimeCommonParasRegistrarParaInfo = {
15803
15127
  manager: AccountId32;
15804
15128
  deposit: bigint;
@@ -16438,89 +15762,15 @@ export type PalletSudoError =
16438
15762
  **/
16439
15763
  'RequireSudo';
16440
15764
 
16441
- export type PalletRcMigratorAccountsAccountState =
15765
+ export type PalletRcMigratorAccountState =
16442
15766
  | { type: 'Migrate' }
16443
15767
  | { type: 'Preserve' }
16444
15768
  | { type: 'Part'; value: { free: bigint; reserved: bigint; consumers: number } };
16445
15769
 
16446
- export type PalletRcMigratorAccountsMigratedBalances = { kept: bigint; migrated: bigint };
16447
-
16448
15770
  /**
16449
15771
  * The `Error` enum of this pallet.
16450
15772
  **/
16451
- export type PalletRcMigratorError =
16452
- | 'Unreachable'
16453
- | 'OutOfWeight'
16454
- /**
16455
- * Failed to send XCM message to AH.
16456
- **/
16457
- | 'XcmError'
16458
- /**
16459
- * Failed to withdraw account from RC for migration to AH.
16460
- **/
16461
- | 'FailedToWithdrawAccount'
16462
- /**
16463
- * Indicates that the specified block number is in the past.
16464
- **/
16465
- | 'PastBlockNumber'
16466
- /**
16467
- * Indicates that there is not enough time for staking to lock.
16468
- *
16469
- * Schedule the migration at least two sessions before the current era ends.
16470
- **/
16471
- | 'EraEndsTooSoon'
16472
- /**
16473
- * Balance accounting overflow.
16474
- **/
16475
- | 'BalanceOverflow'
16476
- /**
16477
- * Balance accounting underflow.
16478
- **/
16479
- | 'BalanceUnderflow'
16480
- /**
16481
- * The query response is invalid.
16482
- **/
16483
- | 'InvalidQueryResponse'
16484
- /**
16485
- * The xcm query was not found.
16486
- **/
16487
- | 'QueryNotFound'
16488
- /**
16489
- * Failed to send XCM message.
16490
- **/
16491
- | 'XcmSendError'
16492
- /**
16493
- * The migration stage is not reachable from the current stage.
16494
- **/
16495
- | 'UnreachableStage'
16496
- /**
16497
- * Invalid parameter.
16498
- **/
16499
- | 'InvalidParameter'
16500
- /**
16501
- * The AH UMP queue priority configuration is already set.
16502
- **/
16503
- | 'AhUmpQueuePriorityAlreadySet'
16504
- /**
16505
- * The account is referenced by some other pallet. It might have freezes or holds.
16506
- **/
16507
- | 'AccountReferenced'
16508
- /**
16509
- * The XCM version is invalid.
16510
- **/
16511
- | 'BadXcmVersion'
16512
- /**
16513
- * The origin is invalid.
16514
- **/
16515
- | 'InvalidOrigin'
16516
- /**
16517
- * The stage transition is invalid.
16518
- **/
16519
- | 'InvalidStageTransition'
16520
- /**
16521
- * Unsigned validation failed.
16522
- **/
16523
- | 'UnsignedValidationFailed';
15773
+ export type PalletRcMigratorError = null;
16524
15774
 
16525
15775
  export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
16526
15776
 
@@ -16729,6 +15979,8 @@ export type SpConsensusBabeEpoch = {
16729
15979
 
16730
15980
  export type SpConsensusBabeOpaqueKeyOwnershipProof = Bytes;
16731
15981
 
15982
+ export type SpSessionRuntimeApiOpaqueGeneratedSessionKeys = { keys: Bytes; proof: Bytes };
15983
+
16732
15984
  export type FrameSupportViewFunctionsViewFunctionId = { prefix: FixedBytes<16>; suffix: FixedBytes<16> };
16733
15985
 
16734
15986
  export type FrameSupportViewFunctionsViewFunctionDispatchError =
@@ -16804,12 +16056,12 @@ export type PaseoRuntimeRuntimeError =
16804
16056
  | { pallet: 'Configuration'; palletError: PolkadotRuntimeParachainsConfigurationPalletError }
16805
16057
  | { pallet: 'ParaInclusion'; palletError: PolkadotRuntimeParachainsInclusionPalletError }
16806
16058
  | { pallet: 'ParaInherent'; palletError: PolkadotRuntimeParachainsParasInherentPalletError }
16059
+ | { pallet: 'ParaScheduler'; palletError: PolkadotRuntimeParachainsSchedulerPalletError }
16807
16060
  | { pallet: 'Paras'; palletError: PolkadotRuntimeParachainsParasPalletError }
16808
16061
  | { pallet: 'Hrmp'; palletError: PolkadotRuntimeParachainsHrmpPalletError }
16809
16062
  | { pallet: 'ParasDisputes'; palletError: PolkadotRuntimeParachainsDisputesPalletError }
16810
16063
  | { pallet: 'ParasSlashing'; palletError: PolkadotRuntimeParachainsDisputesSlashingPalletError }
16811
16064
  | { pallet: 'OnDemand'; palletError: PolkadotRuntimeParachainsOnDemandPalletError }
16812
- | { pallet: 'CoretimeAssignmentProvider'; palletError: PolkadotRuntimeParachainsAssignerCoretimePalletError }
16813
16065
  | { pallet: 'Registrar'; palletError: PolkadotRuntimeCommonParasRegistrarPalletError }
16814
16066
  | { pallet: 'Slots'; palletError: PolkadotRuntimeCommonSlotsPalletError }
16815
16067
  | { pallet: 'Auctions'; palletError: PolkadotRuntimeCommonAuctionsPalletError }