@aztec/pxe 0.0.1-commit.a072138 → 0.0.1-commit.a4600f49

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 (488) hide show
  1. package/dest/bin/check_oracle_version.js +45 -111
  2. package/dest/bin/index.d.ts +2 -0
  3. package/dest/bin/index.d.ts.map +1 -0
  4. package/dest/bin/index.js +1 -0
  5. package/dest/bin/oracle_version_helpers.d.ts +51 -0
  6. package/dest/bin/oracle_version_helpers.d.ts.map +1 -0
  7. package/dest/bin/oracle_version_helpers.js +254 -0
  8. package/dest/block_synchronizer/block_stream_source.d.ts +10 -0
  9. package/dest/block_synchronizer/block_stream_source.d.ts.map +1 -0
  10. package/dest/block_synchronizer/block_stream_source.js +37 -0
  11. package/dest/block_synchronizer/block_synchronizer.d.ts +23 -13
  12. package/dest/block_synchronizer/block_synchronizer.d.ts.map +1 -1
  13. package/dest/block_synchronizer/block_synchronizer.js +90 -28
  14. package/dest/config/index.d.ts +9 -2
  15. package/dest/config/index.d.ts.map +1 -1
  16. package/dest/config/index.js +14 -15
  17. package/dest/config/package_info.js +1 -1
  18. package/dest/contract/contract_class_service.d.ts +31 -0
  19. package/dest/contract/contract_class_service.d.ts.map +1 -0
  20. package/dest/contract/contract_class_service.js +68 -0
  21. package/dest/contract/contract_sync_service.d.ts +48 -0
  22. package/dest/contract/contract_sync_service.d.ts.map +1 -0
  23. package/dest/contract/contract_sync_service.js +116 -0
  24. package/dest/contract/helpers.d.ts +7 -0
  25. package/dest/contract/helpers.d.ts.map +1 -0
  26. package/dest/contract/helpers.js +20 -0
  27. package/dest/contract_function_simulator/anchored_contract_data.d.ts +36 -0
  28. package/dest/contract_function_simulator/anchored_contract_data.d.ts.map +1 -0
  29. package/dest/contract_function_simulator/anchored_contract_data.js +54 -0
  30. package/dest/contract_function_simulator/contract_function_simulator.d.ts +72 -34
  31. package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -1
  32. package/dest/contract_function_simulator/contract_function_simulator.js +264 -92
  33. package/dest/contract_function_simulator/ephemeral_array_service.d.ts +28 -0
  34. package/dest/contract_function_simulator/ephemeral_array_service.d.ts.map +1 -0
  35. package/dest/contract_function_simulator/ephemeral_array_service.js +78 -0
  36. package/dest/contract_function_simulator/execution_note_cache.d.ts +4 -10
  37. package/dest/contract_function_simulator/execution_note_cache.d.ts.map +1 -1
  38. package/dest/contract_function_simulator/execution_note_cache.js +8 -28
  39. package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts +7 -11
  40. package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts.map +1 -1
  41. package/dest/contract_function_simulator/execution_tagging_index_cache.js +19 -15
  42. package/dest/contract_function_simulator/index.d.ts +26 -5
  43. package/dest/contract_function_simulator/index.d.ts.map +1 -1
  44. package/dest/contract_function_simulator/index.js +12 -3
  45. package/dest/contract_function_simulator/noir-structs/bounded_vec.d.ts +29 -0
  46. package/dest/contract_function_simulator/noir-structs/bounded_vec.d.ts.map +1 -0
  47. package/dest/contract_function_simulator/noir-structs/bounded_vec.js +30 -0
  48. package/dest/contract_function_simulator/noir-structs/contract_class_log_data.d.ts +9 -0
  49. package/dest/contract_function_simulator/noir-structs/contract_class_log_data.d.ts.map +1 -0
  50. package/dest/contract_function_simulator/noir-structs/contract_class_log_data.js +1 -0
  51. package/dest/contract_function_simulator/noir-structs/embedded_curve_point.d.ts +7 -0
  52. package/dest/contract_function_simulator/noir-structs/embedded_curve_point.d.ts.map +1 -0
  53. package/dest/contract_function_simulator/noir-structs/embedded_curve_point.js +1 -0
  54. package/dest/contract_function_simulator/noir-structs/ephemeral_array.d.ts +37 -0
  55. package/dest/contract_function_simulator/noir-structs/ephemeral_array.d.ts.map +1 -0
  56. package/dest/contract_function_simulator/noir-structs/ephemeral_array.js +59 -0
  57. package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts +3 -4
  58. package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts.map +1 -1
  59. package/dest/contract_function_simulator/noir-structs/event_validation_request.js +9 -10
  60. package/dest/contract_function_simulator/noir-structs/fact.d.ts +16 -0
  61. package/dest/contract_function_simulator/noir-structs/fact.d.ts.map +1 -0
  62. package/dest/contract_function_simulator/noir-structs/fact.js +6 -0
  63. package/dest/contract_function_simulator/noir-structs/fact_collection.d.ts +27 -0
  64. package/dest/contract_function_simulator/noir-structs/fact_collection.d.ts.map +1 -0
  65. package/dest/contract_function_simulator/noir-structs/fact_collection.js +31 -0
  66. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts +19 -10
  67. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts.map +1 -1
  68. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.js +12 -24
  69. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts +11 -9
  70. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts.map +1 -1
  71. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.js +2 -63
  72. package/dest/contract_function_simulator/noir-structs/note_data.d.ts +27 -0
  73. package/dest/contract_function_simulator/noir-structs/note_data.d.ts.map +1 -0
  74. package/dest/contract_function_simulator/noir-structs/note_data.js +3 -0
  75. package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts +3 -5
  76. package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts.map +1 -1
  77. package/dest/contract_function_simulator/noir-structs/note_validation_request.js +8 -12
  78. package/dest/contract_function_simulator/noir-structs/option.d.ts +59 -0
  79. package/dest/contract_function_simulator/noir-structs/option.d.ts.map +1 -0
  80. package/dest/contract_function_simulator/noir-structs/option.js +67 -0
  81. package/dest/contract_function_simulator/noir-structs/origin_block.d.ts +11 -0
  82. package/dest/contract_function_simulator/noir-structs/origin_block.d.ts.map +1 -0
  83. package/dest/contract_function_simulator/noir-structs/origin_block.js +5 -0
  84. package/dest/contract_function_simulator/noir-structs/pending_tagged_log.d.ts +11 -0
  85. package/dest/contract_function_simulator/noir-structs/pending_tagged_log.d.ts.map +1 -0
  86. package/dest/contract_function_simulator/noir-structs/pending_tagged_log.js +4 -0
  87. package/dest/contract_function_simulator/noir-structs/provided_secret.d.ts +8 -0
  88. package/dest/contract_function_simulator/noir-structs/provided_secret.d.ts.map +1 -0
  89. package/dest/contract_function_simulator/noir-structs/provided_secret.js +1 -0
  90. package/dest/contract_function_simulator/noir-structs/resolved_tagging_strategy.d.ts +28 -0
  91. package/dest/contract_function_simulator/noir-structs/resolved_tagging_strategy.d.ts.map +1 -0
  92. package/dest/contract_function_simulator/noir-structs/resolved_tagging_strategy.js +43 -0
  93. package/dest/contract_function_simulator/noir-structs/resolved_tx.d.ts +21 -0
  94. package/dest/contract_function_simulator/noir-structs/resolved_tx.d.ts.map +1 -0
  95. package/dest/contract_function_simulator/noir-structs/resolved_tx.js +50 -0
  96. package/dest/contract_function_simulator/noir-structs/tx_effect_data.d.ts +14 -0
  97. package/dest/contract_function_simulator/noir-structs/tx_effect_data.d.ts.map +1 -0
  98. package/dest/contract_function_simulator/noir-structs/tx_effect_data.js +5 -0
  99. package/dest/contract_function_simulator/noir-structs/utility_context.d.ts +6 -11
  100. package/dest/contract_function_simulator/noir-structs/utility_context.d.ts.map +1 -1
  101. package/dest/contract_function_simulator/noir-structs/utility_context.js +1 -20
  102. package/dest/contract_function_simulator/oracle/acir_callback.d.ts +21 -0
  103. package/dest/contract_function_simulator/oracle/acir_callback.d.ts.map +1 -0
  104. package/dest/contract_function_simulator/oracle/acir_callback.js +115 -0
  105. package/dest/contract_function_simulator/oracle/index.d.ts +2 -13
  106. package/dest/contract_function_simulator/oracle/index.d.ts.map +1 -1
  107. package/dest/contract_function_simulator/oracle/index.js +1 -1
  108. package/dest/contract_function_simulator/oracle/interfaces.d.ts +15 -98
  109. package/dest/contract_function_simulator/oracle/interfaces.d.ts.map +1 -1
  110. package/dest/contract_function_simulator/oracle/interfaces.js +2 -2
  111. package/dest/contract_function_simulator/oracle/legacy_oracle_registry.d.ts +39 -0
  112. package/dest/contract_function_simulator/oracle/legacy_oracle_registry.d.ts.map +1 -0
  113. package/dest/contract_function_simulator/oracle/legacy_oracle_registry.js +74 -0
  114. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts +3 -14
  115. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts.map +1 -1
  116. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.js +1 -24
  117. package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts +2 -2
  118. package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts.map +1 -1
  119. package/dest/contract_function_simulator/oracle/note_packing_utils.js +2 -2
  120. package/dest/contract_function_simulator/oracle/oracle_registry.d.ts +136 -0
  121. package/dest/contract_function_simulator/oracle/oracle_registry.d.ts.map +1 -0
  122. package/dest/contract_function_simulator/oracle/oracle_registry.js +989 -0
  123. package/dest/contract_function_simulator/oracle/oracle_type_mappings.d.ts +222 -0
  124. package/dest/contract_function_simulator/oracle/oracle_type_mappings.d.ts.map +1 -0
  125. package/dest/contract_function_simulator/oracle/oracle_type_mappings.js +1243 -0
  126. package/dest/contract_function_simulator/oracle/private_execution.d.ts +1 -1
  127. package/dest/contract_function_simulator/oracle/private_execution.d.ts.map +1 -1
  128. package/dest/contract_function_simulator/oracle/private_execution.js +7 -6
  129. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +82 -96
  130. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -1
  131. package/dest/contract_function_simulator/oracle/private_execution_oracle.js +258 -114
  132. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +192 -81
  133. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -1
  134. package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +574 -182
  135. package/dest/contract_function_simulator/pick_notes.d.ts +1 -1
  136. package/dest/contract_function_simulator/pick_notes.d.ts.map +1 -1
  137. package/dest/contract_function_simulator/pick_notes.js +20 -3
  138. package/dest/contract_function_simulator/transient_array_service.d.ts +31 -0
  139. package/dest/contract_function_simulator/transient_array_service.d.ts.map +1 -0
  140. package/dest/contract_function_simulator/transient_array_service.js +62 -0
  141. package/dest/contract_logging.d.ts +27 -0
  142. package/dest/contract_logging.d.ts.map +1 -0
  143. package/dest/contract_logging.js +38 -0
  144. package/dest/debug/pxe_debug_utils.d.ts +14 -15
  145. package/dest/debug/pxe_debug_utils.d.ts.map +1 -1
  146. package/dest/debug/pxe_debug_utils.js +16 -21
  147. package/dest/entrypoints/client/bundle/index.d.ts +3 -1
  148. package/dest/entrypoints/client/bundle/index.d.ts.map +1 -1
  149. package/dest/entrypoints/client/bundle/index.js +2 -0
  150. package/dest/entrypoints/client/bundle/utils.d.ts +2 -2
  151. package/dest/entrypoints/client/bundle/utils.d.ts.map +1 -1
  152. package/dest/entrypoints/client/bundle/utils.js +28 -7
  153. package/dest/entrypoints/client/lazy/index.d.ts +3 -1
  154. package/dest/entrypoints/client/lazy/index.d.ts.map +1 -1
  155. package/dest/entrypoints/client/lazy/index.js +2 -0
  156. package/dest/entrypoints/client/lazy/utils.d.ts +2 -2
  157. package/dest/entrypoints/client/lazy/utils.d.ts.map +1 -1
  158. package/dest/entrypoints/client/lazy/utils.js +28 -7
  159. package/dest/entrypoints/pxe_creation_options.d.ts +16 -2
  160. package/dest/entrypoints/pxe_creation_options.d.ts.map +1 -1
  161. package/dest/entrypoints/pxe_creation_options.js +3 -1
  162. package/dest/entrypoints/server/index.d.ts +7 -3
  163. package/dest/entrypoints/server/index.d.ts.map +1 -1
  164. package/dest/entrypoints/server/index.js +5 -2
  165. package/dest/entrypoints/server/utils.d.ts +4 -3
  166. package/dest/entrypoints/server/utils.d.ts.map +1 -1
  167. package/dest/entrypoints/server/utils.js +28 -6
  168. package/dest/error_enriching.d.ts +5 -3
  169. package/dest/error_enriching.d.ts.map +1 -1
  170. package/dest/error_enriching.js +13 -11
  171. package/dest/events/event_service.d.ts +15 -6
  172. package/dest/events/event_service.d.ts.map +1 -1
  173. package/dest/events/event_service.js +44 -11
  174. package/dest/events/private_event_filter_validator.d.ts +3 -2
  175. package/dest/events/private_event_filter_validator.d.ts.map +1 -1
  176. package/dest/events/private_event_filter_validator.js +15 -0
  177. package/dest/hooks/authorize_utility_call.d.ts +41 -0
  178. package/dest/hooks/authorize_utility_call.d.ts.map +1 -0
  179. package/dest/hooks/authorize_utility_call.js +4 -0
  180. package/dest/hooks/execution_hooks.d.ts +62 -0
  181. package/dest/hooks/execution_hooks.d.ts.map +1 -0
  182. package/dest/hooks/execution_hooks.js +9 -0
  183. package/dest/hooks/index.d.ts +5 -0
  184. package/dest/hooks/index.d.ts.map +1 -0
  185. package/dest/hooks/index.js +1 -0
  186. package/dest/hooks/resolve_custom_request.d.ts +23 -0
  187. package/dest/hooks/resolve_custom_request.d.ts.map +1 -0
  188. package/dest/hooks/resolve_custom_request.js +3 -0
  189. package/dest/hooks/resolve_tagging_secret_strategy.d.ts +48 -0
  190. package/dest/hooks/resolve_tagging_secret_strategy.d.ts.map +1 -0
  191. package/dest/hooks/resolve_tagging_secret_strategy.js +3 -0
  192. package/dest/logs/log_service.d.ts +13 -11
  193. package/dest/logs/log_service.d.ts.map +1 -1
  194. package/dest/logs/log_service.js +189 -91
  195. package/dest/messages/tx_resolver_service.d.ts +17 -0
  196. package/dest/messages/tx_resolver_service.d.ts.map +1 -0
  197. package/dest/messages/tx_resolver_service.js +55 -0
  198. package/dest/notes/note_service.d.ts +27 -5
  199. package/dest/notes/note_service.d.ts.map +1 -1
  200. package/dest/notes/note_service.js +83 -58
  201. package/dest/notes_filter.d.ts +24 -0
  202. package/dest/notes_filter.d.ts.map +1 -0
  203. package/dest/notes_filter.js +4 -0
  204. package/dest/oracle_version.d.ts +4 -3
  205. package/dest/oracle_version.d.ts.map +1 -1
  206. package/dest/oracle_version.js +20 -10
  207. package/dest/private_kernel/batch_planner.d.ts +47 -0
  208. package/dest/private_kernel/batch_planner.d.ts.map +1 -0
  209. package/dest/private_kernel/batch_planner.js +104 -0
  210. package/dest/private_kernel/hints/compute_tx_expiration_timestamp.d.ts +4 -0
  211. package/dest/private_kernel/hints/compute_tx_expiration_timestamp.d.ts.map +1 -0
  212. package/dest/private_kernel/hints/{compute_tx_include_by_timestamp.js → compute_tx_expiration_timestamp.js} +12 -12
  213. package/dest/private_kernel/hints/index.d.ts +1 -1
  214. package/dest/private_kernel/hints/index.js +1 -1
  215. package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts +4 -3
  216. package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts.map +1 -1
  217. package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.js +135 -70
  218. package/dest/private_kernel/hints/test_utils.d.ts +122 -0
  219. package/dest/private_kernel/hints/test_utils.d.ts.map +1 -0
  220. package/dest/private_kernel/hints/test_utils.js +202 -0
  221. package/dest/private_kernel/private_kernel_execution_prover.d.ts +6 -2
  222. package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -1
  223. package/dest/private_kernel/private_kernel_execution_prover.js +208 -86
  224. package/dest/private_kernel/private_kernel_oracle.d.ts +17 -11
  225. package/dest/private_kernel/private_kernel_oracle.d.ts.map +1 -1
  226. package/dest/private_kernel/private_kernel_oracle.js +47 -29
  227. package/dest/pxe.d.ts +228 -66
  228. package/dest/pxe.d.ts.map +1 -1
  229. package/dest/pxe.js +407 -227
  230. package/dest/storage/allowed_scopes.d.ts +6 -0
  231. package/dest/storage/allowed_scopes.d.ts.map +1 -0
  232. package/dest/storage/allowed_scopes.js +7 -0
  233. package/dest/storage/anchor_block_store/anchor_block_store.d.ts +9 -6
  234. package/dest/storage/anchor_block_store/anchor_block_store.d.ts.map +1 -1
  235. package/dest/storage/anchor_block_store/anchor_block_store.js +9 -7
  236. package/dest/storage/backwards_compatibility_tests/kv_store_snapshot.d.ts +42 -0
  237. package/dest/storage/backwards_compatibility_tests/kv_store_snapshot.d.ts.map +1 -0
  238. package/dest/storage/backwards_compatibility_tests/kv_store_snapshot.js +93 -0
  239. package/dest/storage/backwards_compatibility_tests/schema_tests.d.ts +15 -0
  240. package/dest/storage/backwards_compatibility_tests/schema_tests.d.ts.map +1 -0
  241. package/dest/storage/backwards_compatibility_tests/schema_tests.js +647 -0
  242. package/dest/storage/backwards_compatibility_tests/store_spy.d.ts +19 -0
  243. package/dest/storage/backwards_compatibility_tests/store_spy.d.ts.map +1 -0
  244. package/dest/storage/backwards_compatibility_tests/store_spy.js +63 -0
  245. package/dest/storage/capsule_store/capsule_service.d.ts +21 -0
  246. package/dest/storage/capsule_store/capsule_service.d.ts.map +1 -0
  247. package/dest/storage/capsule_store/capsule_service.js +47 -0
  248. package/dest/storage/capsule_store/capsule_store.d.ts +9 -9
  249. package/dest/storage/capsule_store/capsule_store.d.ts.map +1 -1
  250. package/dest/storage/capsule_store/capsule_store.js +36 -28
  251. package/dest/storage/capsule_store/index.d.ts +2 -1
  252. package/dest/storage/capsule_store/index.d.ts.map +1 -1
  253. package/dest/storage/capsule_store/index.js +1 -0
  254. package/dest/storage/contract_store/contract_store.d.ts +63 -33
  255. package/dest/storage/contract_store/contract_store.d.ts.map +1 -1
  256. package/dest/storage/contract_store/contract_store.js +182 -134
  257. package/dest/storage/fact_store/fact_service.d.ts +22 -0
  258. package/dest/storage/fact_store/fact_service.d.ts.map +1 -0
  259. package/dest/storage/fact_store/fact_service.js +45 -0
  260. package/dest/storage/fact_store/fact_store.d.ts +95 -0
  261. package/dest/storage/fact_store/fact_store.d.ts.map +1 -0
  262. package/dest/storage/fact_store/fact_store.js +408 -0
  263. package/dest/storage/fact_store/fact_store_keys.d.ts +34 -0
  264. package/dest/storage/fact_store/fact_store_keys.d.ts.map +1 -0
  265. package/dest/storage/fact_store/fact_store_keys.js +50 -0
  266. package/dest/storage/fact_store/index.d.ts +6 -0
  267. package/dest/storage/fact_store/index.d.ts.map +1 -0
  268. package/dest/storage/fact_store/index.js +4 -0
  269. package/dest/storage/fact_store/origin_state.d.ts +57 -0
  270. package/dest/storage/fact_store/origin_state.d.ts.map +1 -0
  271. package/dest/storage/fact_store/origin_state.js +53 -0
  272. package/dest/storage/fact_store/stored_fact.d.ts +32 -0
  273. package/dest/storage/fact_store/stored_fact.d.ts.map +1 -0
  274. package/dest/storage/fact_store/stored_fact.js +64 -0
  275. package/dest/storage/index.d.ts +3 -2
  276. package/dest/storage/index.d.ts.map +1 -1
  277. package/dest/storage/index.js +2 -1
  278. package/dest/storage/metadata.d.ts +2 -2
  279. package/dest/storage/metadata.d.ts.map +1 -1
  280. package/dest/storage/metadata.js +1 -1
  281. package/dest/storage/note_store/note_store.d.ts +44 -35
  282. package/dest/storage/note_store/note_store.d.ts.map +1 -1
  283. package/dest/storage/note_store/note_store.js +202 -171
  284. package/dest/storage/note_store/stored_note.d.ts +3 -8
  285. package/dest/storage/note_store/stored_note.d.ts.map +1 -1
  286. package/dest/storage/note_store/stored_note.js +4 -20
  287. package/dest/storage/open_pxe_stores.d.ts +35 -0
  288. package/dest/storage/open_pxe_stores.d.ts.map +1 -0
  289. package/dest/storage/open_pxe_stores.js +29 -0
  290. package/dest/storage/private_event_store/private_event_store.d.ts +13 -16
  291. package/dest/storage/private_event_store/private_event_store.d.ts.map +1 -1
  292. package/dest/storage/private_event_store/private_event_store.js +43 -43
  293. package/dest/storage/private_event_store/stored_private_event.js +1 -1
  294. package/dest/storage/tagging_store/index.d.ts +2 -2
  295. package/dest/storage/tagging_store/index.d.ts.map +1 -1
  296. package/dest/storage/tagging_store/index.js +1 -1
  297. package/dest/storage/tagging_store/recipient_tagging_store.d.ts +6 -6
  298. package/dest/storage/tagging_store/recipient_tagging_store.d.ts.map +1 -1
  299. package/dest/storage/tagging_store/sender_tagging_store.d.ts +29 -28
  300. package/dest/storage/tagging_store/sender_tagging_store.d.ts.map +1 -1
  301. package/dest/storage/tagging_store/sender_tagging_store.js +141 -115
  302. package/dest/storage/tagging_store/tagging_secret_sources_store.d.ts +51 -0
  303. package/dest/storage/tagging_store/tagging_secret_sources_store.d.ts.map +1 -0
  304. package/dest/storage/tagging_store/tagging_secret_sources_store.js +105 -0
  305. package/dest/tagging/constants.d.ts +2 -2
  306. package/dest/tagging/constants.d.ts.map +1 -1
  307. package/dest/tagging/constants.js +5 -8
  308. package/dest/tagging/get_all_logs_by_tags.d.ts +34 -10
  309. package/dest/tagging/get_all_logs_by_tags.d.ts.map +1 -1
  310. package/dest/tagging/get_all_logs_by_tags.js +45 -32
  311. package/dest/tagging/index.d.ts +6 -5
  312. package/dest/tagging/index.d.ts.map +1 -1
  313. package/dest/tagging/index.js +4 -3
  314. package/dest/tagging/persist_sender_tagging_index_ranges.d.ts +29 -0
  315. package/dest/tagging/persist_sender_tagging_index_ranges.d.ts.map +1 -0
  316. package/dest/tagging/persist_sender_tagging_index_ranges.js +42 -0
  317. package/dest/tagging/recipient_sync/sync_tagged_private_logs.d.ts +69 -0
  318. package/dest/tagging/recipient_sync/sync_tagged_private_logs.d.ts.map +1 -0
  319. package/dest/tagging/recipient_sync/sync_tagged_private_logs.js +203 -0
  320. package/dest/tagging/recipient_sync/utils/find_highest_indexes.d.ts +3 -3
  321. package/dest/tagging/recipient_sync/utils/find_highest_indexes.d.ts.map +1 -1
  322. package/dest/tagging/recipient_sync/utils/find_highest_indexes.js +2 -2
  323. package/dest/tagging/reconcile_tagging_index_ranges.d.ts +36 -0
  324. package/dest/tagging/reconcile_tagging_index_ranges.d.ts.map +1 -0
  325. package/dest/tagging/reconcile_tagging_index_ranges.js +74 -0
  326. package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts +4 -9
  327. package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts.map +1 -1
  328. package/dest/tagging/sender_sync/sync_sender_tagging_indexes.js +32 -14
  329. package/dest/tagging/sender_sync/utils/get_status_change_of_pending.d.ts +13 -7
  330. package/dest/tagging/sender_sync/utils/get_status_change_of_pending.d.ts.map +1 -1
  331. package/dest/tagging/sender_sync/utils/get_status_change_of_pending.js +41 -10
  332. package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts +5 -7
  333. package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts.map +1 -1
  334. package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.js +37 -25
  335. package/package.json +29 -17
  336. package/src/bin/check_oracle_version.ts +51 -133
  337. package/src/bin/index.ts +5 -0
  338. package/src/bin/oracle_version_helpers.ts +311 -0
  339. package/src/block_synchronizer/block_stream_source.ts +42 -0
  340. package/src/block_synchronizer/block_synchronizer.ts +106 -37
  341. package/src/config/index.ts +16 -9
  342. package/src/config/package_info.ts +1 -1
  343. package/src/contract/contract_class_service.ts +83 -0
  344. package/src/contract/contract_sync_service.ts +176 -0
  345. package/src/contract/helpers.ts +35 -0
  346. package/src/contract_function_simulator/anchored_contract_data.ts +74 -0
  347. package/src/contract_function_simulator/contract_function_simulator.ts +465 -156
  348. package/src/contract_function_simulator/ephemeral_array_service.ts +110 -0
  349. package/src/contract_function_simulator/execution_note_cache.ts +8 -29
  350. package/src/contract_function_simulator/execution_tagging_index_cache.ts +19 -18
  351. package/src/contract_function_simulator/index.ts +69 -4
  352. package/src/contract_function_simulator/noir-structs/bounded_vec.ts +43 -0
  353. package/src/contract_function_simulator/noir-structs/contract_class_log_data.ts +9 -0
  354. package/src/contract_function_simulator/noir-structs/embedded_curve_point.ts +4 -0
  355. package/src/contract_function_simulator/noir-structs/ephemeral_array.ts +66 -0
  356. package/src/contract_function_simulator/noir-structs/event_validation_request.ts +10 -9
  357. package/src/contract_function_simulator/noir-structs/fact.ts +13 -0
  358. package/src/contract_function_simulator/noir-structs/fact_collection.ts +64 -0
  359. package/src/contract_function_simulator/noir-structs/log_retrieval_request.ts +27 -20
  360. package/src/contract_function_simulator/noir-structs/log_retrieval_response.ts +14 -64
  361. package/src/contract_function_simulator/noir-structs/note_data.ts +27 -0
  362. package/src/contract_function_simulator/noir-structs/note_validation_request.ts +6 -11
  363. package/src/contract_function_simulator/noir-structs/option.ts +75 -0
  364. package/src/contract_function_simulator/noir-structs/origin_block.ts +8 -0
  365. package/src/contract_function_simulator/noir-structs/pending_tagged_log.ts +12 -0
  366. package/src/contract_function_simulator/noir-structs/provided_secret.ts +5 -0
  367. package/src/contract_function_simulator/noir-structs/resolved_tagging_strategy.ts +58 -0
  368. package/src/contract_function_simulator/noir-structs/resolved_tx.ts +53 -0
  369. package/src/contract_function_simulator/noir-structs/tx_effect_data.ts +15 -0
  370. package/src/contract_function_simulator/noir-structs/utility_context.ts +5 -17
  371. package/src/contract_function_simulator/oracle/acir_callback.ts +154 -0
  372. package/src/contract_function_simulator/oracle/index.ts +1 -15
  373. package/src/contract_function_simulator/oracle/interfaces.ts +11 -176
  374. package/src/contract_function_simulator/oracle/legacy_oracle_registry.ts +120 -0
  375. package/src/contract_function_simulator/oracle/message_load_oracle_inputs.ts +6 -21
  376. package/src/contract_function_simulator/oracle/note_packing_utils.ts +3 -3
  377. package/src/contract_function_simulator/oracle/oracle_registry.ts +689 -0
  378. package/src/contract_function_simulator/oracle/oracle_type_mappings.ts +964 -0
  379. package/src/contract_function_simulator/oracle/private_execution.ts +6 -7
  380. package/src/contract_function_simulator/oracle/private_execution_oracle.ts +314 -214
  381. package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +882 -258
  382. package/src/contract_function_simulator/pick_notes.ts +22 -3
  383. package/src/contract_function_simulator/transient_array_service.ts +91 -0
  384. package/src/contract_logging.ts +52 -0
  385. package/src/debug/pxe_debug_utils.ts +47 -25
  386. package/src/entrypoints/client/bundle/index.ts +2 -0
  387. package/src/entrypoints/client/bundle/utils.ts +28 -8
  388. package/src/entrypoints/client/lazy/index.ts +2 -0
  389. package/src/entrypoints/client/lazy/utils.ts +28 -8
  390. package/src/entrypoints/pxe_creation_options.ts +21 -1
  391. package/src/entrypoints/server/index.ts +7 -2
  392. package/src/entrypoints/server/utils.ts +31 -14
  393. package/src/error_enriching.ts +27 -11
  394. package/src/events/event_service.ts +69 -21
  395. package/src/events/private_event_filter_validator.ts +21 -1
  396. package/src/hooks/authorize_utility_call.ts +44 -0
  397. package/src/hooks/execution_hooks.ts +68 -0
  398. package/src/hooks/index.ts +12 -0
  399. package/src/hooks/resolve_custom_request.ts +24 -0
  400. package/src/hooks/resolve_tagging_secret_strategy.ts +57 -0
  401. package/src/logs/log_service.ts +227 -156
  402. package/src/messages/tx_resolver_service.ts +69 -0
  403. package/src/notes/note_service.ts +120 -85
  404. package/src/notes_filter.ts +24 -0
  405. package/src/oracle_version.ts +20 -10
  406. package/src/private_kernel/batch_planner.ts +168 -0
  407. package/src/private_kernel/hints/{compute_tx_include_by_timestamp.ts → compute_tx_expiration_timestamp.ts} +13 -13
  408. package/src/private_kernel/hints/index.ts +1 -1
  409. package/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.ts +176 -119
  410. package/src/private_kernel/hints/test_utils.ts +318 -0
  411. package/src/private_kernel/private_kernel_execution_prover.ts +341 -120
  412. package/src/private_kernel/private_kernel_oracle.ts +65 -36
  413. package/src/pxe.ts +699 -298
  414. package/src/storage/allowed_scopes.ts +14 -0
  415. package/src/storage/anchor_block_store/anchor_block_store.ts +9 -7
  416. package/src/storage/backwards_compatibility_tests/__snapshots__/AddressStore.json +22 -0
  417. package/src/storage/backwards_compatibility_tests/__snapshots__/AnchorBlockStore.json +3 -0
  418. package/src/storage/backwards_compatibility_tests/__snapshots__/CapsuleStore.json +16 -0
  419. package/src/storage/backwards_compatibility_tests/__snapshots__/ContractStore.json +28 -0
  420. package/src/storage/backwards_compatibility_tests/__snapshots__/FactStore.json +40 -0
  421. package/src/storage/backwards_compatibility_tests/__snapshots__/KeyStore.json +52 -0
  422. package/src/storage/backwards_compatibility_tests/__snapshots__/L2TipsKVStore.json +40 -0
  423. package/src/storage/backwards_compatibility_tests/__snapshots__/NoteStore.json +56 -0
  424. package/src/storage/backwards_compatibility_tests/__snapshots__/PrivateEventStore.json +44 -0
  425. package/src/storage/backwards_compatibility_tests/__snapshots__/RecipientTaggingStore.json +18 -0
  426. package/src/storage/backwards_compatibility_tests/__snapshots__/SenderTaggingStore.json +22 -0
  427. package/src/storage/backwards_compatibility_tests/__snapshots__/TaggingSecretSourcesStore.json +30 -0
  428. package/src/storage/backwards_compatibility_tests/__snapshots__/opened_stores.json +117 -0
  429. package/src/storage/backwards_compatibility_tests/kv_store_snapshot.ts +122 -0
  430. package/src/storage/backwards_compatibility_tests/schema_tests.ts +774 -0
  431. package/src/storage/backwards_compatibility_tests/store_spy.ts +73 -0
  432. package/src/storage/capsule_store/capsule_service.ts +85 -0
  433. package/src/storage/capsule_store/capsule_store.ts +44 -26
  434. package/src/storage/capsule_store/index.ts +1 -0
  435. package/src/storage/contract_store/contract_store.ts +240 -169
  436. package/src/storage/fact_store/fact_service.ts +69 -0
  437. package/src/storage/fact_store/fact_store.ts +487 -0
  438. package/src/storage/fact_store/fact_store_keys.ts +75 -0
  439. package/src/storage/fact_store/index.ts +14 -0
  440. package/src/storage/fact_store/origin_state.ts +75 -0
  441. package/src/storage/fact_store/stored_fact.ts +80 -0
  442. package/src/storage/index.ts +2 -1
  443. package/src/storage/metadata.ts +1 -1
  444. package/src/storage/note_store/note_store.ts +234 -191
  445. package/src/storage/note_store/stored_note.ts +5 -27
  446. package/src/storage/open_pxe_stores.ts +52 -0
  447. package/src/storage/private_event_store/private_event_store.ts +52 -54
  448. package/src/storage/private_event_store/stored_private_event.ts +1 -1
  449. package/src/storage/tagging_store/index.ts +1 -1
  450. package/src/storage/tagging_store/recipient_tagging_store.ts +5 -5
  451. package/src/storage/tagging_store/sender_tagging_store.ts +185 -138
  452. package/src/storage/tagging_store/tagging_secret_sources_store.ts +138 -0
  453. package/src/tagging/constants.ts +6 -8
  454. package/src/tagging/get_all_logs_by_tags.ts +87 -35
  455. package/src/tagging/index.ts +5 -4
  456. package/src/tagging/persist_sender_tagging_index_ranges.ts +57 -0
  457. package/src/tagging/recipient_sync/sync_tagged_private_logs.ts +301 -0
  458. package/src/tagging/recipient_sync/utils/find_highest_indexes.ts +4 -4
  459. package/src/tagging/reconcile_tagging_index_ranges.ts +102 -0
  460. package/src/tagging/sender_sync/sync_sender_tagging_indexes.ts +52 -17
  461. package/src/tagging/sender_sync/utils/get_status_change_of_pending.ts +44 -14
  462. package/src/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.ts +27 -27
  463. package/dest/contract_function_simulator/oracle/oracle.d.ts +0 -60
  464. package/dest/contract_function_simulator/oracle/oracle.d.ts.map +0 -1
  465. package/dest/contract_function_simulator/oracle/oracle.js +0 -356
  466. package/dest/contract_function_simulator/proxied_contract_data_source.d.ts +0 -6
  467. package/dest/contract_function_simulator/proxied_contract_data_source.d.ts.map +0 -1
  468. package/dest/contract_function_simulator/proxied_contract_data_source.js +0 -80
  469. package/dest/contract_sync/index.d.ts +0 -23
  470. package/dest/contract_sync/index.d.ts.map +0 -1
  471. package/dest/contract_sync/index.js +0 -54
  472. package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts +0 -4
  473. package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts.map +0 -1
  474. package/dest/storage/tagging_store/sender_address_book_store.d.ts +0 -14
  475. package/dest/storage/tagging_store/sender_address_book_store.d.ts.map +0 -1
  476. package/dest/storage/tagging_store/sender_address_book_store.js +0 -36
  477. package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts +0 -15
  478. package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts.map +0 -1
  479. package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.js +0 -99
  480. package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts +0 -15
  481. package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts.map +0 -1
  482. package/dest/tagging/recipient_sync/utils/load_logs_for_range.js +0 -32
  483. package/src/contract_function_simulator/oracle/oracle.ts +0 -630
  484. package/src/contract_function_simulator/proxied_contract_data_source.ts +0 -83
  485. package/src/contract_sync/index.ts +0 -98
  486. package/src/storage/tagging_store/sender_address_book_store.ts +0 -48
  487. package/src/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.ts +0 -143
  488. package/src/tagging/recipient_sync/utils/load_logs_for_range.ts +0 -49
