@dedot/chaintypes 0.263.0 → 0.265.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.
@@ -1260,15 +1260,6 @@ export interface ChainConsts extends GenericChainConsts {
1260
1260
  **/
1261
1261
  [name: string]: any;
1262
1262
  };
1263
- /**
1264
- * Pallet `CoretimeAssignmentProvider`'s constants
1265
- **/
1266
- coretimeAssignmentProvider: {
1267
- /**
1268
- * Generic pallet constant
1269
- **/
1270
- [name: string]: any;
1271
- };
1272
1263
  /**
1273
1264
  * Pallet `Registrar`'s constants
1274
1265
  **/
@@ -1994,9 +1994,14 @@ export interface ChainErrors extends GenericChainErrors {
1994
1994
  **/
1995
1995
  DisallowedRelayParent: GenericPalletError;
1996
1996
 
1997
+ /**
1998
+ * The candidate's scheduling-parent was not allowed.
1999
+ **/
2000
+ DisallowedSchedulingParent: GenericPalletError;
2001
+
1997
2002
  /**
1998
2003
  * Failed to compute group index for the core: either it's out of bounds
1999
- * or the relay parent doesn't belong to the current session.
2004
+ * or the scheduling parent doesn't belong to the current session.
2000
2005
  **/
2001
2006
  InvalidAssignment: GenericPalletError;
2002
2007
 
@@ -2087,6 +2092,25 @@ export interface ChainErrors extends GenericChainErrors {
2087
2092
  **/
2088
2093
  [error: string]: GenericPalletError;
2089
2094
  };
2095
+ /**
2096
+ * Pallet `ParaScheduler`'s errors
2097
+ **/
2098
+ paraScheduler: {
2099
+ /**
2100
+ * assign_core was called with no assignments.
2101
+ **/
2102
+ AssignmentsEmpty: GenericPalletError;
2103
+
2104
+ /**
2105
+ * assign_core with non allowed insertion.
2106
+ **/
2107
+ DisallowedInsert: GenericPalletError;
2108
+
2109
+ /**
2110
+ * Generic pallet error
2111
+ **/
2112
+ [error: string]: GenericPalletError;
2113
+ };
2090
2114
  /**
2091
2115
  * Pallet `Paras`'s errors
2092
2116
  **/
@@ -2404,23 +2428,6 @@ export interface ChainErrors extends GenericChainErrors {
2404
2428
  **/
2405
2429
  [error: string]: GenericPalletError;
2406
2430
  };
2407
- /**
2408
- * Pallet `CoretimeAssignmentProvider`'s errors
2409
- **/
2410
- coretimeAssignmentProvider: {
2411
- AssignmentsEmpty: GenericPalletError;
2412
-
2413
- /**
2414
- * assign_core is only allowed to append new assignments at the end of already existing
2415
- * ones or update the last entry.
2416
- **/
2417
- DisallowedInsert: GenericPalletError;
2418
-
2419
- /**
2420
- * Generic pallet error
2421
- **/
2422
- [error: string]: GenericPalletError;
2423
- };
2424
2431
  /**
2425
2432
  * Pallet `Registrar`'s errors
2426
2433
  **/
@@ -3007,96 +3014,6 @@ export interface ChainErrors extends GenericChainErrors {
3007
3014
  * Pallet `RcMigrator`'s errors
3008
3015
  **/
3009
3016
  rcMigrator: {
3010
- Unreachable: GenericPalletError;
3011
- OutOfWeight: GenericPalletError;
3012
-
3013
- /**
3014
- * Failed to send XCM message to AH.
3015
- **/
3016
- XcmError: GenericPalletError;
3017
-
3018
- /**
3019
- * Failed to withdraw account from RC for migration to AH.
3020
- **/
3021
- FailedToWithdrawAccount: GenericPalletError;
3022
-
3023
- /**
3024
- * Indicates that the specified block number is in the past.
3025
- **/
3026
- PastBlockNumber: GenericPalletError;
3027
-
3028
- /**
3029
- * Indicates that there is not enough time for staking to lock.
3030
- *
3031
- * Schedule the migration at least two sessions before the current era ends.
3032
- **/
3033
- EraEndsTooSoon: GenericPalletError;
3034
-
3035
- /**
3036
- * Balance accounting overflow.
3037
- **/
3038
- BalanceOverflow: GenericPalletError;
3039
-
3040
- /**
3041
- * Balance accounting underflow.
3042
- **/
3043
- BalanceUnderflow: GenericPalletError;
3044
-
3045
- /**
3046
- * The query response is invalid.
3047
- **/
3048
- InvalidQueryResponse: GenericPalletError;
3049
-
3050
- /**
3051
- * The xcm query was not found.
3052
- **/
3053
- QueryNotFound: GenericPalletError;
3054
-
3055
- /**
3056
- * Failed to send XCM message.
3057
- **/
3058
- XcmSendError: GenericPalletError;
3059
-
3060
- /**
3061
- * The migration stage is not reachable from the current stage.
3062
- **/
3063
- UnreachableStage: GenericPalletError;
3064
-
3065
- /**
3066
- * Invalid parameter.
3067
- **/
3068
- InvalidParameter: GenericPalletError;
3069
-
3070
- /**
3071
- * The AH UMP queue priority configuration is already set.
3072
- **/
3073
- AhUmpQueuePriorityAlreadySet: GenericPalletError;
3074
-
3075
- /**
3076
- * The account is referenced by some other pallet. It might have freezes or holds.
3077
- **/
3078
- AccountReferenced: GenericPalletError;
3079
-
3080
- /**
3081
- * The XCM version is invalid.
3082
- **/
3083
- BadXcmVersion: GenericPalletError;
3084
-
3085
- /**
3086
- * The origin is invalid.
3087
- **/
3088
- InvalidOrigin: GenericPalletError;
3089
-
3090
- /**
3091
- * The stage transition is invalid.
3092
- **/
3093
- InvalidStageTransition: GenericPalletError;
3094
-
3095
- /**
3096
- * Unsigned validation failed.
3097
- **/
3098
- UnsignedValidationFailed: GenericPalletError;
3099
-
3100
3017
  /**
3101
3018
  * Generic pallet error
3102
3019
  **/
@@ -67,10 +67,6 @@ import type {
67
67
  StagingXcmV5AssetAssets,
68
68
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
69
69
  FrameSupportMessagesProcessMessageError,
70
- PalletRcMigratorMigrationStage,
71
- XcmV3MaybeErrorCode,
72
- PalletRcMigratorQueuePriority,
73
- PalletRcMigratorMigrationSettings,
74
70
  } from './types.js';
75
71
 
76
72
  export interface ChainEvents extends GenericChainEvents {
@@ -3531,310 +3527,6 @@ export interface ChainEvents extends GenericChainEvents {
3531
3527
  { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
3532
3528
  >;
3533
3529
 
3534
- /**
3535
- * Generic pallet event
3536
- **/
3537
- [prop: string]: GenericPalletEvent;
3538
- };
3539
- /**
3540
- * Pallet `RcMigrator`'s events
3541
- **/
3542
- rcMigrator: {
3543
- /**
3544
- * A stage transition has occurred.
3545
- **/
3546
- StageTransition: GenericPalletEvent<
3547
- 'RcMigrator',
3548
- 'StageTransition',
3549
- {
3550
- /**
3551
- * The old stage before the transition.
3552
- **/
3553
- old: PalletRcMigratorMigrationStage;
3554
-
3555
- /**
3556
- * The new stage after the transition.
3557
- **/
3558
- new: PalletRcMigratorMigrationStage;
3559
- }
3560
- >;
3561
-
3562
- /**
3563
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
3564
- * emitted.
3565
- *
3566
- * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
3567
- * to understand. The activation is immediate and affects all events happening
3568
- * afterwards.
3569
- **/
3570
- AssetHubMigrationStarted: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationStarted', null>;
3571
-
3572
- /**
3573
- * The Asset Hub Migration finished.
3574
- *
3575
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
3576
- * to understand. The finishing is immediate and affects all events happening
3577
- * afterwards.
3578
- **/
3579
- AssetHubMigrationFinished: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationFinished', null>;
3580
-
3581
- /**
3582
- * A query response has been received.
3583
- **/
3584
- QueryResponseReceived: GenericPalletEvent<
3585
- 'RcMigrator',
3586
- 'QueryResponseReceived',
3587
- {
3588
- /**
3589
- * The query ID.
3590
- **/
3591
- queryId: bigint;
3592
-
3593
- /**
3594
- * The response.
3595
- **/
3596
- response: XcmV3MaybeErrorCode;
3597
- }
3598
- >;
3599
-
3600
- /**
3601
- * A XCM message has been resent.
3602
- **/
3603
- XcmResendAttempt: GenericPalletEvent<
3604
- 'RcMigrator',
3605
- 'XcmResendAttempt',
3606
- {
3607
- /**
3608
- * The query ID.
3609
- **/
3610
- queryId: bigint;
3611
-
3612
- /**
3613
- * The error message.
3614
- **/
3615
- sendError?: XcmV3TraitsSendError | undefined;
3616
- }
3617
- >;
3618
-
3619
- /**
3620
- * The unprocessed message buffer size has been set.
3621
- **/
3622
- UnprocessedMsgBufferSet: GenericPalletEvent<
3623
- 'RcMigrator',
3624
- 'UnprocessedMsgBufferSet',
3625
- {
3626
- /**
3627
- * The new size.
3628
- **/
3629
- new: number;
3630
-
3631
- /**
3632
- * The old size.
3633
- **/
3634
- old: number;
3635
- }
3636
- >;
3637
-
3638
- /**
3639
- * Whether the AH UMP queue was prioritized for the next block.
3640
- **/
3641
- AhUmpQueuePrioritySet: GenericPalletEvent<
3642
- 'RcMigrator',
3643
- 'AhUmpQueuePrioritySet',
3644
- {
3645
- /**
3646
- * Indicates if AH UMP queue was successfully set as priority.
3647
- * If `false`, it means we're in the round-robin phase of our priority pattern
3648
- * (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
3649
- **/
3650
- prioritized: boolean;
3651
-
3652
- /**
3653
- * Current block number within the pattern cycle (1 to period).
3654
- **/
3655
- cycleBlock: number;
3656
-
3657
- /**
3658
- * Total number of blocks in the pattern cycle
3659
- **/
3660
- cyclePeriod: number;
3661
- }
3662
- >;
3663
-
3664
- /**
3665
- * The AH UMP queue priority config was set.
3666
- **/
3667
- AhUmpQueuePriorityConfigSet: GenericPalletEvent<
3668
- 'RcMigrator',
3669
- 'AhUmpQueuePriorityConfigSet',
3670
- {
3671
- /**
3672
- * The old priority pattern.
3673
- **/
3674
- old: PalletRcMigratorQueuePriority;
3675
-
3676
- /**
3677
- * The new priority pattern.
3678
- **/
3679
- new: PalletRcMigratorQueuePriority;
3680
- }
3681
- >;
3682
-
3683
- /**
3684
- * The total issuance was recorded.
3685
- **/
3686
- MigratedBalanceRecordSet: GenericPalletEvent<
3687
- 'RcMigrator',
3688
- 'MigratedBalanceRecordSet',
3689
- { kept: bigint; migrated: bigint }
3690
- >;
3691
-
3692
- /**
3693
- * The RC kept balance was consumed.
3694
- **/
3695
- MigratedBalanceConsumed: GenericPalletEvent<
3696
- 'RcMigrator',
3697
- 'MigratedBalanceConsumed',
3698
- { kept: bigint; migrated: bigint }
3699
- >;
3700
-
3701
- /**
3702
- * The manager account id was set.
3703
- **/
3704
- ManagerSet: GenericPalletEvent<
3705
- 'RcMigrator',
3706
- 'ManagerSet',
3707
- {
3708
- /**
3709
- * The old manager account id.
3710
- **/
3711
- old?: AccountId32 | undefined;
3712
-
3713
- /**
3714
- * The new manager account id.
3715
- **/
3716
- new?: AccountId32 | undefined;
3717
- }
3718
- >;
3719
-
3720
- /**
3721
- * An XCM message was sent.
3722
- **/
3723
- XcmSent: GenericPalletEvent<
3724
- 'RcMigrator',
3725
- 'XcmSent',
3726
- {
3727
- origin: StagingXcmV5Location;
3728
- destination: StagingXcmV5Location;
3729
- message: StagingXcmV5Xcm;
3730
- messageId: FixedBytes<32>;
3731
- }
3732
- >;
3733
-
3734
- /**
3735
- * The staking elections were paused.
3736
- **/
3737
- StakingElectionsPaused: GenericPalletEvent<'RcMigrator', 'StakingElectionsPaused', null>;
3738
-
3739
- /**
3740
- * The accounts to be preserved on Relay Chain were set.
3741
- **/
3742
- AccountsPreserved: GenericPalletEvent<
3743
- 'RcMigrator',
3744
- 'AccountsPreserved',
3745
- {
3746
- /**
3747
- * The accounts that will be preserved.
3748
- **/
3749
- accounts: Array<AccountId32>;
3750
- }
3751
- >;
3752
-
3753
- /**
3754
- * The canceller account id was set.
3755
- **/
3756
- CancellerSet: GenericPalletEvent<
3757
- 'RcMigrator',
3758
- 'CancellerSet',
3759
- {
3760
- /**
3761
- * The old canceller account id.
3762
- **/
3763
- old?: AccountId32 | undefined;
3764
-
3765
- /**
3766
- * The new canceller account id.
3767
- **/
3768
- new?: AccountId32 | undefined;
3769
- }
3770
- >;
3771
-
3772
- /**
3773
- * The migration was paused.
3774
- **/
3775
- MigrationPaused: GenericPalletEvent<
3776
- 'RcMigrator',
3777
- 'MigrationPaused',
3778
- {
3779
- /**
3780
- * The stage at which the migration was paused.
3781
- **/
3782
- pauseStage: PalletRcMigratorMigrationStage;
3783
- }
3784
- >;
3785
-
3786
- /**
3787
- * The migration was cancelled.
3788
- **/
3789
- MigrationCancelled: GenericPalletEvent<'RcMigrator', 'MigrationCancelled', null>;
3790
-
3791
- /**
3792
- * Some pure accounts were indexed for possibly receiving free `Any` proxies.
3793
- **/
3794
- PureAccountsIndexed: GenericPalletEvent<
3795
- 'RcMigrator',
3796
- 'PureAccountsIndexed',
3797
- {
3798
- /**
3799
- * The number of indexed pure accounts.
3800
- **/
3801
- numPureAccounts: number;
3802
- }
3803
- >;
3804
-
3805
- /**
3806
- * The manager multisig dispatched something.
3807
- **/
3808
- ManagerMultisigDispatched: GenericPalletEvent<
3809
- 'RcMigrator',
3810
- 'ManagerMultisigDispatched',
3811
- { res: Result<[], DispatchError> }
3812
- >;
3813
-
3814
- /**
3815
- * The manager multisig received a vote.
3816
- **/
3817
- ManagerMultisigVoted: GenericPalletEvent<'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
3818
-
3819
- /**
3820
- * The migration settings were set.
3821
- **/
3822
- MigrationSettingsSet: GenericPalletEvent<
3823
- 'RcMigrator',
3824
- 'MigrationSettingsSet',
3825
- {
3826
- /**
3827
- * The old migration settings.
3828
- **/
3829
- old?: PalletRcMigratorMigrationSettings | undefined;
3830
-
3831
- /**
3832
- * The new migration settings.
3833
- **/
3834
- new?: PalletRcMigratorMigrationSettings | undefined;
3835
- }
3836
- >;
3837
-
3838
3530
  /**
3839
3531
  * Generic pallet event
3840
3532
  **/
package/kusama/index.d.ts CHANGED
@@ -48,7 +48,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
48
48
 
49
49
  /**
50
50
  * @name: KusamaApi
51
- * @specVersion: 2001000
51
+ * @specVersion: 2002000
52
52
  **/
53
53
  export interface KusamaApi extends GenericSubstrateApi {
54
54
  rpc: ChainJsonRpcApis;