@polkadot/api-augment 9.14.1 → 9.14.2

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.
@@ -695,6 +695,10 @@ declare module '@polkadot/api-base/types/consts' {
695
695
  * The maximum length of an attribute key.
696
696
  **/
697
697
  keyLimit: u32 & AugmentedConst<ApiType>;
698
+ /**
699
+ * The max number of attributes a user could set per call.
700
+ **/
701
+ maxAttributesPerCall: u32 & AugmentedConst<ApiType>;
698
702
  /**
699
703
  * The max duration in blocks for deadlines.
700
704
  **/
@@ -406,10 +406,6 @@ declare module '@polkadot/api-base/types/errors' {
406
406
  * Contract trapped during execution.
407
407
  **/
408
408
  ContractTrapped: AugmentedError<ApiType>;
409
- /**
410
- * The debug message specified to `seal_debug_message` does contain invalid UTF-8.
411
- **/
412
- DebugMessageInvalidUTF8: AugmentedError<ApiType>;
413
409
  /**
414
410
  * Input passed to a contract API function failed to decode as expected type.
415
411
  **/
@@ -1204,6 +1200,10 @@ declare module '@polkadot/api-base/types/errors' {
1204
1200
  * The provided data is incorrect.
1205
1201
  **/
1206
1202
  IncorrectData: AugmentedError<ApiType>;
1203
+ /**
1204
+ * The provided metadata might be too long.
1205
+ **/
1206
+ IncorrectMetadata: AugmentedError<ApiType>;
1207
1207
  /**
1208
1208
  * The item is locked (non-transferable).
1209
1209
  **/
@@ -1228,6 +1228,10 @@ declare module '@polkadot/api-base/types/errors' {
1228
1228
  * Item's metadata is locked.
1229
1229
  **/
1230
1230
  LockedItemMetadata: AugmentedError<ApiType>;
1231
+ /**
1232
+ * Can't set more attributes per one call.
1233
+ **/
1234
+ MaxAttributesLimitReached: AugmentedError<ApiType>;
1231
1235
  /**
1232
1236
  * The max supply is locked and can't be changed.
1233
1237
  **/
@@ -1308,6 +1312,10 @@ declare module '@polkadot/api-base/types/errors' {
1308
1312
  * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1309
1313
  **/
1310
1314
  WrongDuration: AugmentedError<ApiType>;
1315
+ /**
1316
+ * The extrinsic was sent by the wrong origin.
1317
+ **/
1318
+ WrongOrigin: AugmentedError<ApiType>;
1311
1319
  /**
1312
1320
  * The owner turned out to be different to what was expected.
1313
1321
  **/
@@ -1316,6 +1324,10 @@ declare module '@polkadot/api-base/types/errors' {
1316
1324
  * The provided setting can't be set.
1317
1325
  **/
1318
1326
  WrongSetting: AugmentedError<ApiType>;
1327
+ /**
1328
+ * The provided signature is incorrect.
1329
+ **/
1330
+ WrongSignature: AugmentedError<ApiType>;
1319
1331
  /**
1320
1332
  * Generic error
1321
1333
  **/
@@ -218,6 +218,17 @@ declare module '@polkadot/api-base/types/storage' {
218
218
  * epoch.
219
219
  **/
220
220
  segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
221
+ /**
222
+ * A list of the last 100 skipped epochs and the corresponding session index
223
+ * when the epoch was skipped.
224
+ *
225
+ * This is only used for validating equivocation proofs. An equivocation proof
226
+ * must contains a key-ownership proof for a given session, therefore we need a
227
+ * way to tie together sessions and epoch indices, i.e. we need to validate that
228
+ * a validator was the owner of a given key on a given session, and what the
229
+ * active epoch index was during that session.
230
+ **/
231
+ skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
221
232
  /**
222
233
  * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
223
234
  **/