@@ -1,21 +1,20 @@
1
- import type { AztecAddress } from '@aztec/stdlib/aztec-address';
2
1
  import type { BlockHash } from '@aztec/stdlib/block';
3
2
  import type { AztecNode } from '@aztec/stdlib/interfaces/server';
4
- import type { DirectionalAppTaggingSecret } from '@aztec/stdlib/logs';
3
+ import type { AppTaggingSecret } from '@aztec/stdlib/logs';
5
4
 
6
5
  import type { SenderTaggingStore } from '../../storage/tagging_store/sender_tagging_store.js';
7
6
  import { UNFINALIZED_TAGGING_INDEXES_WINDOW_LEN } from '../constants.js';
8
- import { getStatusChangeOfPending } from './utils/get_status_change_of_pending.js';
7
+ import {
8
+ EMPTY_STATUS_CHANGE,
9
+ getStatusChangeOfPending,
10
+ mergeStatusChanges,
11
+ } from './utils/get_status_change_of_pending.js';
9
12
  import { loadAndStoreNewTaggingIndexes } from './utils/load_and_store_new_tagging_indexes.js';
10
13
 
11
14
  /**
12
15
  * Syncs tagging indexes. This function needs to be called whenever a private log is being sent.
13
16
  *
14
- * @param secret - The secret that's unique for (sender, recipient, contract) tuple while the direction of
15
- * sender -> recipient matters.
16
- * @param app - The address of the contract that the logs are tagged for. Needs to be provided because we perform
17
- * second round of siloing in this function which is necessary because kernels do it as well (they silo first field
18
- * of the private log which corresponds to the tag).
17
+ * @param secret - The sender-side tagging `AppTaggingSecret`.
19
18
  * @remarks When syncing the indexes as sender we don't care about the log contents - we only care about the highest
20
19
  * pending and highest finalized indexes as that guides the next index choice when sending a log. The next index choice
21
20
  * is simply the highest pending index plus one (or finalized if pending is undefined).
@@ -23,8 +22,7 @@ import { loadAndStoreNewTaggingIndexes } from './utils/load_and_store_new_taggin
23
22
  * updates its status accordingly.
24
23
  */
