@aztec/aztec.js 0.0.1-commit.f295ac2 → 0.0.1-commit.f8ca9b2f3

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 (165) hide show
  1. package/dest/account/account.d.ts +25 -40
  2. package/dest/account/account.d.ts.map +1 -1
  3. package/dest/account/account.js +19 -47
  4. package/dest/account/account_contract.d.ts +7 -8
  5. package/dest/account/account_contract.d.ts.map +1 -1
  6. package/dest/account/account_with_secret_key.d.ts +18 -7
  7. package/dest/account/account_with_secret_key.d.ts.map +1 -1
  8. package/dest/account/account_with_secret_key.js +21 -4
  9. package/dest/account/index.d.ts +3 -2
  10. package/dest/account/index.d.ts.map +1 -1
  11. package/dest/account/index.js +2 -0
  12. package/dest/account/signerless_account.d.ts +5 -6
  13. package/dest/account/signerless_account.d.ts.map +1 -1
  14. package/dest/account/signerless_account.js +8 -11
  15. package/dest/api/account.d.ts +2 -4
  16. package/dest/api/account.d.ts.map +1 -1
  17. package/dest/api/account.js +1 -3
  18. package/dest/api/authorization.d.ts +2 -2
  19. package/dest/api/authorization.d.ts.map +1 -1
  20. package/dest/api/authorization.js +1 -1
  21. package/dest/api/block.d.ts +2 -2
  22. package/dest/api/block.d.ts.map +1 -1
  23. package/dest/api/block.js +1 -1
  24. package/dest/api/contract.d.ts +18 -12
  25. package/dest/api/contract.d.ts.map +1 -1
  26. package/dest/api/contract.js +16 -10
  27. package/dest/api/deployment.d.ts +1 -2
  28. package/dest/api/deployment.d.ts.map +1 -1
  29. package/dest/api/deployment.js +0 -1
  30. package/dest/api/events.d.ts +10 -6
  31. package/dest/api/events.d.ts.map +1 -1
  32. package/dest/api/events.js +30 -20
  33. package/dest/api/fields.d.ts +2 -1
  34. package/dest/api/fields.d.ts.map +1 -1
  35. package/dest/api/fields.js +1 -0
  36. package/dest/api/keys.d.ts +1 -1
  37. package/dest/api/keys.js +1 -1
  38. package/dest/api/node.d.ts +8 -4
  39. package/dest/api/node.d.ts.map +1 -1
  40. package/dest/api/node.js +7 -3
  41. package/dest/api/tx.d.ts +2 -2
  42. package/dest/api/tx.d.ts.map +1 -1
  43. package/dest/api/tx.js +1 -1
  44. package/dest/api/wallet.d.ts +3 -2
  45. package/dest/api/wallet.d.ts.map +1 -1
  46. package/dest/api/wallet.js +2 -1
  47. package/dest/contract/base_contract_interaction.d.ts +8 -10
  48. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  49. package/dest/contract/base_contract_interaction.js +5 -17
  50. package/dest/contract/contract_function_interaction.d.ts +3 -12
  51. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  52. package/dest/contract/contract_function_interaction.js +6 -6
  53. package/dest/contract/deploy_method.d.ts +63 -16
  54. package/dest/contract/deploy_method.d.ts.map +1 -1
  55. package/dest/contract/deploy_method.js +36 -19
  56. package/dest/contract/interaction_options.d.ts +42 -5
  57. package/dest/contract/interaction_options.d.ts.map +1 -1
  58. package/dest/contract/interaction_options.js +8 -1
  59. package/dest/contract/protocol_contracts/auth-registry.d.ts +1 -10
  60. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -1
  61. package/dest/contract/protocol_contracts/auth-registry.js +97 -467
  62. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +2 -22
  63. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -1
  64. package/dest/contract/protocol_contracts/contract-class-registry.js +2 -672
  65. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +2 -11
  66. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -1
  67. package/dest/contract/protocol_contracts/contract-instance-registry.js +80 -482
  68. package/dest/contract/protocol_contracts/fee-juice.d.ts +1 -10
  69. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -1
  70. package/dest/contract/protocol_contracts/fee-juice.js +14 -412
  71. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +3 -3
  72. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -1
  73. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +23 -14
  74. package/dest/contract/protocol_contracts/public-checks.d.ts +3 -3
  75. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -1
  76. package/dest/contract/protocol_contracts/public-checks.js +23 -22
  77. package/dest/contract/wait_for_proven.js +1 -1
  78. package/dest/contract/wait_opts.d.ts +16 -0
  79. package/dest/contract/wait_opts.d.ts.map +1 -0
  80. package/dest/contract/wait_opts.js +5 -0
  81. package/dest/fee/fee_juice_payment_method_with_claim.js +6 -6
  82. package/dest/fee/private_fee_payment_method.js +10 -10
  83. package/dest/fee/public_fee_payment_method.js +10 -10
  84. package/dest/fee/sponsored_fee_payment.js +3 -3
  85. package/dest/utils/authwit.d.ts +8 -6
  86. package/dest/utils/authwit.d.ts.map +1 -1
  87. package/dest/utils/authwit.js +5 -9
  88. package/dest/utils/node.d.ts +12 -1
  89. package/dest/utils/node.d.ts.map +1 -1
  90. package/dest/utils/node.js +46 -0
  91. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +5 -8
  92. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  93. package/dest/wallet/account_entrypoint_meta_payment_method.js +28 -43
  94. package/dest/wallet/account_manager.d.ts +1 -7
  95. package/dest/wallet/account_manager.d.ts.map +1 -1
  96. package/dest/wallet/account_manager.js +5 -11
  97. package/dest/wallet/capabilities.d.ts +444 -0
  98. package/dest/wallet/capabilities.d.ts.map +1 -0
  99. package/dest/wallet/capabilities.js +3 -0
  100. package/dest/wallet/deploy_account_method.d.ts +34 -6
  101. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  102. package/dest/wallet/deploy_account_method.js +7 -5
  103. package/dest/wallet/index.d.ts +2 -1
  104. package/dest/wallet/index.d.ts.map +1 -1
  105. package/dest/wallet/index.js +1 -0
  106. package/dest/wallet/wallet.d.ts +1493 -94
  107. package/dest/wallet/wallet.d.ts.map +1 -1
  108. package/dest/wallet/wallet.js +158 -26
  109. package/package.json +19 -10
  110. package/src/account/account.ts +34 -58
  111. package/src/account/account_contract.ts +6 -7
  112. package/src/account/account_with_secret_key.ts +33 -8
  113. package/src/account/index.ts +2 -1
  114. package/src/account/signerless_account.ts +13 -12
  115. package/src/api/account.ts +9 -3
  116. package/src/api/authorization.ts +1 -0
  117. package/src/api/block.ts +1 -1
  118. package/src/api/contract.ts +24 -9
  119. package/src/api/deployment.ts +0 -1
  120. package/src/api/events.ts +35 -27
  121. package/src/api/fields.ts +1 -0
  122. package/src/api/keys.ts +2 -2
  123. package/src/api/node.ts +7 -3
  124. package/src/api/tx.ts +2 -0
  125. package/src/api/wallet.ts +47 -1
  126. package/src/contract/base_contract_interaction.ts +27 -15
  127. package/src/contract/contract_function_interaction.ts +13 -6
  128. package/src/contract/deploy_method.ts +115 -23
  129. package/src/contract/interaction_options.ts +49 -4
  130. package/src/contract/protocol_contracts/auth-registry.ts +45 -236
  131. package/src/contract/protocol_contracts/contract-class-registry.ts +1 -347
  132. package/src/contract/protocol_contracts/contract-instance-registry.ts +34 -233
  133. package/src/contract/protocol_contracts/fee-juice.ts +4 -202
  134. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +6 -12
  135. package/src/contract/protocol_contracts/public-checks.ts +6 -14
  136. package/src/contract/wait_for_proven.ts +1 -1
  137. package/src/contract/wait_opts.ts +21 -0
  138. package/src/fee/fee_juice_payment_method_with_claim.ts +5 -5
  139. package/src/fee/private_fee_payment_method.ts +7 -7
  140. package/src/fee/public_fee_payment_method.ts +8 -8
  141. package/src/fee/sponsored_fee_payment.ts +3 -3
  142. package/src/utils/authwit.ts +19 -7
  143. package/src/utils/node.ts +62 -0
  144. package/src/wallet/account_entrypoint_meta_payment_method.ts +28 -60
  145. package/src/wallet/account_manager.ts +5 -13
  146. package/src/wallet/capabilities.ts +491 -0
  147. package/src/wallet/deploy_account_method.ts +37 -13
  148. package/src/wallet/index.ts +1 -0
  149. package/src/wallet/wallet.ts +214 -48
  150. package/dest/account/interface.d.ts +0 -19
  151. package/dest/account/interface.d.ts.map +0 -1
  152. package/dest/account/interface.js +0 -5
  153. package/dest/contract/deploy_sent_tx.d.ts +0 -48
  154. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  155. package/dest/contract/deploy_sent_tx.js +0 -46
  156. package/dest/contract/sent_tx.d.ts +0 -50
  157. package/dest/contract/sent_tx.d.ts.map +0 -1
  158. package/dest/contract/sent_tx.js +0 -90
  159. package/dest/deployment/broadcast_function.d.ts +0 -24
  160. package/dest/deployment/broadcast_function.d.ts.map +0 -1
  161. package/dest/deployment/broadcast_function.js +0 -74
  162. package/src/account/interface.ts +0 -25
  163. package/src/contract/deploy_sent_tx.ts +0 -75
  164. package/src/contract/sent_tx.ts +0 -129
  165. package/src/deployment/broadcast_function.ts +0 -148
