@@ -780,116 +780,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
780
780
**/
781
781
[ key : string ] : AugmentedError < ApiType > ;
782
782
} ;
783
- identity : {
784
- /**
785
- * Account ID is already named.
786
- **/
787
- AlreadyClaimed : AugmentedError < ApiType > ;
788
- /**
789
- * Empty index.
790
- **/
791
- EmptyIndex : AugmentedError < ApiType > ;
792
- /**
793
- * Fee is changed.
794
- **/
795
- FeeChanged : AugmentedError < ApiType > ;
796
- /**
797
- * The index is invalid.
798
- **/
799
- InvalidIndex : AugmentedError < ApiType > ;
800
- /**
801
- * Invalid judgement.
802
- **/
803
- InvalidJudgement : AugmentedError < ApiType > ;
804
- /**
805
- * The signature on a username was not valid.
806
- **/
807
- InvalidSignature : AugmentedError < ApiType > ;
808
- /**
809
- * The provided suffix is too long.
810
- **/
811
- InvalidSuffix : AugmentedError < ApiType > ;
812
- /**
813
- * The target is invalid.
814
- **/
815
- InvalidTarget : AugmentedError < ApiType > ;
816
- /**
817
- * The username does not meet the requirements.
818
- **/
819
- InvalidUsername : AugmentedError < ApiType > ;
820
- /**
821
- * The provided judgement was for a different identity.
822
- **/
823
- JudgementForDifferentIdentity : AugmentedError < ApiType > ;
824
- /**
825
- * Judgement given.
826
- **/
827
- JudgementGiven : AugmentedError < ApiType > ;
828
- /**
829
- * Error that occurs when there is an issue paying for judgement.
830
- **/
831
- JudgementPaymentFailed : AugmentedError < ApiType > ;
832
- /**
833
- * The authority cannot allocate any more usernames.
834
- **/
835
- NoAllocation : AugmentedError < ApiType > ;
836
- /**
837
- * No identity found.
838
- **/
839
- NoIdentity : AugmentedError < ApiType > ;
840
- /**
841
- * The username cannot be forcefully removed because it can still be accepted.
842
- **/
843
- NotExpired : AugmentedError < ApiType > ;
844
- /**
845
- * Account isn't found.
846
- **/
847
- NotFound : AugmentedError < ApiType > ;
848
- /**
849
- * Account isn't named.
850
- **/
851
- NotNamed : AugmentedError < ApiType > ;
852
- /**
853
- * Sub-account isn't owned by sender.
854
- **/
855
- NotOwned : AugmentedError < ApiType > ;
856
- /**
857
- * Sender is not a sub-account.
858
- **/
859
- NotSub : AugmentedError < ApiType > ;
860
- /**
861
- * The sender does not have permission to issue a username.
862
- **/
863
- NotUsernameAuthority : AugmentedError < ApiType > ;
864
- /**
865
- * The requested username does not exist.
866
- **/
867
- NoUsername : AugmentedError < ApiType > ;
868
- /**
869
- * Setting this username requires a signature, but none was provided.
870
- **/
871
- RequiresSignature : AugmentedError < ApiType > ;
872
- /**
873
- * Sticky judgement.
874
- **/
875
- StickyJudgement : AugmentedError < ApiType > ;
876
- /**
877
- * Maximum amount of registrars reached. Cannot add any more.
878
- **/
879
- TooManyRegistrars : AugmentedError < ApiType > ;
880
- /**
881
- * Too many subs-accounts.
882
- **/
883
- TooManySubAccounts : AugmentedError < ApiType > ;
884
- /**
885
- * The username is already taken.
886
- **/
887
- UsernameTaken : AugmentedError < ApiType > ;
888
- /**
889
- * Generic error
890
- **/
891
- [ key : string ] : AugmentedError < ApiType > ;
892
- } ;
893
783
indices : {
894
784
/**
895
785
* The index was not available.
@@ -2103,6 +1993,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
2103
1993
* The user has enough bond and thus cannot be chilled forcefully by an external person.
2104
1994
**/
2105
1995
CannotChillOther : AugmentedError < ApiType > ;
1996
+ /**
1997
+ * Cannot reset a ledger.
1998
+ **/
1999
+ CannotRestoreLedger : AugmentedError < ApiType > ;
2106
2000
/**
2107
2001
* Commission is too low. Must be at least `MinCommission`.
2108
2002
**/
@@ -2192,42 +2086,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/errors.ts' {
2192
2086
**/
2193
2087
[ key : string ] : AugmentedError < ApiType > ;
2194
2088
} ;
2195
- stateTrieMigration : {
2196
- /**
2197
- * Bad child root provided.
2198
- **/
2199
- BadChildRoot : AugmentedError < ApiType > ;
2200
- /**
2201
- * Bad witness data provided.
2202
- **/
2203
- BadWitness : AugmentedError < ApiType > ;
2204
- /**
2205
- * A key was longer than the configured maximum.
2206
- *
2207
- * This means that the migration halted at the current [`Progress`] and
2208
- * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2209
- * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2210
- * The value should only be increased to avoid a storage migration for the currently
2211
- * stored [`crate::Progress::LastKey`].
2212
- **/
2213
- KeyTooLong : AugmentedError < ApiType > ;
2214
- /**
2215
- * Max signed limits not respected.
2216
- **/
2217
- MaxSignedLimits : AugmentedError < ApiType > ;
2218
- /**
2219
- * submitter does not have enough funds.
2220
- **/
2221
- NotEnoughFunds : AugmentedError < ApiType > ;
2222
- /**
2223
- * Signed migration is not allowed because the maximum limit is not set yet.
2224
- **/
2225
- SignedMigrationNotAllowed : AugmentedError < ApiType > ;
2226
- /**
2227
- * Generic error
2228
- **/
2229
- [ key : string ] : AugmentedError < ApiType > ;
2230
- } ;
2231
2089
system : {
2232
2090
/**
2233
2091
* The origin filter prevent the call to be dispatched.
0 commit comments