25
24
  export async function syncSenderTaggingIndexes(
26
- secret: DirectionalAppTaggingSecret,
27
- app: AztecAddress,
25
+ secret: AppTaggingSecret,
28
26
  aztecNode: AztecNode,
29
27
  taggingStore: SenderTaggingStore,
30
28
  anchorBlockHash: BlockHash,
@@ -57,21 +55,58 @@ export async function syncSenderTaggingIndexes(
57
55
  let newFinalizedIndex = undefined;
58
56
 
59
57
  while (true) {
60
- // Load and store indexes for the current window. These indexes may already exist in the database if txs using
61
- // them were previously sent from this PXE. Any duplicates are handled by the tagging data provider.
62
- await loadAndStoreNewTaggingIndexes(secret, app, start, end, aztecNode, taggingStore, anchorBlockHash, jobId);
58
+ // Pending tx hashes already in the store for this window (from prior syncs or txs this PXE itself sent).
59
+ // Reading these before issuing any RPC lets us fetch their receipts in parallel with the logs query below.
60
+ const knownPendingTxHashes = await taggingStore.getTxHashesOfPendingIndexes(secret, start, end, jobId);
63
61
 
64
- // Retrieve all indexes within the current window from storage and update their status accordingly.
65
- const pendingTxHashes = await taggingStore.getTxHashesOfPendingIndexes(secret, start, end, jobId);
66
- if (pendingTxHashes.length === 0) {
62
+ // Fire the logs query and the known-pending receipts query in parallel
63
+ const [, statusOfKnown] = await Promise.all([
64
+ loadAndStoreNewTaggingIndexes(secret, start, end, aztecNode, taggingStore, anchorBlockHash, jobId),
65
+ knownPendingTxHashes.length > 0
66
+ ? getStatusChangeOfPending(knownPendingTxHashes, aztecNode)
67
+ : Promise.resolve(EMPTY_STATUS_CHANGE),
68
+ ]);
69
+
70
+ // Re-read pending tx hashes after the logs query writes any newly-discovered ones to the store.
71
+ const allPendingTxHashes = await taggingStore.getTxHashesOfPendingIndexes(secret, start, end, jobId);
72
+ if (allPendingTxHashes.length === 0) {
67
73
  break;
68
74
  }
69
75
 
70
- const { txHashesToFinalize, txHashesToDrop } = await getStatusChangeOfPending(pendingTxHashes, aztecNode);
76
+ // Receipts for pending tx hashes that the logs query just surfaced still need a sequential follow-up call.
77
+ // `storePendingIndexes` is idempotent on (secret, txHash), so a re-discovered hash stays classified as known
78
+ // and is not re-fetched here.
79
+ const knownSet = new Set(knownPendingTxHashes.map(h => h.toString()));
80
+ const newPendingTxHashes = allPendingTxHashes.filter(h => !knownSet.has(h.toString()));
81
+
82
+ const statusOfNew =
83
+ newPendingTxHashes.length > 0
84
+ ? await getStatusChangeOfPending(newPendingTxHashes, aztecNode)
85
+ : EMPTY_STATUS_CHANGE;
86
+
87
+ const { txHashesToFinalize, txHashesToDrop, txHashesWithExecutionReverted } = mergeStatusChanges(
88
+ statusOfKnown,
89
+ statusOfNew,
90
+ );
71
91
 
72
92
  await taggingStore.dropPendingIndexes(txHashesToDrop, jobId);
73
93
  await taggingStore.finalizePendingIndexes(txHashesToFinalize, jobId);
74
94
 
95
+ if (txHashesWithExecutionReverted.length > 0) {
96
+ const receipts = await Promise.all(
97
+ txHashesWithExecutionReverted.map(txHash => aztecNode.getTxReceipt(txHash, { includeTxEffect: true })),
98
+ );
99
+ for (const receipt of receipts) {
100
+ if (!receipt.isMined() || !receipt.txEffect) {
101
+ throw new Error(
102
+ 'TxEffect not found for execution-reverted tx. This is either a bug or a reorg has occurred.',
103
+ );
104
+ }
105
+
106
+ await taggingStore.finalizePendingIndexesOfAPartiallyRevertedTx(receipt.txEffect, jobId);
107
+ }
108
+ }
109
+
75
110
  // We check if the finalized index has been updated.
76
111
  newFinalizedIndex = await taggingStore.getLastFinalizedIndex(secret, jobId);
77
112
  if (previousFinalizedIndex !== newFinalizedIndex) {
@@ -1,36 +1,66 @@
1
1
  import type { AztecNode } from '@aztec/stdlib/interfaces/server';
2
2
  import { TxHash, TxStatus } from '@aztec/stdlib/tx';
3
3
 
4
+ /** Classification of a batch of pending tx hashes by the status change implied by their receipts. */
5
+ export type StatusChange = {
6
+ txHashesToFinalize: TxHash[];
7
+ txHashesToDrop: TxHash[];
8
+ txHashesWithExecutionReverted: TxHash[];
9
+ };
10
+
11
+ export const EMPTY_STATUS_CHANGE: StatusChange = {
12
+ txHashesToFinalize: [],
13
+ txHashesToDrop: [],
14
+ txHashesWithExecutionReverted: [],
15
+ };
16
+
17
+ /** Concatenates two status changes field-by-field. */
18
+ export function mergeStatusChanges(a: StatusChange, b: StatusChange): StatusChange {
19
+ return {
20
+ txHashesToFinalize: [...a.txHashesToFinalize, ...b.txHashesToFinalize],
21
+ txHashesToDrop: [...a.txHashesToDrop, ...b.txHashesToDrop],
22
+ txHashesWithExecutionReverted: [...a.txHashesWithExecutionReverted, ...b.txHashesWithExecutionReverted],
23
+ };
24
+ }
25
+
4
26
  /**
5
- * Based on receipts obtained from `aztecNode` returns which pending transactions changed their status to finalized or
6
- * dropped.
27
+ * Based on receipts obtained from `aztecNode` returns which pending transactions changed their status to finalized,
28
+ * dropped, or execution-reverted (but mined).
7
29
  */
8
- export async function getStatusChangeOfPending(
9
- pending: TxHash[],
10
- aztecNode: AztecNode,
11
- ): Promise<{ txHashesToFinalize: TxHash[]; txHashesToDrop: TxHash[] }> {
30
+ export async function getStatusChangeOfPending(pending: TxHash[], aztecNode: AztecNode): Promise<StatusChange> {
12
31
  // Get receipts for all pending tx hashes.
13
32
  const receipts = await Promise.all(pending.map(pendingTxHash => aztecNode.getTxReceipt(pendingTxHash)));
14
33
 
15
34
  const txHashesToFinalize: TxHash[] = [];
16
35
  const txHashesToDrop: TxHash[] = [];
36
+ const txHashesWithExecutionReverted: TxHash[] = [];
17
37
 
18
38
  for (let i = 0; i < receipts.length; i++) {
19
39
  const receipt = receipts[i];
20
40
  const txHash = pending[i];
21
41
 
22
- if (receipt.status === TxStatus.FINALIZED && receipt.hasExecutionSucceeded()) {
23
- // Tx has been included in a block and the corresponding block is finalized --> we mark the indexes as
24
- // finalized.
25
- txHashesToFinalize.push(txHash);
26
- } else if (receipt.isDropped() || receipt.hasExecutionReverted()) {
27
- // Tx was dropped or reverted --> we drop the corresponding pending indexes.
28
- // TODO(#17615): Don't drop pending indexes corresponding to non-revertible phases.
42
+ if (receipt.status === TxStatus.FINALIZED) {
43
+ // Tx has been included in a block and the corresponding block is finalized
44
+ if (receipt.hasExecutionSucceeded()) {
45
+ // No part of execution reverted - we just finalize all the indexes.
46
+ txHashesToFinalize.push(txHash);
47
+ } else if (receipt.hasExecutionReverted()) {
48
+ // Tx was mined but execution reverted (app logic, teardown, or both). Some logs from the non-revertible
49
+ // phase may still be onchain. We check which tags made it onchain and finalize those; drop the rest.
50
+ txHashesWithExecutionReverted.push(txHash);
51
+ } else {
52
+ // Defensive check - this branch should never be triggered
53
+ throw new Error(
54
+ 'Both hasExecutionSucceeded and hasExecutionReverted on the receipt returned false. This should never happen and it implies a bug. Please open an issue.',
55
+ );
56
+ }
57
+ } else if (receipt.isDropped()) {
58
+ // Tx was dropped from the mempool --> we drop the corresponding pending indexes.
29
59
  txHashesToDrop.push(txHash);
30
60
  } else {
31
61
  // Tx is still pending, not yet finalized, or was mined successfully but not yet finalized --> we don't do anything.
32
62
  }
33
63
  }
34
64
 
35
- return { txHashesToFinalize, txHashesToDrop };
65
+ return { txHashesToFinalize, txHashesToDrop, txHashesWithExecutionReverted };
36
66
  }
@@ -1,8 +1,6 @@
1
- import type { AztecAddress } from '@aztec/stdlib/aztec-address';
2
1
  import type { BlockHash } from '@aztec/stdlib/block';
3
2
  import type { AztecNode } from '@aztec/stdlib/interfaces/server';
4
- import type { DirectionalAppTaggingSecret, PreTag } from '@aztec/stdlib/logs';
5
- import { SiloedTag, Tag } from '@aztec/stdlib/logs';
3
+ import { type AppTaggingSecret, SiloedTag } from '@aztec/stdlib/logs';
6
4
  import { TxHash } from '@aztec/stdlib/tx';
7
5
 
8
6
  import type { SenderTaggingStore } from '../../../storage/tagging_store/sender_tagging_store.js';
@@ -12,19 +10,17 @@ import { getAllPrivateLogsByTags } from '../../get_all_logs_by_tags.js';
12
10
  * Loads tagging indexes from the Aztec node and stores them in the tagging data provider.
13
11
  * @remarks This function is one of two places by which a pending index can get to the tagging data provider. The other
14
12
  * place is when a tx is being sent from this PXE.
15
- * @param secret - The directional app tagging secret that's unique for (sender, recipient, contract) tuple.
16
- * @param app - The address of the contract that the logs are tagged for. Used for siloing tags to match
17
- * kernel circuit behavior.
13
+ * @param extendedSecret - The app tagging secret whose indexes are being synced.
18
14
  * @param start - The starting index (inclusive) of the window to process.
19
15
  * @param end - The ending index (exclusive) of the window to process.
20
16
  * @param aztecNode - The Aztec node instance to query for logs.
21
17
  * @param taggingStore - The data provider to store pending indexes.
18
+ * @param anchorBlockHash - Hash of a block to use as reference block when querying node.
22
19
  * @param jobId - Job identifier, used to keep writes in-memory until they can be persisted in a data integrity
23
20
  * preserving way.
24
21
  */
25
22
  export async function loadAndStoreNewTaggingIndexes(
26
- secret: DirectionalAppTaggingSecret,
27
- app: AztecAddress,
23
+ extendedSecret: AppTaggingSecret,
28
24
  start: number,
29
25
  end: number,
30
26
  aztecNode: AztecNode,
@@ -33,20 +29,18 @@ export async function loadAndStoreNewTaggingIndexes(
33
29
  jobId: string,
34
30
  ) {
35
31
  // We compute the tags for the current window of indexes
36
- const preTagsForWindow: PreTag[] = Array(end - start)
37
- .fill(0)
38
- .map((_, i) => ({ secret, index: start + i }));
39
32
  const siloedTagsForWindow = await Promise.all(
40
- preTagsForWindow.map(async preTag => SiloedTag.compute(await Tag.compute(preTag), app)),
33
+ Array.from({ length: end - start }, (_, i) => SiloedTag.compute({ extendedSecret, index: start + i })),
41
34
  );
42
35
 
43
36
  const txsForTags = await getTxsContainingTags(siloedTagsForWindow, aztecNode, anchorBlockHash);
44
- const highestIndexMap = getTxHighestIndexMap(txsForTags, preTagsForWindow);
37
+ const txIndexesMap = getTxIndexesMap(txsForTags, start, siloedTagsForWindow.length);
45
38
 
46
- // Now we iterate over the map, reconstruct the preTags and tx hash and store them in the db.
47
- for (const [txHashStr, highestIndex] of highestIndexMap.entries()) {
39
+ // Now we iterate over the map, construct the tagging index ranges and store them in the db.
40
+ for (const [txHashStr, indexes] of txIndexesMap.entries()) {
48
41
  const txHash = TxHash.fromString(txHashStr);
49
- await taggingStore.storePendingIndexes([{ secret, index: highestIndex }], txHash, jobId);
42
+ const ranges = [{ extendedSecret, lowestIndex: Math.min(...indexes), highestIndex: Math.max(...indexes) }];
43
+ await taggingStore.storePendingIndexes(ranges, txHash, jobId);
50
44
  }
51
45
  }
52
46
 
@@ -58,27 +52,33 @@ async function getTxsContainingTags(
58
52
  anchorBlockHash: BlockHash,
59
53
  ): Promise<TxHash[][]> {
60
54
  // We use the utility function below to retrieve all logs for the tags across all pages, so we don't need to handle
61
- // pagination here.
55
+ // pagination here. Sender sync only needs `txHash` from each log, so we leave `includeEffects` off.
62
56
  const allLogs = await getAllPrivateLogsByTags(aztecNode, tags, anchorBlockHash);
63
57
  return allLogs.map(logs => logs.map(log => log.txHash));
64
58
  }
65
59
 
66
- // Returns a map of txHash to the highest index for that txHash.
67
- function getTxHighestIndexMap(txHashesForTags: TxHash[][], preTagsForWindow: PreTag[]): Map<string, number> {
68
- if (txHashesForTags.length !== preTagsForWindow.length) {
69
- throw new Error(
70
- `Number of tx hashes arrays does not match number of pre-tags. ${txHashesForTags.length} !== ${preTagsForWindow.length}`,
71
- );
60
+ // Returns a map of txHash to all indexes for that txHash.
61
+ function getTxIndexesMap(txHashesForTags: TxHash[][], start: number, count: number): Map<string, number[]> {
62
+ if (txHashesForTags.length !== count) {
63
+ throw new Error(`Number of tx hashes arrays does not match number of tags. ${txHashesForTags.length} !== ${count}`);
72
64
  }
73
65
 
74
- const highestIndexMap = new Map<string, number>();
66
+ const indexesMap = new Map<string, number[]>();
67
+ // Iterate over indexes
75
68
  for (let i = 0; i < txHashesForTags.length; i++) {
76
- const taggingIndex = preTagsForWindow[i].index;
69
+ const taggingIndex = start + i;
77
70
  const txHashesForTag = txHashesForTags[i];
71
+ // iterate over tx hashes that used that index (tag)
78
72
  for (const txHash of txHashesForTag) {
79
73
  const key = txHash.toString();
80
- highestIndexMap.set(key, Math.max(highestIndexMap.get(key) ?? 0, taggingIndex));
74
+ const existing = indexesMap.get(key);
75
+ // Add the index to the tx's indexes
76
+ if (existing) {
77
+ existing.push(taggingIndex);
78
+ } else {
79
+ indexesMap.set(key, [taggingIndex]);
80
+ }
81
81
  }
82
82
  }
83
- return highestIndexMap;
83
+ return indexesMap;
84
84
  }
@@ -1,60 +0,0 @@
1
- import { type ACIRCallback, type ACVMField } from '@aztec/simulator/client';
2
- import type { IMiscOracle, IPrivateExecutionOracle, IUtilityExecutionOracle } from './interfaces.js';
3
- export declare class UnavailableOracleError extends Error {
4
- constructor(oracleName: string);
5
- }
6
- /**
7
- * A data source that has all the apis required by Aztec.nr.
8
- */
9
- export declare class Oracle {
10
- private handler;
11
- constructor(handler: IMiscOracle | IUtilityExecutionOracle | IPrivateExecutionOracle);
12
- private handlerAsMisc;
13
- private handlerAsUtility;
14
- private handlerAsPrivate;
15
- toACIRCallback(): ACIRCallback;
16
- utilityAssertCompatibleOracleVersion([version]: ACVMField[]): Promise<never[]>;
17
- utilityGetRandomField(): Promise<ACVMField[]>;
18
- privateStoreInExecutionCache(values: ACVMField[], [hash]: ACVMField[]): Promise<ACVMField[]>;
19
- privateLoadFromExecutionCache([returnsHash]: ACVMField[]): Promise<ACVMField[][]>;
20
- utilityGetUtilityContext(): Promise<(ACVMField | ACVMField[])[]>;
21
- utilityGetKeyValidationRequest([pkMHash]: ACVMField[]): Promise<ACVMField[]>;
22
- utilityGetContractInstance([address]: ACVMField[]): Promise<ACVMField[]>;
23
- utilityGetNoteHashMembershipWitness([anchorBlockHash]: ACVMField[], [noteHash]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
24
- utilityGetBlockHashMembershipWitness([anchorBlockHash]: ACVMField[], [blockHash]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
25
- utilityGetNullifierMembershipWitness([blockHash]: ACVMField[], [nullifier]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
26
- utilityGetLowNullifierMembershipWitness([blockHash]: ACVMField[], [nullifier]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
27
- utilityGetPublicDataWitness([blockHash]: ACVMField[], [leafSlot]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
28
- utilityGetBlockHeader([blockNumber]: ACVMField[]): Promise<ACVMField[]>;
29
- utilityGetAuthWitness([messageHash]: ACVMField[]): Promise<ACVMField[][]>;
30
- utilityGetPublicKeysAndPartialAddress([address]: ACVMField[]): Promise<ACVMField[][]>;
31
- utilityGetNotes([ownerSome]: ACVMField[], [ownerValue]: ACVMField[], [storageSlot]: ACVMField[], [numSelects]: ACVMField[], selectByIndexes: ACVMField[], selectByOffsets: ACVMField[], selectByLengths: ACVMField[], selectValues: ACVMField[], selectComparators: ACVMField[], sortByIndexes: ACVMField[], sortByOffsets: ACVMField[], sortByLengths: ACVMField[], sortOrder: ACVMField[], [limit]: ACVMField[], [offset]: ACVMField[], [status]: ACVMField[], [maxNotes]: ACVMField[], [packedHintedNoteLength]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
32
- privateNotifyCreatedNote([owner]: ACVMField[], [storageSlot]: ACVMField[], [randomness]: ACVMField[], [noteTypeId]: ACVMField[], note: ACVMField[], [noteHash]: ACVMField[], [counter]: ACVMField[]): Promise<ACVMField[]>;
33
- privateNotifyNullifiedNote([innerNullifier]: ACVMField[], [noteHash]: ACVMField[], [counter]: ACVMField[]): Promise<ACVMField[]>;
34
- privateNotifyCreatedNullifier([innerNullifier]: ACVMField[]): Promise<ACVMField[]>;
35
- privateIsNullifierPending([innerNullifier]: ACVMField[], [contractAddress]: ACVMField[]): Promise<ACVMField[]>;
36
- utilityCheckNullifierExists([innerNullifier]: ACVMField[]): Promise<ACVMField[]>;
37
- utilityGetL1ToL2MembershipWitness([contractAddress]: ACVMField[], [messageHash]: ACVMField[], [secret]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
38
- utilityStorageRead([blockHash]: ACVMField[], [contractAddress]: ACVMField[], [startStorageSlot]: ACVMField[], [numberOfElements]: ACVMField[]): Promise<ACVMField[][]>;
39
- privateNotifyCreatedContractClassLog([contractAddress]: ACVMField[], message: ACVMField[], [length]: ACVMField[], [counter]: ACVMField[]): Promise<ACVMField[]>;
40
- utilityDebugLog(level: ACVMField[], message: ACVMField[], _ignoredFieldsSize: ACVMField[], fields: ACVMField[]): Promise<ACVMField[]>;
41
- privateCallPrivateFunction([contractAddress]: ACVMField[], [functionSelector]: ACVMField[], [argsHash]: ACVMField[], [sideEffectCounter]: ACVMField[], [isStaticCall]: ACVMField[]): Promise<ACVMField[][]>;
42
- privateNotifyEnqueuedPublicFunctionCall([contractAddress]: ACVMField[], [calldataHash]: ACVMField[], [sideEffectCounter]: ACVMField[], [isStaticCall]: ACVMField[]): Promise<ACVMField[]>;
43
- privateNotifySetPublicTeardownFunctionCall([contractAddress]: ACVMField[], [calldataHash]: ACVMField[], [sideEffectCounter]: ACVMField[], [isStaticCall]: ACVMField[]): Promise<ACVMField[]>;
44
- privateNotifySetMinRevertibleSideEffectCounter([minRevertibleSideEffectCounter]: ACVMField[]): Promise<ACVMField[]>;
45
- privateIsSideEffectCounterRevertible([sideEffectCounter]: ACVMField[]): Promise<ACVMField[]>;
46
- privateGetNextAppTagAsSender([sender]: ACVMField[], [recipient]: ACVMField[]): Promise<ACVMField[]>;
47
- utilityFetchTaggedLogs([pendingTaggedLogArrayBaseSlot]: ACVMField[]): Promise<ACVMField[]>;
48
- utilityValidateAndStoreEnqueuedNotesAndEvents([contractAddress]: ACVMField[], [noteValidationRequestsArrayBaseSlot]: ACVMField[], [eventValidationRequestsArrayBaseSlot]: ACVMField[]): Promise<ACVMField[]>;
49
- utilityBulkRetrieveLogs([contractAddress]: ACVMField[], [logRetrievalRequestsArrayBaseSlot]: ACVMField[], [logRetrievalResponsesArrayBaseSlot]: ACVMField[]): Promise<ACVMField[]>;
50
- utilityStoreCapsule([contractAddress]: ACVMField[], [slot]: ACVMField[], capsule: ACVMField[]): Promise<ACVMField[]>;
51
- utilityLoadCapsule([contractAddress]: ACVMField[], [slot]: ACVMField[], [tSize]: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
52
- utilityDeleteCapsule([contractAddress]: ACVMField[], [slot]: ACVMField[]): Promise<ACVMField[]>;
53
- utilityCopyCapsule([contractAddress]: ACVMField[], [srcSlot]: ACVMField[], [dstSlot]: ACVMField[], [numEntries]: ACVMField[]): Promise<ACVMField[]>;
54
- utilityAes128Decrypt(ciphertextBVecStorage: ACVMField[], [ciphertextLength]: ACVMField[], iv: ACVMField[], symKey: ACVMField[]): Promise<(ACVMField | ACVMField[])[]>;
55
- utilityGetSharedSecret([address]: ACVMField[], [ephPKField0]: ACVMField[], [ephPKField1]: ACVMField[], [ephPKField2]: ACVMField[]): Promise<ACVMField[]>;
56
- utilityEmitOffchainEffect(data: ACVMField[]): Promise<never[]>;
57
- privateGetSenderForTags(): Promise<ACVMField[]>;
58
- privateSetSenderForTags([senderForTags]: ACVMField[]): Promise<ACVMField[]>;
59
- }
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JhY2xlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udHJhY3RfZnVuY3Rpb25fc2ltdWxhdG9yL29yYWNsZS9vcmFjbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsT0FBTyxFQUNMLEtBQUssWUFBWSxFQUNqQixLQUFLLFNBQVMsRUFNZixNQUFNLHlCQUF5QixDQUFDO0FBTWpDLE9BQU8sS0FBSyxFQUFFLFdBQVcsRUFBRSx1QkFBdUIsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBR3JHLHFCQUFhLHNCQUF1QixTQUFRLEtBQUs7SUFDL0MsWUFBWSxVQUFVLEVBQUUsTUFBTSxFQUU3QjtDQUNGO0FBRUQ7O0dBRUc7QUFDSCxxQkFBYSxNQUFNO0lBQ0wsT0FBTyxDQUFDLE9BQU87SUFBM0IsWUFBb0IsT0FBTyxFQUFFLFdBQVcsR0FBRyx1QkFBdUIsR0FBRyx1QkFBdUIsRUFBSTtJQUVoRyxPQUFPLENBQUMsYUFBYTtJQVFyQixPQUFPLENBQUMsZ0JBQWdCO0lBUXhCLE9BQU8sQ0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