@@ -4,266 +4,6 @@ import { ContractBase } from '../contract_base.js';
4
4
  const ContractClassRegistryContractArtifact = {
5
5
  name: 'ContractClassRegistry',
6
6
  functions: [
7
- {
8
- ...{
9
- functionType: FunctionType.PRIVATE,
10
- name: 'broadcast_private_function',
11
- isOnlySelf: false,
12
- isStatic: false,
13
- isInitializer: false,
14
- parameters: [
15
- {
16
- name: 'contract_class_id',
17
- type: {
18
- kind: 'struct',
19
- fields: [
20
- {
21
- name: 'inner',
22
- type: {
23
- kind: 'field'
24
- }
25
- }
26
- ],
27
- path: 'aztec::protocol_types::contract_class_id::ContractClassId'
28
- },
29
- visibility: 'private'
30
- },
31
- {
32
- name: 'artifact_metadata_hash',
33
- type: {
34
- kind: 'field'
35
- },
36
- visibility: 'private'
37
- },
38
- {
39
- name: 'utility_functions_artifact_tree_root',
40
- type: {
41
- kind: 'field'
42
- },
43
- visibility: 'private'
44
- },
45
- {
46
- name: 'private_function_tree_sibling_path',
47
- type: {
48
- kind: 'array',
49
- length: 7,
50
- type: {
51
- kind: 'field'
52
- }
53
- },
54
- visibility: 'private'
55
- },
56
- {
57
- name: 'private_function_tree_leaf_index',
58
- type: {
59
- kind: 'field'
60
- },
61
- visibility: 'private'
62
- },
63
- {
64
- name: 'artifact_function_tree_sibling_path',
65
- type: {
66
- kind: 'array',
67
- length: 7,
68
- type: {
69
- kind: 'field'
70
- }
71
- },
72
- visibility: 'private'
73
- },
74
- {
75
- name: 'artifact_function_tree_leaf_index',
76
- type: {
77
- kind: 'field'
78
- },
79
- visibility: 'private'
80
- },
81
- {
82
- name: 'function_data',
83
- type: {
84
- kind: 'struct',
85
- fields: [
86
- {
87
- name: 'selector',
88
- type: {
89
- kind: 'struct',
90
- fields: [
91
- {
92
- name: 'inner',
93
- type: {
94
- kind: 'integer',
95
- sign: 'unsigned',
96
- width: 32
97
- }
98
- }
99
- ],
100
- path: 'aztec::protocol_types::abis::function_selector::FunctionSelector'
101
- }
102
- },
103
- {
104
- name: 'metadata_hash',
105
- type: {
106
- kind: 'field'
107
- }
108
- },
109
- {
110
- name: 'vk_hash',
111
- type: {
112
- kind: 'field'
113
- }
114
- }
115
- ],
116
- path: 'events::private_function_broadcasted::InnerPrivateFunction'
117
- },
118
- visibility: 'private'
119
- }
120
- ],
121
- returnTypes: [],
122
- errorTypes: {
123
- '1998584279744703196': {
124
- error_kind: 'string',
125
- string: 'attempt to subtract with overflow'
126
- },
127
- '2754040237334517471': {
128
- error_kind: 'fmtstring',
129
- length: 92,
130
- item_types: []
131
- },
132
- '14990209321349310352': {
133
- error_kind: 'string',
134
- string: 'attempt to add with overflow'
135
- },
136
- '15764276373176857197': {
137
- error_kind: 'string',
138
- string: 'Stack too deep'
139
- },
140
- '16431471497789672479': {
141
- error_kind: 'string',
142
- string: 'Index out of bounds'
143
- }
144
- }
145
- },
146
- bytecode: Buffer.from([]),
147
- debugSymbols: ''
148
- },
149
- {
150
- ...{
151
- functionType: FunctionType.PRIVATE,
152
- name: 'broadcast_utility_function',
153
- isOnlySelf: false,
154
- isStatic: false,
155
- isInitializer: false,
156
- parameters: [
157
- {
158
- name: 'contract_class_id',
159
- type: {
160
- kind: 'struct',
161
- fields: [
162
- {
163
- name: 'inner',
164
- type: {
165
- kind: 'field'
166
- }
167
- }
168
- ],
169
- path: 'aztec::protocol_types::contract_class_id::ContractClassId'
170
- },
171
- visibility: 'private'
172
- },
173
- {
174
- name: 'artifact_metadata_hash',
175
- type: {
176
- kind: 'field'
177
- },
178
- visibility: 'private'
179
- },
180
- {
181
- name: 'private_functions_artifact_tree_root',
182
- type: {
183
- kind: 'field'
184
- },
185
- visibility: 'private'
186
- },
187
- {
188
- name: 'artifact_function_tree_sibling_path',
189
- type: {
190
- kind: 'array',
191
- length: 7,
192
- type: {
193
- kind: 'field'
194
- }
195
- },
196
- visibility: 'private'
197
- },
198
- {
199
- name: 'artifact_function_tree_leaf_index',
200
- type: {
201
- kind: 'field'
202
- },
203
- visibility: 'private'
204
- },
205
- {
206
- name: 'function_data',
207
- type: {
208
- kind: 'struct',
209
- fields: [
210
- {
211
- name: 'selector',
212
- type: {
213
- kind: 'struct',
214
- fields: [
215
- {
216
- name: 'inner',
217
- type: {
218
- kind: 'integer',
219
- sign: 'unsigned',
220
- width: 32
221
- }
222
- }
223
- ],
224
- path: 'aztec::protocol_types::abis::function_selector::FunctionSelector'
225
- }
226
- },
227
- {
228
- name: 'metadata_hash',
229
- type: {
230
- kind: 'field'
231
- }
232
- }
233
- ],
234
- path: 'events::utility_function_broadcasted::InnerUtilityFunction'
235
- },
236
- visibility: 'private'
237
- }
238
- ],
239
- returnTypes: [],
240
- errorTypes: {
241
- '1998584279744703196': {
242
- error_kind: 'string',
243
- string: 'attempt to subtract with overflow'
244
- },
245
- '2754040237334517471': {
246
- error_kind: 'fmtstring',
247
- length: 92,
248
- item_types: []
249
- },
250
- '14990209321349310352': {
251
- error_kind: 'string',
252
- string: 'attempt to add with overflow'
253
- },
254
- '15764276373176857197': {
255
- error_kind: 'string',
256
- string: 'Stack too deep'
257
- },
258
- '16431471497789672479': {
259
- error_kind: 'string',
260
- string: 'Index out of bounds'
261
- }
262
- }
263
- },
264
- bytecode: Buffer.from([]),
265
- debugSymbols: ''
266
- },
267
7
  {
268
8
  ...{
269
9
  functionType: FunctionType.PRIVATE,
@@ -308,11 +48,6 @@ const ContractClassRegistryContractArtifact = {
308
48
  error_kind: 'string',
309
49
  string: 'attempt to subtract with overflow'
310
50
  },
311
- '2754040237334517471': {
312
- error_kind: 'fmtstring',
313
- length: 92,
314
- item_types: []
315
- },
316
51
  '10965409165809799877': {
317
52
  error_kind: 'string',
318
53
  string: 'Given in_len to absorb is larger than the input array len'
@@ -336,415 +71,10 @@ const ContractClassRegistryContractArtifact = {
336
71
  '16450579948625159707': {
337
72
  error_kind: 'string',
338
73
  string: 'Sponge must be in cache_size=1'
339
- }
340
- }
341
- },
342
- bytecode: Buffer.from([]),
343
- debugSymbols: ''
344
- },
345
- {
346
- ...{
347
- functionType: FunctionType.UTILITY,
348
- name: 'process_message',
349
- isOnlySelf: false,
350
- isStatic: false,
351
- isInitializer: false,
352
- parameters: [
353
- {
354
- name: 'message_ciphertext',
355
- type: {
356
- kind: 'struct',
357
- fields: [
358
- {
359
- name: 'storage',
360
- type: {
361
- kind: 'array',
362
- length: 17,
363
- type: {
364
- kind: 'field'
365
- }
366
- }
367
- },
368
- {
369
- name: 'len',
370
- type: {
371
- kind: 'integer',
372
- sign: 'unsigned',
373
- width: 32
374
- }
375
- }
376
- ],
377
- path: 'std::collections::bounded_vec::BoundedVec'
378
- },
379
- visibility: 'private'
380
- },
381
- {
382
- name: 'message_context',
383
- type: {
384
- kind: 'struct',
385
- fields: [
386
- {
387
- name: 'tx_hash',
388
- type: {
389
- kind: 'field'
390
- }
391
- },
392
- {
393
- name: 'unique_note_hashes_in_tx',
394
- type: {
395
- kind: 'struct',
396
- fields: [
397
- {
398
- name: 'storage',
399
- type: {
400
- kind: 'array',
401
- length: 64,
402
- type: {
403
- kind: 'field'
404
- }
405
- }
406
- },
407
- {
408
- name: 'len',
409
- type: {
410
- kind: 'integer',
411
- sign: 'unsigned',
412
- width: 32
413
- }
414
- }
415
- ],
416
- path: 'std::collections::bounded_vec::BoundedVec'
417
- }
418
- },
419
- {
420
- name: 'first_nullifier_in_tx',
421
- type: {
422
- kind: 'field'
423
- }
424
- },
425
- {
426
- name: 'recipient',
427
- type: {
428
- kind: 'struct',
429
- fields: [
430
- {
431
- name: 'inner',
432
- type: {
433
- kind: 'field'
434
- }
435
- }
436
- ],
437
- path: 'aztec::protocol_types::address::aztec_address::AztecAddress'
438
- }
439
- }
440
- ],
441
- path: 'aztec::messages::processing::message_context::MessageContext'
442
- },
443
- visibility: 'private'
444
- }
445
- ],
446
- returnTypes: [],
447
- errorTypes: {
448
- '361444214588792908': {
449
- error_kind: 'string',
450
- string: 'attempt to multiply with overflow'
451
- },
452
- '992401946138144806': {
453
- error_kind: 'string',
454
- string: 'Attempted to read past end of BoundedVec'
455
- },
456
- '1998584279744703196': {
457
- error_kind: 'string',
458
- string: 'attempt to subtract with overflow'
459
- },
460
- '2967937905572420042': {
461
- error_kind: 'fmtstring',
462
- length: 61,
463
- item_types: [
464
- {
465
- kind: 'field'
466
- },
467
- {
468
- kind: 'field'
469
- }
470
- ]
471
- },
472
- '3330370348214585450': {
473
- error_kind: 'fmtstring',
474
- length: 48,
475
- item_types: [
476
- {
477
- kind: 'field'
478
- },
479
- {
480
- kind: 'field'
481
- }
482
- ]
483
- },
484
- '3670003311596808700': {
485
- error_kind: 'fmtstring',
486
- length: 77,
487
- item_types: [
488
- {
489
- kind: 'integer',
490
- sign: 'unsigned',
491
- width: 32
492
- }
493
- ]
494
- },
495
- '4261968856572588300': {
496
- error_kind: 'string',
497
- string: 'Value does not fit in field'
498
- },
499
- '4440399188109668273': {
500
- error_kind: 'string',
501
- string: 'Input length must be a multiple of 32'
502
- },
503
- '9791669845391776238': {
504
- error_kind: 'string',
505
- string: '0 has a square root; you cannot claim it is not square'
506
- },
507
- '9885968605480832328': {
508
- error_kind: 'string',
509
- string: 'Attempted to read past the length of a CapsuleArray'
510
- },
511
- '10135509984888824963': {
512
- error_kind: 'fmtstring',
513
- length: 58,
514
- item_types: [
515
- {
516
- kind: 'field'
517
- }
518
- ]
519
74
  },
520
- '10791800398362570014': {
75
+ '17655676068928457687': {
521
76
  error_kind: 'string',
522
- string: 'extend_from_bounded_vec out of bounds'
523
- },
524
- '11021520179822076911': {
525
- error_kind: 'string',
526
- string: 'Attempted to delete past the length of a CapsuleArray'
527
- },
528
- '11692359521570349358': {
529
- error_kind: 'fmtstring',
530
- length: 40,
531
- item_types: []
532
- },
533
- '12327971061804302172': {
534
- error_kind: 'fmtstring',
535
- length: 98,
536
- item_types: []
537
- },
538
- '12469291177396340830': {
539
- error_kind: 'string',
540
- string: 'call to assert_max_bit_size'
541
- },
542
- '12913276134398371456': {
543
- error_kind: 'string',
544
- string: 'push out of bounds'
545
- },
546
- '13557316507370296400': {
547
- error_kind: 'fmtstring',
548
- length: 130,
549
- item_types: [
550
- {
551
- kind: 'integer',
552
- sign: 'unsigned',
553
- width: 32
554
- }
555
- ]
556
- },
557
- '14938672389828944159': {
558
- error_kind: 'fmtstring',
559
- length: 146,
560
- item_types: [
561
- {
562
- kind: 'integer',
563
- sign: 'unsigned',
564
- width: 32
565
- }
566
- ]
567
- },
568
- '14990209321349310352': {
569
- error_kind: 'string',
570
- string: 'attempt to add with overflow'
571
- },
572
- '15764276373176857197': {
573
- error_kind: 'string',
574
- string: 'Stack too deep'
575
- },
576
- '16431471497789672479': {
577
- error_kind: 'string',
578
- string: 'Index out of bounds'
579
- },
580
- '17531474008201752295': {
581
- error_kind: 'fmtstring',
582
- length: 133,
583
- item_types: [
584
- {
585
- kind: 'integer',
586
- sign: 'unsigned',
587
- width: 32
588
- }
589
- ]
590
- }
591
- }
592
- },
593
- bytecode: Buffer.from([]),
594
- debugSymbols: ''
595
- },
596
- {
597
- ...{
598
- functionType: FunctionType.UTILITY,
599
- name: 'sync_private_state',
600
- isOnlySelf: false,
601
- isStatic: false,
602
- isInitializer: false,
603
- parameters: [],
604
- returnTypes: [],
605
- errorTypes: {
606
- '361444214588792908': {
607
- error_kind: 'string',
608
- string: 'attempt to multiply with overflow'
609
- },
610
- '992401946138144806': {
611
- error_kind: 'string',
612
- string: 'Attempted to read past end of BoundedVec'
613
- },
614
- '1998584279744703196': {
615
- error_kind: 'string',
616
- string: 'attempt to subtract with overflow'
617
- },
618
- '2967937905572420042': {
619
- error_kind: 'fmtstring',
620
- length: 61,
621
- item_types: [
622
- {
623
- kind: 'field'
624
- },
625
- {
626
- kind: 'field'
627
- }
628
- ]
629
- },
630
- '3330370348214585450': {
631
- error_kind: 'fmtstring',
632
- length: 48,
633
- item_types: [
634
- {
635
- kind: 'field'
636
- },
637
- {
638
- kind: 'field'
639
- }
640
- ]
641
- },
642
- '3670003311596808700': {
643
- error_kind: 'fmtstring',
644
- length: 77,
645
- item_types: [
646
- {
647
- kind: 'integer',
648
- sign: 'unsigned',
649
- width: 32
650
- }
651
- ]
652
- },
653
- '4261968856572588300': {
654
- error_kind: 'string',
655
- string: 'Value does not fit in field'
656
- },
657
- '4440399188109668273': {
658
- error_kind: 'string',
659
- string: 'Input length must be a multiple of 32'
660
- },
661
- '9791669845391776238': {
662
- error_kind: 'string',
663
- string: '0 has a square root; you cannot claim it is not square'
664
- },
665
- '9885968605480832328': {
666
- error_kind: 'string',
667
- string: 'Attempted to read past the length of a CapsuleArray'
668
- },
669
- '10135509984888824963': {
670
- error_kind: 'fmtstring',
671
- length: 58,
672
- item_types: [
673
- {
674
- kind: 'field'
675
- }
676
- ]
677
- },
678
- '10791800398362570014': {
679
- error_kind: 'string',
680
- string: 'extend_from_bounded_vec out of bounds'
681
- },
682
- '11021520179822076911': {
683
- error_kind: 'string',
684
- string: 'Attempted to delete past the length of a CapsuleArray'
685
- },
686
- '11692359521570349358': {
687
- error_kind: 'fmtstring',
688
- length: 40,
689
- item_types: []
690
- },
691
- '12327971061804302172': {
692
- error_kind: 'fmtstring',
693
- length: 98,
694
- item_types: []
695
- },
696
- '12469291177396340830': {
697
- error_kind: 'string',
698
- string: 'call to assert_max_bit_size'
699
- },
700
- '12913276134398371456': {
701
- error_kind: 'string',
702
- string: 'push out of bounds'
703
- },
704
- '13557316507370296400': {
705
- error_kind: 'fmtstring',
706
- length: 130,
707
- item_types: [
708
- {
709
- kind: 'integer',
710
- sign: 'unsigned',
711
- width: 32
712
- }
713
- ]
714
- },
715
- '14938672389828944159': {
716
- error_kind: 'fmtstring',
717
- length: 146,
718
- item_types: [
719
- {
720
- kind: 'integer',
721
- sign: 'unsigned',
722
- width: 32
723
- }
724
- ]
725
- },
726
- '14990209321349310352': {
727
- error_kind: 'string',
728
- string: 'attempt to add with overflow'
729
- },
730
- '15764276373176857197': {
731
- error_kind: 'string',
732
- string: 'Stack too deep'
733
- },
734
- '16431471497789672479': {
735
- error_kind: 'string',
736
- string: 'Index out of bounds'
737
- },
738
- '17531474008201752295': {
739
- error_kind: 'fmtstring',
740
- length: 133,
741
- item_types: [
742
- {
743
- kind: 'integer',
744
- sign: 'unsigned',
745
- width: 32
746
- }
747
- ]
77
+ string: 'Reader did not read all data'
748
78
  }
749
79
  }
750
80
  },