@polkadot/api-augment 14.0.1 → 14.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/cjs/base.d.ts +2 -0
  2. package/cjs/bundle.d.ts +2 -0
  3. package/cjs/index.d.ts +2 -0
  4. package/cjs/kusama/consts.d.ts +1044 -0
  5. package/cjs/kusama/errors.d.ts +2355 -0
  6. package/cjs/kusama/events.d.ts +2543 -0
  7. package/cjs/kusama/index.d.ts +8 -0
  8. package/cjs/kusama/query.d.ts +2378 -0
  9. package/cjs/kusama/registry.d.ts +3 -0
  10. package/cjs/kusama/runtime.d.ts +683 -0
  11. package/cjs/kusama/tx.d.ts +5778 -0
  12. package/cjs/packageDetect.d.ts +1 -0
  13. package/cjs/packageInfo.d.ts +6 -0
  14. package/cjs/packageInfo.js +1 -1
  15. package/cjs/polkadot/consts.d.ts +864 -0
  16. package/cjs/polkadot/errors.d.ts +1954 -0
  17. package/cjs/polkadot/events.d.ts +2024 -0
  18. package/cjs/polkadot/index.d.ts +8 -0
  19. package/cjs/polkadot/query.d.ts +2133 -0
  20. package/cjs/polkadot/registry.d.ts +2 -0
  21. package/cjs/polkadot/runtime.d.ts +683 -0
  22. package/cjs/polkadot/tx.d.ts +4932 -0
  23. package/cjs/substrate/consts.d.ts +1763 -0
  24. package/cjs/substrate/errors.d.ts +3409 -0
  25. package/cjs/substrate/events.d.ts +4300 -0
  26. package/cjs/substrate/index.d.ts +8 -0
  27. package/cjs/substrate/query.d.ts +2582 -0
  28. package/cjs/substrate/registry.d.ts +1 -0
  29. package/cjs/substrate/runtime.d.ts +577 -0
  30. package/cjs/substrate/tx.d.ts +10200 -0
  31. package/kusama/runtime.d.ts +253 -212
  32. package/package.json +368 -128
  33. package/packageInfo.js +1 -1
  34. package/polkadot/consts.d.ts +50 -66
  35. package/polkadot/errors.d.ts +114 -183
  36. package/polkadot/events.d.ts +83 -144
  37. package/polkadot/query.d.ts +159 -100
  38. package/polkadot/runtime.d.ts +315 -179
  39. package/polkadot/tx.d.ts +2770 -636
  40. package/substrate/runtime.d.ts +217 -175
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { Codec, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
6
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Junctions } from '@polkadot/types/lookup';
7
7
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
8
8
  declare module '@polkadot/api-base/types/consts' {
9
9
  interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -72,10 +72,14 @@ declare module '@polkadot/api-base/types/consts' {
72
72
  /**
73
73
  * The maximum number of locks that should exist on an account.
74
74
  * Not strictly enforced, but used for weight estimation.
75
+ *
76
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
75
77
  **/
76
78
  maxLocks: u32 & AugmentedConst<ApiType>;
77
79
  /**
78
80
  * The maximum number of named reserves that can exist on an account.
81
+ *
82
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
79
83
  **/
80
84
  maxReserves: u32 & AugmentedConst<ApiType>;
81
85
  /**
@@ -194,6 +198,20 @@ declare module '@polkadot/api-base/types/consts' {
194
198
  **/
195
199
  [key: string]: Codec;
196
200
  };
201
+ coretime: {
202
+ /**
203
+ * The ParaId of the coretime chain.
204
+ **/
205
+ brokerId: u32 & AugmentedConst<ApiType>;
206
+ /**
207
+ * The coretime chain pot location.
208
+ **/
209
+ brokerPotLocation: StagingXcmV4Junctions & AugmentedConst<ApiType>;
210
+ /**
211
+ * Generic const
212
+ **/
213
+ [key: string]: Codec;
214
+ };
197
215
  crowdloan: {
198
216
  /**
199
217
  * The minimum amount that may be contributed into a crowdloan. Should almost certainly be
@@ -272,18 +290,10 @@ declare module '@polkadot/api-base/types/consts' {
272
290
  * this value.
273
291
  **/
274
292
  signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
275
- /**
276
- * Duration of the signed phase.
277
- **/
278
- signedPhase: u32 & AugmentedConst<ApiType>;
279
293
  /**
280
294
  * Base reward for a signed solution
281
295
  **/
282
296
  signedRewardBase: u128 & AugmentedConst<ApiType>;
283
- /**
284
- * Duration of the unsigned phase.
285
- **/
286
- unsignedPhase: u32 & AugmentedConst<ApiType>;
287
297
  /**
288
298
  * Generic const
289
299
  **/
@@ -323,47 +333,6 @@ declare module '@polkadot/api-base/types/consts' {
323
333
  **/
324
334
  [key: string]: Codec;
325
335
  };
326
- identity: {
327
- /**
328
- * The amount held on deposit for a registered identity.
329
- **/
330
- basicDeposit: u128 & AugmentedConst<ApiType>;
331
- /**
332
- * The amount held on deposit per encoded byte for a registered identity.
333
- **/
334
- byteDeposit: u128 & AugmentedConst<ApiType>;
335
- /**
336
- * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
337
- * of, e.g., updating judgements.
338
- **/
339
- maxRegistrars: u32 & AugmentedConst<ApiType>;
340
- /**
341
- * The maximum number of sub-accounts allowed per identified account.
342
- **/
343
- maxSubAccounts: u32 & AugmentedConst<ApiType>;
344
- /**
345
- * The maximum length of a suffix.
346
- **/
347
- maxSuffixLength: u32 & AugmentedConst<ApiType>;
348
- /**
349
- * The maximum length of a username, including its suffix and any system-added delimiters.
350
- **/
351
- maxUsernameLength: u32 & AugmentedConst<ApiType>;
352
- /**
353
- * The number of blocks within which a username grant must be accepted.
354
- **/
355
- pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
356
- /**
357
- * The amount held on deposit for a registered subaccount. This should account for the fact
358
- * that one storage item's value will increase by the size of an account ID, and there will
359
- * be another trie item whose value is the size of an account ID plus 32 bytes.
360
- **/
361
- subAccountDeposit: u128 & AugmentedConst<ApiType>;
362
- /**
363
- * Generic const
364
- **/
365
- [key: string]: Codec;
366
- };
367
336
  indices: {
368
337
  /**
369
338
  * The deposit needed for reserving an index.
@@ -383,6 +352,14 @@ declare module '@polkadot/api-base/types/consts' {
383
352
  * size is slightly lower than this as defined by [`MaxMessageLenOf`].
384
353
  **/
385
354
  heapSize: u32 & AugmentedConst<ApiType>;
355
+ /**
356
+ * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
357
+ * should be provided to the message queue for servicing enqueued items `on_idle`.
358
+ * Useful for parachains to process messages at the same block they are received.
359
+ *
360
+ * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
361
+ **/
362
+ idleMaxServiceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
386
363
  /**
387
364
  * The maximum number of stale pages (i.e. of overweight messages) allowed before culling
388
365
  * can happen. Once there are more stale pages than this, then historical pages may be
@@ -391,10 +368,11 @@ declare module '@polkadot/api-base/types/consts' {
391
368
  maxStale: u32 & AugmentedConst<ApiType>;
392
369
  /**
393
370
  * The amount of weight (if any) which should be provided to the message queue for
394
- * servicing enqueued items.
371
+ * servicing enqueued items `on_initialize`.
395
372
  *
396
373
  * This may be legitimately `None` in the case that you will call
397
- * `ServiceQueues::service_queues` manually.
374
+ * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
375
+ * it run in `on_idle`.
398
376
  **/
399
377
  serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
400
378
  /**
@@ -456,6 +434,25 @@ declare module '@polkadot/api-base/types/consts' {
456
434
  **/
457
435
  [key: string]: Codec;
458
436
  };
437
+ onDemand: {
438
+ /**
439
+ * The maximum number of blocks some historical revenue
440
+ * information stored for.
441
+ **/
442
+ maxHistoricalRevenue: u32 & AugmentedConst<ApiType>;
443
+ /**
444
+ * Identifier for the internal revenue balance.
445
+ **/
446
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
447
+ /**
448
+ * The default value for the spot traffic multiplier.
449
+ **/
450
+ trafficDefaultValue: u128 & AugmentedConst<ApiType>;
451
+ /**
452
+ * Generic const
453
+ **/
454
+ [key: string]: Codec;
455
+ };
459
456
  paras: {
460
457
  unsignedPriority: u64 & AugmentedConst<ApiType>;
461
458
  /**
@@ -709,7 +706,7 @@ declare module '@polkadot/api-base/types/consts' {
709
706
  **/
710
707
  ss58Prefix: u16 & AugmentedConst<ApiType>;
711
708
  /**
712
- * Get the chain's current version.
709
+ * Get the chain's in-code version.
713
710
  **/
714
711
  version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
715
712
  /**
@@ -781,19 +778,6 @@ declare module '@polkadot/api-base/types/consts' {
781
778
  * The period during which an approved treasury spend has to be claimed.
782
779
  **/
783
780
  payoutPeriod: u32 & AugmentedConst<ApiType>;
784
- /**
785
- * Fraction of a proposal's value that should be bonded in order to place the proposal.
786
- * An accepted proposal gets these back. A rejected proposal does not.
787
- **/
788
- proposalBond: Permill & AugmentedConst<ApiType>;
789
- /**
790
- * Maximum amount of funds that should be placed in a deposit for making a proposal.
791
- **/
792
- proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
793
- /**
794
- * Minimum amount of funds that should be placed in a deposit for making a proposal.
795
- **/
796
- proposalBondMinimum: u128 & AugmentedConst<ApiType>;
797
781
  /**
798
782
  * Period between successive spends.
799
783
  **/
@@ -8,6 +8,10 @@ declare module '@polkadot/api-base/types/errors' {
8
8
  * The given asset ID already has an assigned conversion rate and cannot be re-created.
9
9
  **/
10
10
  AlreadyExists: AugmentedError<ApiType>;
11
+ /**
12
+ * Overflow ocurred when calculating the inverse rate.
13
+ **/
14
+ Overflow: AugmentedError<ApiType>;
11
15
  /**
12
16
  * The given asset ID is unknown.
13
17
  **/
@@ -266,7 +270,7 @@ declare module '@polkadot/api-base/types/errors' {
266
270
  AlreadyDelegating: AugmentedError<ApiType>;
267
271
  /**
268
272
  * The account currently has votes attached to it and the operation cannot succeed until
269
- * these are removed, either through `unvote` or `reap_vote`.
273
+ * these are removed through `remove_vote`.
270
274
  **/
271
275
  AlreadyVoting: AugmentedError<ApiType>;
272
276
  /**
@@ -314,6 +318,53 @@ declare module '@polkadot/api-base/types/errors' {
314
318
  **/
315
319
  [key: string]: AugmentedError<ApiType>;
316
320
  };
321
+ coretime: {
322
+ /**
323
+ * Failed to transfer assets to the coretime chain
324
+ **/
325
+ AssetTransferFailed: AugmentedError<ApiType>;
326
+ /**
327
+ * The paraid making the call is not the coretime brokerage system parachain.
328
+ **/
329
+ NotBroker: AugmentedError<ApiType>;
330
+ /**
331
+ * Requested revenue information `when` parameter was in the future from the current
332
+ * block height.
333
+ **/
334
+ RequestedFutureRevenue: AugmentedError<ApiType>;
335
+ /**
336
+ * Generic error
337
+ **/
338
+ [key: string]: AugmentedError<ApiType>;
339
+ };
340
+ coretimeAssignmentProvider: {
341
+ AssignmentsEmpty: AugmentedError<ApiType>;
342
+ /**
343
+ * Tried to add an unsorted set of assignments
344
+ **/
345
+ AssignmentsNotSorted: AugmentedError<ApiType>;
346
+ /**
347
+ * assign_core is only allowed to append new assignments at the end of already existing
348
+ * ones.
349
+ **/
350
+ DisallowedInsert: AugmentedError<ApiType>;
351
+ /**
352
+ * Tried to insert a schedule for the same core and block number as an existing schedule
353
+ **/
354
+ DuplicateInsert: AugmentedError<ApiType>;
355
+ /**
356
+ * Assignments together exceeded 57600.
357
+ **/
358
+ OverScheduled: AugmentedError<ApiType>;
359
+ /**
360
+ * Assignments together less than 57600
361
+ **/
362
+ UnderScheduled: AugmentedError<ApiType>;
363
+ /**
364
+ * Generic error
365
+ **/
366
+ [key: string]: AugmentedError<ApiType>;
367
+ };
317
368
  crowdloan: {
318
369
  /**
319
370
  * The fund is already in `NewRaise`
@@ -439,7 +490,7 @@ declare module '@polkadot/api-base/types/errors' {
439
490
  **/
440
491
  OcwCallWrongEra: AugmentedError<ApiType>;
441
492
  /**
442
- * Sumission was prepared for a different round.
493
+ * Submission was prepared for a different round.
443
494
  **/
444
495
  PreDispatchDifferentRound: AugmentedError<ApiType>;
445
496
  /**
@@ -633,116 +684,6 @@ declare module '@polkadot/api-base/types/errors' {
633
684
  **/
634
685
  [key: string]: AugmentedError<ApiType>;
635
686
  };
636
- identity: {
637
- /**
638
- * Account ID is already named.
639
- **/
640
- AlreadyClaimed: AugmentedError<ApiType>;
641
- /**
642
- * Empty index.
643
- **/
644
- EmptyIndex: AugmentedError<ApiType>;
645
- /**
646
- * Fee is changed.
647
- **/
648
- FeeChanged: AugmentedError<ApiType>;
649
- /**
650
- * The index is invalid.
651
- **/
652
- InvalidIndex: AugmentedError<ApiType>;
653
- /**
654
- * Invalid judgement.
655
- **/
656
- InvalidJudgement: AugmentedError<ApiType>;
657
- /**
658
- * The signature on a username was not valid.
659
- **/
660
- InvalidSignature: AugmentedError<ApiType>;
661
- /**
662
- * The provided suffix is too long.
663
- **/
664
- InvalidSuffix: AugmentedError<ApiType>;
665
- /**
666
- * The target is invalid.
667
- **/
668
- InvalidTarget: AugmentedError<ApiType>;
669
- /**
670
- * The username does not meet the requirements.
671
- **/
672
- InvalidUsername: AugmentedError<ApiType>;
673
- /**
674
- * The provided judgement was for a different identity.
675
- **/
676
- JudgementForDifferentIdentity: AugmentedError<ApiType>;
677
- /**
678
- * Judgement given.
679
- **/
680
- JudgementGiven: AugmentedError<ApiType>;
681
- /**
682
- * Error that occurs when there is an issue paying for judgement.
683
- **/
684
- JudgementPaymentFailed: AugmentedError<ApiType>;
685
- /**
686
- * The authority cannot allocate any more usernames.
687
- **/
688
- NoAllocation: AugmentedError<ApiType>;
689
- /**
690
- * No identity found.
691
- **/
692
- NoIdentity: AugmentedError<ApiType>;
693
- /**
694
- * The username cannot be forcefully removed because it can still be accepted.
695
- **/
696
- NotExpired: AugmentedError<ApiType>;
697
- /**
698
- * Account isn't found.
699
- **/
700
- NotFound: AugmentedError<ApiType>;
701
- /**
702
- * Account isn't named.
703
- **/
704
- NotNamed: AugmentedError<ApiType>;
705
- /**
706
- * Sub-account isn't owned by sender.
707
- **/
708
- NotOwned: AugmentedError<ApiType>;
709
- /**
710
- * Sender is not a sub-account.
711
- **/
712
- NotSub: AugmentedError<ApiType>;
713
- /**
714
- * The sender does not have permission to issue a username.
715
- **/
716
- NotUsernameAuthority: AugmentedError<ApiType>;
717
- /**
718
- * The requested username does not exist.
719
- **/
720
- NoUsername: AugmentedError<ApiType>;
721
- /**
722
- * Setting this username requires a signature, but none was provided.
723
- **/
724
- RequiresSignature: AugmentedError<ApiType>;
725
- /**
726
- * Sticky judgement.
727
- **/
728
- StickyJudgement: AugmentedError<ApiType>;
729
- /**
730
- * Maximum amount of registrars reached. Cannot add any more.
731
- **/
732
- TooManyRegistrars: AugmentedError<ApiType>;
733
- /**
734
- * Too many subs-accounts.
735
- **/
736
- TooManySubAccounts: AugmentedError<ApiType>;
737
- /**
738
- * The username is already taken.
739
- **/
740
- UsernameTaken: AugmentedError<ApiType>;
741
- /**
742
- * Generic error
743
- **/
744
- [key: string]: AugmentedError<ApiType>;
745
- };
746
687
  indices: {
747
688
  /**
748
689
  * The index was not available.
@@ -885,6 +826,10 @@ declare module '@polkadot/api-base/types/errors' {
885
826
  * pool at a time.
886
827
  **/
887
828
  AccountBelongsToOtherPool: AugmentedError<ApiType>;
829
+ /**
830
+ * The pool or member delegation has already migrated to delegate stake.
831
+ **/
832
+ AlreadyMigrated: AugmentedError<ApiType>;
888
833
  /**
889
834
  * Bonding extra is restricted to the exact pending reward amount.
890
835
  **/
@@ -976,10 +921,18 @@ declare module '@polkadot/api-base/types/errors' {
976
921
  * No imbalance in the ED deposit for the pool.
977
922
  **/
978
923
  NothingToAdjust: AugmentedError<ApiType>;
924
+ /**
925
+ * No slash pending that can be applied to the member.
926
+ **/
927
+ NothingToSlash: AugmentedError<ApiType>;
979
928
  /**
980
929
  * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
981
930
  **/
982
931
  NotKickerOrDestroying: AugmentedError<ApiType>;
932
+ /**
933
+ * The pool or member delegation has not migrated yet to delegate stake.
934
+ **/
935
+ NotMigrated: AugmentedError<ApiType>;
983
936
  /**
984
937
  * The caller does not have nominating permissions for the pool.
985
938
  **/
@@ -988,6 +941,10 @@ declare module '@polkadot/api-base/types/errors' {
988
941
  * The pool is not open to join
989
942
  **/
990
943
  NotOpen: AugmentedError<ApiType>;
944
+ /**
945
+ * This call is not allowed in the current state of the pallet.
946
+ **/
947
+ NotSupported: AugmentedError<ApiType>;
991
948
  /**
992
949
  * The transaction could not be executed due to overflow risk for the pool.
993
950
  **/
@@ -1021,25 +978,22 @@ declare module '@polkadot/api-base/types/errors' {
1021
978
  **/
1022
979
  [key: string]: AugmentedError<ApiType>;
1023
980
  };
1024
- paraInclusion: {
1025
- /**
1026
- * Bitfield consists of zeros only.
1027
- **/
1028
- BitfieldAllZeros: AugmentedError<ApiType>;
981
+ onDemand: {
1029
982
  /**
1030
- * Multiple bitfields submitted by same validator or validators out of order by index.
983
+ * The order queue is full, `place_order` will not continue.
1031
984
  **/
1032
- BitfieldDuplicateOrUnordered: AugmentedError<ApiType>;
985
+ QueueFull: AugmentedError<ApiType>;
1033
986
  /**
1034
- * A bitfield that references a freed core,
1035
- * either intentionally or as part of a concluded
1036
- * invalid dispute.
987
+ * The current spot price is higher than the max amount specified in the `place_order`
988
+ * call, making it invalid.
1037
989
  **/
1038
- BitfieldReferencesFreedCore: AugmentedError<ApiType>;
990
+ SpotPriceHigherThanMaxAmount: AugmentedError<ApiType>;
1039
991
  /**
1040
- * Candidate scheduled despite pending candidate already existing for the para.
992
+ * Generic error
1041
993
  **/
1042
- CandidateScheduledBeforeParaFree: AugmentedError<ApiType>;
994
+ [key: string]: AugmentedError<ApiType>;
995
+ };
996
+ paraInclusion: {
1043
997
  /**
1044
998
  * The candidate's relay-parent was not allowed. Either it was
1045
999
  * not recent enough or it didn't advance based on the last parachain block.
@@ -1070,10 +1024,6 @@ declare module '@polkadot/api-base/types/errors' {
1070
1024
  * Invalid (bad signature, unknown validator, etc.) backing.
1071
1025
  **/
1072
1026
  InvalidBacking: AugmentedError<ApiType>;
1073
- /**
1074
- * Invalid signature
1075
- **/
1076
- InvalidBitfieldSignature: AugmentedError<ApiType>;
1077
1027
  /**
1078
1028
  * Invalid group index in core assignment.
1079
1029
  **/
@@ -1107,30 +1057,10 @@ declare module '@polkadot/api-base/types/errors' {
1107
1057
  * Code upgrade prematurely.
1108
1058
  **/
1109
1059
  PrematureCodeUpgrade: AugmentedError<ApiType>;
1110
- /**
1111
- * Scheduled cores out of order.
1112
- **/
1113
- ScheduledOutOfOrder: AugmentedError<ApiType>;
1114
- /**
1115
- * A different relay parent was provided compared to the on-chain stored one.
1116
- **/
1117
- UnexpectedRelayParent: AugmentedError<ApiType>;
1118
1060
  /**
1119
1061
  * Candidate submitted but para not scheduled.
1120
1062
  **/
1121
1063
  UnscheduledCandidate: AugmentedError<ApiType>;
1122
- /**
1123
- * Backed candidates are out of order (core index) or contain duplicates.
1124
- **/
1125
- UnsortedOrDuplicateBackedCandidates: AugmentedError<ApiType>;
1126
- /**
1127
- * Dispute statement sets are out of order or contain duplicates.
1128
- **/
1129
- UnsortedOrDuplicateDisputeStatementSet: AugmentedError<ApiType>;
1130
- /**
1131
- * Validator indices are out of order or contains duplicates.
1132
- **/
1133
- UnsortedOrDuplicateValidatorIndices: AugmentedError<ApiType>;
1134
1064
  /**
1135
1065
  * The validation data hash does not match expected.
1136
1066
  **/
@@ -1139,10 +1069,6 @@ declare module '@polkadot/api-base/types/errors' {
1139
1069
  * Validator index out of bounds.
1140
1070
  **/
1141
1071
  ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
1142
- /**
1143
- * Availability bitfield has unexpected size.
1144
- **/
1145
- WrongBitfieldSize: AugmentedError<ApiType>;
1146
1072
  /**
1147
1073
  * Generic error
1148
1074
  **/
@@ -1150,25 +1076,10 @@ declare module '@polkadot/api-base/types/errors' {
1150
1076
  };
1151
1077
  paraInherent: {
1152
1078
  /**
1153
- * A candidate was backed by a disabled validator
1079
+ * A candidate was filtered during inherent execution. This should have only been done
1080
+ * during creation.
1154
1081
  **/
1155
- BackedByDisabled: AugmentedError<ApiType>;
1156
- /**
1157
- * A candidate was backed even though the paraid was not scheduled.
1158
- **/
1159
- BackedOnUnscheduledCore: AugmentedError<ApiType>;
1160
- /**
1161
- * Disputed candidate that was concluded invalid.
1162
- **/
1163
- CandidateConcludedInvalid: AugmentedError<ApiType>;
1164
- /**
1165
- * A dispute statement was invalid.
1166
- **/
1167
- DisputeInvalid: AugmentedError<ApiType>;
1168
- /**
1169
- * The ordering of dispute statements was invalid.
1170
- **/
1171
- DisputeStatementsUnsortedOrDuplicates: AugmentedError<ApiType>;
1082
+ CandidatesFilteredDuringExecution: AugmentedError<ApiType>;
1172
1083
  /**
1173
1084
  * The data given to the inherent will result in an overweight block.
1174
1085
  **/
@@ -1212,6 +1123,10 @@ declare module '@polkadot/api-base/types/errors' {
1212
1123
  * Parachain cannot currently schedule a code upgrade.
1213
1124
  **/
1214
1125
  CannotUpgradeCode: AugmentedError<ApiType>;
1126
+ /**
1127
+ * Invalid validation code size.
1128
+ **/
1129
+ InvalidCode: AugmentedError<ApiType>;
1215
1130
  /**
1216
1131
  * Para is not registered in our system.
1217
1132
  **/
@@ -1323,6 +1238,10 @@ declare module '@polkadot/api-base/types/errors' {
1323
1238
  * Preimage has already been noted on-chain.
1324
1239
  **/
1325
1240
  AlreadyNoted: AugmentedError<ApiType>;
1241
+ /**
1242
+ * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
1243
+ **/
1244
+ NoCost: AugmentedError<ApiType>;
1326
1245
  /**
1327
1246
  * The user is not authorized to perform this action.
1328
1247
  **/
@@ -1439,6 +1358,10 @@ declare module '@polkadot/api-base/types/errors' {
1439
1358
  * The preimage does not exist.
1440
1359
  **/
1441
1360
  PreimageNotExist: AugmentedError<ApiType>;
1361
+ /**
1362
+ * The preimage is stored with a different length than the one provided.
1363
+ **/
1364
+ PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
1442
1365
  /**
1443
1366
  * The queue of the track is empty.
1444
1367
  **/
@@ -1478,14 +1401,14 @@ declare module '@polkadot/api-base/types/errors' {
1478
1401
  * Invalid para code size.
1479
1402
  **/
1480
1403
  CodeTooLarge: AugmentedError<ApiType>;
1481
- /**
1482
- * Registering parachain with empty code is not allowed.
1483
- **/
1484
- EmptyCode: AugmentedError<ApiType>;
1485
1404
  /**
1486
1405
  * Invalid para head data size.
1487
1406
  **/
1488
1407
  HeadDataTooLarge: AugmentedError<ApiType>;
1408
+ /**
1409
+ * The validation code is invalid.
1410
+ **/
1411
+ InvalidCode: AugmentedError<ApiType>;
1489
1412
  /**
1490
1413
  * The caller is not the owner of this Id.
1491
1414
  **/
@@ -1673,6 +1596,10 @@ declare module '@polkadot/api-base/types/errors' {
1673
1596
  * Not a controller account.
1674
1597
  **/
1675
1598
  NotController: AugmentedError<ApiType>;
1599
+ /**
1600
+ * Not enough funds available to withdraw.
1601
+ **/
1602
+ NotEnoughFunds: AugmentedError<ApiType>;
1676
1603
  /**
1677
1604
  * Items are not sorted and unique.
1678
1605
  **/
@@ -1685,6 +1612,10 @@ declare module '@polkadot/api-base/types/errors' {
1685
1612
  * Can not rebond without unlocking chunks.
1686
1613
  **/
1687
1614
  NoUnlockChunk: AugmentedError<ApiType>;
1615
+ /**
1616
+ * Provided reward destination is not allowed.
1617
+ **/
1618
+ RewardDestinationRestricted: AugmentedError<ApiType>;
1688
1619
  /**
1689
1620
  * There are too many nominators in the system. Governance needs to adjust the staking
1690
1621
  * settings to keep things safe for the runtime.
@@ -1699,6 +1630,10 @@ declare module '@polkadot/api-base/types/errors' {
1699
1630
  * staking settings to keep things safe for the runtime.
1700
1631
  **/
1701
1632
  TooManyValidators: AugmentedError<ApiType>;
1633
+ /**
1634
+ * Operation not allowed for virtual stakers.
1635
+ **/
1636
+ VirtualStakerNotAllowed: AugmentedError<ApiType>;
1702
1637
  /**
1703
1638
  * Generic error
1704
1639
  **/
@@ -1756,6 +1691,10 @@ declare module '@polkadot/api-base/types/errors' {
1756
1691
  * and the new runtime.
1757
1692
  **/
1758
1693
  InvalidSpecName: AugmentedError<ApiType>;
1694
+ /**
1695
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
1696
+ **/
1697
+ MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
1759
1698
  /**
1760
1699
  * Suicide called when the account has non-default composite data.
1761
1700
  **/
@@ -1804,10 +1743,6 @@ declare module '@polkadot/api-base/types/errors' {
1804
1743
  * amount to be spent.
1805
1744
  **/
1806
1745
  InsufficientPermission: AugmentedError<ApiType>;
1807
- /**
1808
- * Proposer's balance is too low.
1809
- **/
1810
- InsufficientProposersBalance: AugmentedError<ApiType>;
1811
1746
  /**
1812
1747
  * No proposal, bounty or spend at that index.
1813
1748
  **/
@@ -1956,10 +1891,6 @@ declare module '@polkadot/api-base/types/errors' {
1956
1891
  * The unlock operation cannot succeed because there are still consumers of the lock.
1957
1892
  **/
1958
1893
  InUse: AugmentedError<ApiType>;
1959
- /**
1960
- * Invalid non-concrete asset.
1961
- **/
1962
- InvalidAssetNotConcrete: AugmentedError<ApiType>;
1963
1894
  /**
1964
1895
  * Invalid asset, reserve chain could not be determined for it.
1965
1896
  **/