@aztec/pxe 0.0.1-commit.f2ce05ee → 0.0.1-commit.f5a9928

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 (544) hide show
  1. package/dest/bin/check_oracle_version.js +41 -112
  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 +34 -0
  6. package/dest/bin/oracle_version_helpers.d.ts.map +1 -0
  7. package/dest/bin/oracle_version_helpers.js +46 -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 +22 -16
  12. package/dest/block_synchronizer/block_synchronizer.d.ts.map +1 -1
  13. package/dest/block_synchronizer/block_synchronizer.js +71 -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 +24 -0
  19. package/dest/contract/contract_class_service.d.ts.map +1 -0
  20. package/dest/contract/contract_class_service.js +36 -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 +119 -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/skip_sync_contracts.d.ts +11 -0
  28. package/dest/contract/skip_sync_contracts.d.ts.map +1 -0
  29. package/dest/contract/skip_sync_contracts.js +18 -0
  30. package/dest/contract_function_simulator/anchored_contract_data.d.ts +36 -0
  31. package/dest/contract_function_simulator/anchored_contract_data.d.ts.map +1 -0
  32. package/dest/contract_function_simulator/anchored_contract_data.js +54 -0
  33. package/dest/contract_function_simulator/contract_function_simulator.d.ts +72 -43
  34. package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -1
  35. package/dest/contract_function_simulator/contract_function_simulator.js +266 -114
  36. package/dest/contract_function_simulator/ephemeral_array_service.d.ts +28 -0
  37. package/dest/contract_function_simulator/ephemeral_array_service.d.ts.map +1 -0
  38. package/dest/contract_function_simulator/ephemeral_array_service.js +78 -0
  39. package/dest/contract_function_simulator/execution_note_cache.d.ts +4 -10
  40. package/dest/contract_function_simulator/execution_note_cache.d.ts.map +1 -1
  41. package/dest/contract_function_simulator/execution_note_cache.js +10 -29
  42. package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts +7 -11
  43. package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts.map +1 -1
  44. package/dest/contract_function_simulator/execution_tagging_index_cache.js +19 -15
  45. package/dest/contract_function_simulator/index.d.ts +26 -5
  46. package/dest/contract_function_simulator/index.d.ts.map +1 -1
  47. package/dest/contract_function_simulator/index.js +11 -3
  48. package/dest/contract_function_simulator/noir-structs/bounded_vec.d.ts +29 -0
  49. package/dest/contract_function_simulator/noir-structs/bounded_vec.d.ts.map +1 -0
  50. package/dest/contract_function_simulator/noir-structs/bounded_vec.js +30 -0
  51. package/dest/contract_function_simulator/noir-structs/contract_class_log_data.d.ts +9 -0
  52. package/dest/contract_function_simulator/noir-structs/contract_class_log_data.d.ts.map +1 -0
  53. package/dest/contract_function_simulator/noir-structs/contract_class_log_data.js +1 -0
  54. package/dest/contract_function_simulator/noir-structs/embedded_curve_point.d.ts +7 -0
  55. package/dest/contract_function_simulator/noir-structs/embedded_curve_point.d.ts.map +1 -0
  56. package/dest/contract_function_simulator/noir-structs/embedded_curve_point.js +1 -0
  57. package/dest/contract_function_simulator/noir-structs/ephemeral_array.d.ts +37 -0
  58. package/dest/contract_function_simulator/noir-structs/ephemeral_array.d.ts.map +1 -0
  59. package/dest/contract_function_simulator/noir-structs/ephemeral_array.js +59 -0
  60. package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts +3 -4
  61. package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts.map +1 -1
  62. package/dest/contract_function_simulator/noir-structs/event_validation_request.js +9 -10
  63. package/dest/contract_function_simulator/noir-structs/fact.d.ts +16 -0
  64. package/dest/contract_function_simulator/noir-structs/fact.d.ts.map +1 -0
  65. package/dest/contract_function_simulator/noir-structs/fact.js +6 -0
  66. package/dest/contract_function_simulator/noir-structs/fact_collection.d.ts +27 -0
  67. package/dest/contract_function_simulator/noir-structs/fact_collection.d.ts.map +1 -0
  68. package/dest/contract_function_simulator/noir-structs/fact_collection.js +31 -0
  69. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts +19 -10
  70. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts.map +1 -1
  71. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.js +12 -24
  72. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts +11 -9
  73. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts.map +1 -1
  74. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.js +2 -63
  75. package/dest/contract_function_simulator/noir-structs/note_data.d.ts +27 -0
  76. package/dest/contract_function_simulator/noir-structs/note_data.d.ts.map +1 -0
  77. package/dest/contract_function_simulator/noir-structs/note_data.js +3 -0
  78. package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts +3 -5
  79. package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts.map +1 -1
  80. package/dest/contract_function_simulator/noir-structs/note_validation_request.js +8 -12
  81. package/dest/contract_function_simulator/noir-structs/option.d.ts +59 -0
  82. package/dest/contract_function_simulator/noir-structs/option.d.ts.map +1 -0
  83. package/dest/contract_function_simulator/noir-structs/option.js +67 -0
  84. package/dest/contract_function_simulator/noir-structs/origin_block.d.ts +11 -0
  85. package/dest/contract_function_simulator/noir-structs/origin_block.d.ts.map +1 -0
  86. package/dest/contract_function_simulator/noir-structs/origin_block.js +5 -0
  87. package/dest/contract_function_simulator/noir-structs/pending_tagged_log.d.ts +11 -0
  88. package/dest/contract_function_simulator/noir-structs/pending_tagged_log.d.ts.map +1 -0
  89. package/dest/contract_function_simulator/noir-structs/pending_tagged_log.js +4 -0
  90. package/dest/contract_function_simulator/noir-structs/provided_secret.d.ts +8 -0
  91. package/dest/contract_function_simulator/noir-structs/provided_secret.d.ts.map +1 -0
  92. package/dest/contract_function_simulator/noir-structs/provided_secret.js +1 -0
  93. package/dest/contract_function_simulator/noir-structs/resolved_tagging_strategy.d.ts +28 -0
  94. package/dest/contract_function_simulator/noir-structs/resolved_tagging_strategy.d.ts.map +1 -0
  95. package/dest/contract_function_simulator/noir-structs/resolved_tagging_strategy.js +50 -0
  96. package/dest/contract_function_simulator/noir-structs/resolved_tx.d.ts +19 -0
  97. package/dest/contract_function_simulator/noir-structs/resolved_tx.d.ts.map +1 -0
  98. package/dest/contract_function_simulator/noir-structs/resolved_tx.js +9 -0
  99. package/dest/contract_function_simulator/noir-structs/tx_effect_data.d.ts +15 -0
  100. package/dest/contract_function_simulator/noir-structs/tx_effect_data.d.ts.map +1 -0
  101. package/dest/contract_function_simulator/noir-structs/tx_effect_data.js +5 -0
  102. package/dest/contract_function_simulator/noir-structs/utility_context.d.ts +6 -11
  103. package/dest/contract_function_simulator/noir-structs/utility_context.d.ts.map +1 -1
  104. package/dest/contract_function_simulator/noir-structs/utility_context.js +1 -20
  105. package/dest/contract_function_simulator/oracle/acir_callback.d.ts +21 -0
  106. package/dest/contract_function_simulator/oracle/acir_callback.d.ts.map +1 -0
  107. package/dest/contract_function_simulator/oracle/acir_callback.js +115 -0
  108. package/dest/contract_function_simulator/oracle/index.d.ts +2 -13
  109. package/dest/contract_function_simulator/oracle/index.d.ts.map +1 -1
  110. package/dest/contract_function_simulator/oracle/index.js +1 -1
  111. package/dest/contract_function_simulator/oracle/interfaces.d.ts +15 -98
  112. package/dest/contract_function_simulator/oracle/interfaces.d.ts.map +1 -1
  113. package/dest/contract_function_simulator/oracle/interfaces.js +2 -2
  114. package/dest/contract_function_simulator/oracle/legacy_oracle_registry.d.ts +39 -0
  115. package/dest/contract_function_simulator/oracle/legacy_oracle_registry.d.ts.map +1 -0
  116. package/dest/contract_function_simulator/oracle/legacy_oracle_registry.js +107 -0
  117. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts +3 -14
  118. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts.map +1 -1
  119. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.js +1 -24
  120. package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts +2 -2
  121. package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts.map +1 -1
  122. package/dest/contract_function_simulator/oracle/note_packing_utils.js +2 -2
  123. package/dest/contract_function_simulator/oracle/oracle_registry.d.ts +139 -0
  124. package/dest/contract_function_simulator/oracle/oracle_registry.d.ts.map +1 -0
  125. package/dest/contract_function_simulator/oracle/oracle_registry.js +1016 -0
  126. package/dest/contract_function_simulator/oracle/oracle_type_mappings.d.ts +274 -0
  127. package/dest/contract_function_simulator/oracle/oracle_type_mappings.d.ts.map +1 -0
  128. package/dest/contract_function_simulator/oracle/oracle_type_mappings.js +1243 -0
  129. package/dest/contract_function_simulator/oracle/private_execution.d.ts +1 -1
  130. package/dest/contract_function_simulator/oracle/private_execution.d.ts.map +1 -1
  131. package/dest/contract_function_simulator/oracle/private_execution.js +7 -6
  132. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +82 -98
  133. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -1
  134. package/dest/contract_function_simulator/oracle/private_execution_oracle.js +263 -117
  135. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +206 -83
  136. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -1
  137. package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +688 -188
  138. package/dest/contract_function_simulator/pick_notes.d.ts +1 -1
  139. package/dest/contract_function_simulator/pick_notes.d.ts.map +1 -1
  140. package/dest/contract_function_simulator/pick_notes.js +20 -3
  141. package/dest/contract_function_simulator/transient_array_service.d.ts +31 -0
  142. package/dest/contract_function_simulator/transient_array_service.d.ts.map +1 -0
  143. package/dest/contract_function_simulator/transient_array_service.js +62 -0
  144. package/dest/contract_logging.d.ts +27 -0
  145. package/dest/contract_logging.d.ts.map +1 -0
  146. package/dest/contract_logging.js +38 -0
  147. package/dest/debug/pxe_debug_utils.d.ts +5 -9
  148. package/dest/debug/pxe_debug_utils.d.ts.map +1 -1
  149. package/dest/debug/pxe_debug_utils.js +4 -10
  150. package/dest/entrypoints/client/bundle/index.d.ts +4 -1
  151. package/dest/entrypoints/client/bundle/index.d.ts.map +1 -1
  152. package/dest/entrypoints/client/bundle/index.js +3 -0
  153. package/dest/entrypoints/client/bundle/utils.d.ts +2 -2
  154. package/dest/entrypoints/client/bundle/utils.d.ts.map +1 -1
  155. package/dest/entrypoints/client/bundle/utils.js +29 -8
  156. package/dest/entrypoints/client/lazy/index.d.ts +4 -1
  157. package/dest/entrypoints/client/lazy/index.d.ts.map +1 -1
  158. package/dest/entrypoints/client/lazy/index.js +3 -0
  159. package/dest/entrypoints/client/lazy/utils.d.ts +2 -2
  160. package/dest/entrypoints/client/lazy/utils.d.ts.map +1 -1
  161. package/dest/entrypoints/client/lazy/utils.js +29 -8
  162. package/dest/entrypoints/client/store.d.ts +14 -0
  163. package/dest/entrypoints/client/store.d.ts.map +1 -0
  164. package/dest/entrypoints/client/store.js +42 -0
  165. package/dest/entrypoints/pxe_creation_options.d.ts +16 -2
  166. package/dest/entrypoints/pxe_creation_options.d.ts.map +1 -1
  167. package/dest/entrypoints/pxe_creation_options.js +3 -1
  168. package/dest/entrypoints/server/index.d.ts +8 -3
  169. package/dest/entrypoints/server/index.d.ts.map +1 -1
  170. package/dest/entrypoints/server/index.js +6 -2
  171. package/dest/entrypoints/server/store.d.ts +18 -0
  172. package/dest/entrypoints/server/store.d.ts.map +1 -0
  173. package/dest/entrypoints/server/store.js +28 -0
  174. package/dest/entrypoints/server/utils.d.ts +4 -3
  175. package/dest/entrypoints/server/utils.d.ts.map +1 -1
  176. package/dest/entrypoints/server/utils.js +30 -8
  177. package/dest/error_enriching.d.ts +5 -3
  178. package/dest/error_enriching.d.ts.map +1 -1
  179. package/dest/error_enriching.js +15 -12
  180. package/dest/events/event_service.d.ts +21 -5
  181. package/dest/events/event_service.d.ts.map +1 -1
  182. package/dest/events/event_service.js +51 -17
  183. package/dest/events/private_event_filter_validator.d.ts +3 -2
  184. package/dest/events/private_event_filter_validator.d.ts.map +1 -1
  185. package/dest/events/private_event_filter_validator.js +15 -0
  186. package/dest/hooks/authorize_utility_call.d.ts +41 -0
  187. package/dest/hooks/authorize_utility_call.d.ts.map +1 -0
  188. package/dest/hooks/authorize_utility_call.js +4 -0
  189. package/dest/hooks/execution_hooks.d.ts +62 -0
  190. package/dest/hooks/execution_hooks.d.ts.map +1 -0
  191. package/dest/hooks/execution_hooks.js +9 -0
  192. package/dest/hooks/index.d.ts +5 -0
  193. package/dest/hooks/index.d.ts.map +1 -0
  194. package/dest/hooks/index.js +2 -0
  195. package/dest/hooks/resolve_custom_request.d.ts +23 -0
  196. package/dest/hooks/resolve_custom_request.d.ts.map +1 -0
  197. package/dest/hooks/resolve_custom_request.js +3 -0
  198. package/dest/hooks/resolve_tagging_secret_strategy.d.ts +50 -0
  199. package/dest/hooks/resolve_tagging_secret_strategy.d.ts.map +1 -0
  200. package/dest/hooks/resolve_tagging_secret_strategy.js +3 -0
  201. package/dest/logs/log_service.d.ts +21 -10
  202. package/dest/logs/log_service.d.ts.map +1 -1
  203. package/dest/logs/log_service.js +184 -90
  204. package/dest/messages/tx_resolver_service.d.ts +28 -0
  205. package/dest/messages/tx_resolver_service.d.ts.map +1 -0
  206. package/dest/messages/tx_resolver_service.js +62 -0
  207. package/dest/node/benchmarked_node.d.ts +20 -0
  208. package/dest/node/benchmarked_node.d.ts.map +1 -0
  209. package/dest/node/benchmarked_node.js +94 -0
  210. package/dest/node/caching_aztec_node.d.ts +24 -0
  211. package/dest/node/caching_aztec_node.d.ts.map +1 -0
  212. package/dest/node/caching_aztec_node.js +268 -0
  213. package/dest/notes/note_service.d.ts +34 -6
  214. package/dest/notes/note_service.d.ts.map +1 -1
  215. package/dest/notes/note_service.js +85 -59
  216. package/dest/notes_filter.d.ts +24 -0
  217. package/dest/notes_filter.d.ts.map +1 -0
  218. package/dest/notes_filter.js +4 -0
  219. package/dest/oracle_version.d.ts +4 -3
  220. package/dest/oracle_version.d.ts.map +1 -1
  221. package/dest/oracle_version.js +20 -10
  222. package/dest/private_kernel/batch_planner.d.ts +47 -0
  223. package/dest/private_kernel/batch_planner.d.ts.map +1 -0
  224. package/dest/private_kernel/batch_planner.js +104 -0
  225. package/dest/private_kernel/hints/compute_tx_expiration_timestamp.d.ts +4 -0
  226. package/dest/private_kernel/hints/compute_tx_expiration_timestamp.d.ts.map +1 -0
  227. package/dest/private_kernel/hints/{compute_tx_include_by_timestamp.js → compute_tx_expiration_timestamp.js} +12 -12
  228. package/dest/private_kernel/hints/index.d.ts +1 -1
  229. package/dest/private_kernel/hints/index.js +1 -1
  230. package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts +4 -3
  231. package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts.map +1 -1
  232. package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.js +138 -72
  233. package/dest/private_kernel/hints/test_utils.d.ts +122 -0
  234. package/dest/private_kernel/hints/test_utils.d.ts.map +1 -0
  235. package/dest/private_kernel/hints/test_utils.js +202 -0
  236. package/dest/private_kernel/private_kernel_execution_prover.d.ts +6 -2
  237. package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -1
  238. package/dest/private_kernel/private_kernel_execution_prover.js +165 -82
  239. package/dest/private_kernel/private_kernel_oracle.d.ts +17 -11
  240. package/dest/private_kernel/private_kernel_oracle.d.ts.map +1 -1
  241. package/dest/private_kernel/private_kernel_oracle.js +47 -29
  242. package/dest/pxe.d.ts +219 -68
  243. package/dest/pxe.d.ts.map +1 -1
  244. package/dest/pxe.js +423 -243
  245. package/dest/storage/address_store/address_store.d.ts +1 -1
  246. package/dest/storage/address_store/address_store.d.ts.map +1 -1
  247. package/dest/storage/address_store/address_store.js +2 -1
  248. package/dest/storage/allowed_scopes.d.ts +6 -0
  249. package/dest/storage/allowed_scopes.d.ts.map +1 -0
  250. package/dest/storage/allowed_scopes.js +7 -0
  251. package/dest/storage/anchor_block_store/anchor_block_store.d.ts +9 -6
  252. package/dest/storage/anchor_block_store/anchor_block_store.d.ts.map +1 -1
  253. package/dest/storage/anchor_block_store/anchor_block_store.js +9 -7
  254. package/dest/storage/backwards_compatibility_tests/kv_store_snapshot.d.ts +42 -0
  255. package/dest/storage/backwards_compatibility_tests/kv_store_snapshot.d.ts.map +1 -0
  256. package/dest/storage/backwards_compatibility_tests/kv_store_snapshot.js +93 -0
  257. package/dest/storage/backwards_compatibility_tests/schema_tests.d.ts +15 -0
  258. package/dest/storage/backwards_compatibility_tests/schema_tests.d.ts.map +1 -0
  259. package/dest/storage/backwards_compatibility_tests/schema_tests.js +671 -0
  260. package/dest/storage/backwards_compatibility_tests/store_spy.d.ts +19 -0
  261. package/dest/storage/backwards_compatibility_tests/store_spy.d.ts.map +1 -0
  262. package/dest/storage/backwards_compatibility_tests/store_spy.js +63 -0
  263. package/dest/storage/capsule_store/capsule_service.d.ts +21 -0
  264. package/dest/storage/capsule_store/capsule_service.d.ts.map +1 -0
  265. package/dest/storage/capsule_store/capsule_service.js +47 -0
  266. package/dest/storage/capsule_store/capsule_store.d.ts +9 -9
  267. package/dest/storage/capsule_store/capsule_store.d.ts.map +1 -1
  268. package/dest/storage/capsule_store/capsule_store.js +37 -29
  269. package/dest/storage/capsule_store/index.d.ts +2 -1
  270. package/dest/storage/capsule_store/index.d.ts.map +1 -1
  271. package/dest/storage/capsule_store/index.js +1 -0
  272. package/dest/storage/contract_store/contract_store.d.ts +63 -33
  273. package/dest/storage/contract_store/contract_store.d.ts.map +1 -1
  274. package/dest/storage/contract_store/contract_store.js +179 -130
  275. package/dest/storage/contract_store/private_functions_tree.d.ts +1 -1
  276. package/dest/storage/contract_store/private_functions_tree.d.ts.map +1 -1
  277. package/dest/storage/contract_store/private_functions_tree.js +2 -1
  278. package/dest/storage/fact_store/fact_service.d.ts +22 -0
  279. package/dest/storage/fact_store/fact_service.d.ts.map +1 -0
  280. package/dest/storage/fact_store/fact_service.js +45 -0
  281. package/dest/storage/fact_store/fact_store.d.ts +95 -0
  282. package/dest/storage/fact_store/fact_store.d.ts.map +1 -0
  283. package/dest/storage/fact_store/fact_store.js +411 -0
  284. package/dest/storage/fact_store/fact_store_keys.d.ts +34 -0
  285. package/dest/storage/fact_store/fact_store_keys.d.ts.map +1 -0
  286. package/dest/storage/fact_store/fact_store_keys.js +50 -0
  287. package/dest/storage/fact_store/index.d.ts +6 -0
  288. package/dest/storage/fact_store/index.d.ts.map +1 -0
  289. package/dest/storage/fact_store/index.js +4 -0
  290. package/dest/storage/fact_store/origin_state.d.ts +59 -0
  291. package/dest/storage/fact_store/origin_state.d.ts.map +1 -0
  292. package/dest/storage/fact_store/origin_state.js +60 -0
  293. package/dest/storage/fact_store/stored_fact.d.ts +32 -0
  294. package/dest/storage/fact_store/stored_fact.d.ts.map +1 -0
  295. package/dest/storage/fact_store/stored_fact.js +64 -0
  296. package/dest/storage/index.d.ts +3 -2
  297. package/dest/storage/index.d.ts.map +1 -1
  298. package/dest/storage/index.js +2 -1
  299. package/dest/storage/metadata.d.ts +2 -2
  300. package/dest/storage/metadata.d.ts.map +1 -1
  301. package/dest/storage/metadata.js +1 -1
  302. package/dest/storage/note_store/note_store.d.ts +44 -35
  303. package/dest/storage/note_store/note_store.d.ts.map +1 -1
  304. package/dest/storage/note_store/note_store.js +203 -174
  305. package/dest/storage/note_store/stored_note.d.ts +3 -8
  306. package/dest/storage/note_store/stored_note.d.ts.map +1 -1
  307. package/dest/storage/note_store/stored_note.js +4 -20
  308. package/dest/storage/open_pxe_stores.d.ts +35 -0
  309. package/dest/storage/open_pxe_stores.d.ts.map +1 -0
  310. package/dest/storage/open_pxe_stores.js +29 -0
  311. package/dest/storage/private_event_store/private_event_store.d.ts +13 -16
  312. package/dest/storage/private_event_store/private_event_store.d.ts.map +1 -1
  313. package/dest/storage/private_event_store/private_event_store.js +48 -45
  314. package/dest/storage/private_event_store/stored_private_event.js +1 -1
  315. package/dest/storage/store_identity.d.ts +35 -0
  316. package/dest/storage/store_identity.d.ts.map +1 -0
  317. package/dest/storage/store_identity.js +44 -0
  318. package/dest/storage/tagging_store/index.d.ts +2 -2
  319. package/dest/storage/tagging_store/index.d.ts.map +1 -1
  320. package/dest/storage/tagging_store/index.js +1 -1
  321. package/dest/storage/tagging_store/recipient_tagging_store.d.ts +6 -6
  322. package/dest/storage/tagging_store/recipient_tagging_store.d.ts.map +1 -1
  323. package/dest/storage/tagging_store/sender_tagging_store.d.ts +63 -31
  324. package/dest/storage/tagging_store/sender_tagging_store.d.ts.map +1 -1
  325. package/dest/storage/tagging_store/sender_tagging_store.js +210 -129
  326. package/dest/storage/tagging_store/tagging_secret_sources_store.d.ts +51 -0
  327. package/dest/storage/tagging_store/tagging_secret_sources_store.d.ts.map +1 -0
  328. package/dest/storage/tagging_store/tagging_secret_sources_store.js +105 -0
  329. package/dest/tagging/constants.d.ts +11 -2
  330. package/dest/tagging/constants.d.ts.map +1 -1
  331. package/dest/tagging/constants.js +38 -10
  332. package/dest/tagging/get_all_logs_by_tags.d.ts +55 -10
  333. package/dest/tagging/get_all_logs_by_tags.d.ts.map +1 -1
  334. package/dest/tagging/get_all_logs_by_tags.js +65 -32
  335. package/dest/tagging/index.d.ts +8 -7
  336. package/dest/tagging/index.d.ts.map +1 -1
  337. package/dest/tagging/index.js +6 -5
  338. package/dest/tagging/persist_sender_tagging_index_ranges.d.ts +29 -0
  339. package/dest/tagging/persist_sender_tagging_index_ranges.d.ts.map +1 -0
  340. package/dest/tagging/persist_sender_tagging_index_ranges.js +42 -0
  341. package/dest/tagging/recipient_sync/sync_tagged_private_logs.d.ts +74 -0
  342. package/dest/tagging/recipient_sync/sync_tagged_private_logs.d.ts.map +1 -0
  343. package/dest/tagging/recipient_sync/sync_tagged_private_logs.js +235 -0
  344. package/dest/tagging/recipient_sync/utils/find_highest_indexes.d.ts +3 -3
  345. package/dest/tagging/recipient_sync/utils/find_highest_indexes.d.ts.map +1 -1
  346. package/dest/tagging/recipient_sync/utils/find_highest_indexes.js +2 -2
  347. package/dest/tagging/reconcile_tagging_index_ranges.d.ts +36 -0
  348. package/dest/tagging/reconcile_tagging_index_ranges.d.ts.map +1 -0
  349. package/dest/tagging/reconcile_tagging_index_ranges.js +74 -0
  350. package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts +8 -10
  351. package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts.map +1 -1
  352. package/dest/tagging/sender_sync/sync_sender_tagging_indexes.js +25 -22
  353. package/dest/tagging/sender_sync/utils/classify_pending_txs.d.ts +22 -0
  354. package/dest/tagging/sender_sync/utils/classify_pending_txs.d.ts.map +1 -0
  355. package/dest/tagging/sender_sync/utils/classify_pending_txs.js +62 -0
  356. package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts +17 -9
  357. package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts.map +1 -1
  358. package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.js +53 -39
  359. package/dest/tagging/sender_sync/utils/resolve_pending_txs.d.ts +29 -0
  360. package/dest/tagging/sender_sync/utils/resolve_pending_txs.d.ts.map +1 -0
  361. package/dest/tagging/sender_sync/utils/resolve_pending_txs.js +42 -0
  362. package/dest/tagging/sender_sync/utils/test_utils.d.ts +16 -0
  363. package/dest/tagging/sender_sync/utils/test_utils.d.ts.map +1 -0
  364. package/dest/tagging/sender_sync/utils/test_utils.js +24 -0
  365. package/dest/tagging/testing/tag_query_test_utils.d.ts +6 -0
  366. package/dest/tagging/testing/tag_query_test_utils.d.ts.map +1 -0
  367. package/dest/tagging/testing/tag_query_test_utils.js +10 -0
  368. package/package.json +20 -17
  369. package/src/bin/check_oracle_version.ts +46 -135
  370. package/src/bin/index.ts +1 -0
  371. package/src/bin/oracle_version_helpers.ts +54 -0
  372. package/src/block_synchronizer/block_stream_source.ts +42 -0
  373. package/src/block_synchronizer/block_synchronizer.ts +86 -40
  374. package/src/config/index.ts +16 -9
  375. package/src/config/package_info.ts +1 -1
  376. package/src/contract/contract_class_service.ts +45 -0
  377. package/src/contract/contract_sync_service.ts +179 -0
  378. package/src/contract/helpers.ts +35 -0
  379. package/src/contract/skip_sync_contracts.ts +23 -0
  380. package/src/contract_function_simulator/anchored_contract_data.ts +74 -0
  381. package/src/contract_function_simulator/contract_function_simulator.ts +468 -180
  382. package/src/contract_function_simulator/ephemeral_array_service.ts +110 -0
  383. package/src/contract_function_simulator/execution_note_cache.ts +10 -30
  384. package/src/contract_function_simulator/execution_tagging_index_cache.ts +19 -18
  385. package/src/contract_function_simulator/index.ts +89 -4
  386. package/src/contract_function_simulator/noir-structs/bounded_vec.ts +43 -0
  387. package/src/contract_function_simulator/noir-structs/contract_class_log_data.ts +9 -0
  388. package/src/contract_function_simulator/noir-structs/embedded_curve_point.ts +4 -0
  389. package/src/contract_function_simulator/noir-structs/ephemeral_array.ts +66 -0
  390. package/src/contract_function_simulator/noir-structs/event_validation_request.ts +10 -9
  391. package/src/contract_function_simulator/noir-structs/fact.ts +13 -0
  392. package/src/contract_function_simulator/noir-structs/fact_collection.ts +64 -0
  393. package/src/contract_function_simulator/noir-structs/log_retrieval_request.ts +27 -20
  394. package/src/contract_function_simulator/noir-structs/log_retrieval_response.ts +14 -64
  395. package/src/contract_function_simulator/noir-structs/note_data.ts +27 -0
  396. package/src/contract_function_simulator/noir-structs/note_validation_request.ts +6 -11
  397. package/src/contract_function_simulator/noir-structs/option.ts +75 -0
  398. package/src/contract_function_simulator/noir-structs/origin_block.ts +8 -0
  399. package/src/contract_function_simulator/noir-structs/pending_tagged_log.ts +12 -0
  400. package/src/contract_function_simulator/noir-structs/provided_secret.ts +5 -0
  401. package/src/contract_function_simulator/noir-structs/resolved_tagging_strategy.ts +66 -0
  402. package/src/contract_function_simulator/noir-structs/resolved_tx.ts +19 -0
  403. package/src/contract_function_simulator/noir-structs/tx_effect_data.ts +16 -0
  404. package/src/contract_function_simulator/noir-structs/utility_context.ts +5 -17
  405. package/src/contract_function_simulator/oracle/acir_callback.ts +154 -0
  406. package/src/contract_function_simulator/oracle/index.ts +1 -15
  407. package/src/contract_function_simulator/oracle/interfaces.ts +11 -176
  408. package/src/contract_function_simulator/oracle/legacy_oracle_registry.ts +147 -0
  409. package/src/contract_function_simulator/oracle/message_load_oracle_inputs.ts +6 -21
  410. package/src/contract_function_simulator/oracle/note_packing_utils.ts +3 -3
  411. package/src/contract_function_simulator/oracle/oracle_registry.ts +710 -0
  412. package/src/contract_function_simulator/oracle/oracle_type_mappings.ts +1052 -0
  413. package/src/contract_function_simulator/oracle/private_execution.ts +6 -7
  414. package/src/contract_function_simulator/oracle/private_execution_oracle.ts +320 -210
  415. package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +1028 -268
  416. package/src/contract_function_simulator/pick_notes.ts +22 -3
  417. package/src/contract_function_simulator/transient_array_service.ts +91 -0
  418. package/src/contract_logging.ts +52 -0
  419. package/src/debug/pxe_debug_utils.ts +11 -17
  420. package/src/entrypoints/client/bundle/index.ts +3 -0
  421. package/src/entrypoints/client/bundle/utils.ts +35 -9
  422. package/src/entrypoints/client/lazy/index.ts +3 -0
  423. package/src/entrypoints/client/lazy/utils.ts +35 -9
  424. package/src/entrypoints/client/store.ts +54 -0
  425. package/src/entrypoints/pxe_creation_options.ts +21 -1
  426. package/src/entrypoints/server/index.ts +8 -2
  427. package/src/entrypoints/server/store.ts +47 -0
  428. package/src/entrypoints/server/utils.ts +46 -21
  429. package/src/error_enriching.ts +30 -13
  430. package/src/events/event_service.ts +85 -26
  431. package/src/events/private_event_filter_validator.ts +21 -1
  432. package/src/hooks/authorize_utility_call.ts +44 -0
  433. package/src/hooks/execution_hooks.ts +68 -0
  434. package/src/hooks/index.ts +13 -0
  435. package/src/hooks/resolve_custom_request.ts +24 -0
  436. package/src/hooks/resolve_tagging_secret_strategy.ts +60 -0
  437. package/src/logs/log_service.ts +231 -157
  438. package/src/messages/tx_resolver_service.ts +81 -0
  439. package/src/node/benchmarked_node.ts +140 -0
  440. package/src/node/caching_aztec_node.ts +407 -0
  441. package/src/notes/note_service.ts +128 -86
  442. package/src/notes_filter.ts +24 -0
  443. package/src/oracle_version.ts +20 -10
  444. package/src/private_kernel/batch_planner.ts +169 -0
  445. package/src/private_kernel/hints/{compute_tx_include_by_timestamp.ts → compute_tx_expiration_timestamp.ts} +13 -13
  446. package/src/private_kernel/hints/index.ts +1 -1
  447. package/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.ts +179 -121
  448. package/src/private_kernel/hints/test_utils.ts +318 -0
  449. package/src/private_kernel/private_kernel_execution_prover.ts +252 -116
  450. package/src/private_kernel/private_kernel_oracle.ts +65 -36
  451. package/src/pxe.ts +698 -311
  452. package/src/storage/address_store/address_store.ts +2 -1
  453. package/src/storage/allowed_scopes.ts +14 -0
  454. package/src/storage/anchor_block_store/anchor_block_store.ts +9 -7
  455. package/src/storage/backwards_compatibility_tests/__snapshots__/AddressStore.json +22 -0
  456. package/src/storage/backwards_compatibility_tests/__snapshots__/AnchorBlockStore.json +3 -0
  457. package/src/storage/backwards_compatibility_tests/__snapshots__/CapsuleStore.json +16 -0
  458. package/src/storage/backwards_compatibility_tests/__snapshots__/ContractStore.json +28 -0
  459. package/src/storage/backwards_compatibility_tests/__snapshots__/FactStore.json +40 -0
  460. package/src/storage/backwards_compatibility_tests/__snapshots__/KeyStore.json +52 -0
  461. package/src/storage/backwards_compatibility_tests/__snapshots__/L2TipsKVStore.json +40 -0
  462. package/src/storage/backwards_compatibility_tests/__snapshots__/NoteStore.json +56 -0
  463. package/src/storage/backwards_compatibility_tests/__snapshots__/PrivateEventStore.json +44 -0
  464. package/src/storage/backwards_compatibility_tests/__snapshots__/RecipientTaggingStore.json +26 -0
  465. package/src/storage/backwards_compatibility_tests/__snapshots__/SenderTaggingStore.json +30 -0
  466. package/src/storage/backwards_compatibility_tests/__snapshots__/TaggingSecretSourcesStore.json +30 -0
  467. package/src/storage/backwards_compatibility_tests/__snapshots__/opened_stores.json +117 -0
  468. package/src/storage/backwards_compatibility_tests/kv_store_snapshot.ts +122 -0
  469. package/src/storage/backwards_compatibility_tests/schema_tests.ts +803 -0
  470. package/src/storage/backwards_compatibility_tests/store_spy.ts +73 -0
  471. package/src/storage/capsule_store/capsule_service.ts +85 -0
  472. package/src/storage/capsule_store/capsule_store.ts +45 -27
  473. package/src/storage/capsule_store/index.ts +1 -0
  474. package/src/storage/contract_store/contract_store.ts +238 -166
  475. package/src/storage/contract_store/private_functions_tree.ts +2 -1
  476. package/src/storage/fact_store/fact_service.ts +69 -0
  477. package/src/storage/fact_store/fact_store.ts +488 -0
  478. package/src/storage/fact_store/fact_store_keys.ts +75 -0
  479. package/src/storage/fact_store/index.ts +15 -0
  480. package/src/storage/fact_store/origin_state.ts +84 -0
  481. package/src/storage/fact_store/stored_fact.ts +80 -0
  482. package/src/storage/index.ts +2 -1
  483. package/src/storage/metadata.ts +1 -1
  484. package/src/storage/note_store/note_store.ts +236 -194
  485. package/src/storage/note_store/stored_note.ts +5 -27
  486. package/src/storage/open_pxe_stores.ts +52 -0
  487. package/src/storage/private_event_store/private_event_store.ts +55 -56
  488. package/src/storage/private_event_store/stored_private_event.ts +1 -1
  489. package/src/storage/store_identity.ts +72 -0
  490. package/src/storage/tagging_store/index.ts +1 -1
  491. package/src/storage/tagging_store/recipient_tagging_store.ts +5 -5
  492. package/src/storage/tagging_store/sender_tagging_store.ts +278 -158
  493. package/src/storage/tagging_store/tagging_secret_sources_store.ts +138 -0
  494. package/src/tagging/constants.ts +42 -10
  495. package/src/tagging/get_all_logs_by_tags.ts +125 -36
  496. package/src/tagging/index.ts +12 -6
  497. package/src/tagging/persist_sender_tagging_index_ranges.ts +57 -0
  498. package/src/tagging/recipient_sync/sync_tagged_private_logs.ts +356 -0
  499. package/src/tagging/recipient_sync/utils/find_highest_indexes.ts +4 -4
  500. package/src/tagging/reconcile_tagging_index_ranges.ts +102 -0
  501. package/src/tagging/sender_sync/sync_sender_tagging_indexes.ts +32 -27
  502. package/src/tagging/sender_sync/utils/classify_pending_txs.ts +92 -0
  503. package/src/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.ts +57 -50
  504. package/src/tagging/sender_sync/utils/resolve_pending_txs.ts +65 -0
  505. package/src/tagging/sender_sync/utils/test_utils.ts +46 -0
  506. package/src/tagging/testing/tag_query_test_utils.ts +11 -0
  507. package/dest/contract_function_simulator/benchmarked_node.d.ts +0 -9
  508. package/dest/contract_function_simulator/benchmarked_node.d.ts.map +0 -1
  509. package/dest/contract_function_simulator/benchmarked_node.js +0 -77
  510. package/dest/contract_function_simulator/oracle/oracle.d.ts +0 -60
  511. package/dest/contract_function_simulator/oracle/oracle.d.ts.map +0 -1
  512. package/dest/contract_function_simulator/oracle/oracle.js +0 -368
  513. package/dest/contract_function_simulator/proxied_contract_data_source.d.ts +0 -6
  514. package/dest/contract_function_simulator/proxied_contract_data_source.d.ts.map +0 -1
  515. package/dest/contract_function_simulator/proxied_contract_data_source.js +0 -80
  516. package/dest/contract_sync/contract_sync_service.d.ts +0 -41
  517. package/dest/contract_sync/contract_sync_service.d.ts.map +0 -1
  518. package/dest/contract_sync/contract_sync_service.js +0 -82
  519. package/dest/contract_sync/helpers.d.ts +0 -28
  520. package/dest/contract_sync/helpers.d.ts.map +0 -1
  521. package/dest/contract_sync/helpers.js +0 -55
  522. package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts +0 -4
  523. package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts.map +0 -1
  524. package/dest/storage/tagging_store/sender_address_book_store.d.ts +0 -14
  525. package/dest/storage/tagging_store/sender_address_book_store.d.ts.map +0 -1
  526. package/dest/storage/tagging_store/sender_address_book_store.js +0 -36
  527. package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts +0 -15
  528. package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts.map +0 -1
  529. package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.js +0 -99
  530. package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts +0 -15
  531. package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts.map +0 -1
  532. package/dest/tagging/recipient_sync/utils/load_logs_for_range.js +0 -32
  533. package/dest/tagging/sender_sync/utils/get_status_change_of_pending.d.ts +0 -11
  534. package/dest/tagging/sender_sync/utils/get_status_change_of_pending.d.ts.map +0 -1
  535. package/dest/tagging/sender_sync/utils/get_status_change_of_pending.js +0 -29
  536. package/src/contract_function_simulator/benchmarked_node.ts +0 -103
  537. package/src/contract_function_simulator/oracle/oracle.ts +0 -637
  538. package/src/contract_function_simulator/proxied_contract_data_source.ts +0 -83
  539. package/src/contract_sync/contract_sync_service.ts +0 -129
  540. package/src/contract_sync/helpers.ts +0 -93
  541. package/src/storage/tagging_store/sender_address_book_store.ts +0 -48
  542. package/src/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.ts +0 -143
  543. package/src/tagging/recipient_sync/utils/load_logs_for_range.ts +0 -49
  544. package/src/tagging/sender_sync/utils/get_status_change_of_pending.ts +0 -36
@@ -1 +1 @@
1
- {"version":3,"file":"private_kernel_oracle.d.ts","sourceRoot":"","sources":["../../src/private_kernel/private_kernel_oracle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAA2B,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,EAAE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,GAAG,OAAO,CAAC,iBAAiB,CAAC,OAAO,cAAc,CAAC,CAAC,CAG5G;IAED,+FAA+F;IACzF,4BAA4B,CAChC,QAAQ,EAAE,EAAE,GACX,OAAO,CAAC,iBAAiB,CAAC,OAAO,qBAAqB,CAAC,GAAG,SAAS,CAAC,CAEtE;IAED,8GAA8G;IACxG,6BAA6B,CAAC,SAAS,EAAE,EAAE,GAAG,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAElG;IAED,qDAAqD;IACrD,mBAAmB,IAAI,EAAE,CAExB;IAED;;;;;;OAMG;IACI,kBAAkB,CAAC,mBAAmB,EAAE,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAE1E;IAED,2EAA2E;IAC9D,oBAAoB,CAC/B,eAAe,EAAE,YAAY,EAC7B,QAAQ,EAAE,gBAAgB,GACzB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAG7B;IAED;;;OAGG;IACU,sBAAsB,CAAC,eAAe,EAAE,YAAY,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAoC/F;CACF"}
@@ -1,40 +1,55 @@
1
- import { PUBLIC_DATA_TREE_HEIGHT, VK_TREE_HEIGHT } from '@aztec/constants';
1
+ import { PUBLIC_DATA_TREE_HEIGHT, UPDATES_VALUE_SIZE, VK_TREE_HEIGHT } from '@aztec/constants';
2
2
  import { MembershipWitness } from '@aztec/foundation/trees';
3
3
  import { getVKIndex, getVKSiblingPath } from '@aztec/noir-protocol-circuits-types/vk-tree';
4
4
  import { ProtocolContractAddress } from '@aztec/protocol-contracts';
5
- import { computeContractClassIdPreimage, computeSaltedInitializationHash } from '@aztec/stdlib/contract';
5
+ import { computeSaltedInitializationHash } from '@aztec/stdlib/contract';
6
6
  import { DelayedPublicMutableValues, DelayedPublicMutableValuesWithHash } from '@aztec/stdlib/delayed-public-mutable';
7
7
  import { computePublicDataTreeLeafSlot } from '@aztec/stdlib/hash';
8
8
  import { UpdatedClassIdHints } from '@aztec/stdlib/kernel';
9
+ import { AnchoredContractData } from '../contract_function_simulator/anchored_contract_data.js';
9
10
  /**
10
11
  * Provides functionality needed by the private kernel for interacting with our state trees.
11
12
  */ export class PrivateKernelOracle {
12
13
  contractStore;
13
14
  keyStore;
14
15
  node;
15
- blockHash;
16
- constructor(contractStore, keyStore, node, blockHash){
16
+ blockHeader;
17
+ anchoredContractData;
18
+ constructor(contractStore, contractClassService, keyStore, node, blockHeader){
17
19
  this.contractStore = contractStore;
18
20
  this.keyStore = keyStore;
19
21
  this.node = node;
20
- this.blockHash = blockHash;
22
+ this.blockHeader = blockHeader;
23
+ // Kernels never use contract overrides (those are confined to simulations, which skip proving), so this view is
24
+ // built without them.
25
+ this.anchoredContractData = new AnchoredContractData(contractStore, contractClassService, blockHeader);
21
26
  }
22
27
  /** Retrieves the preimage of a contract address from the registered contract instances db. */ async getContractAddressPreimage(address) {
23
- const instance = await this.contractStore.getContractInstance(address);
28
+ const instance = await this.anchoredContractData.getContractInstance(address);
24
29
  if (!instance) {
25
30
  throw new Error(`Contract instance not found when getting address preimage. Contract address: ${address}.`);
26
31
  }
32
+ // Local instance existence was checked above, so resolution below cannot come back empty.
33
+ const currentContractClassId = await this.anchoredContractData.getCurrentClassId(address);
34
+ if (!currentContractClassId) {
35
+ throw new Error(`Could not resolve the current class id for registered contract ${address}.`);
36
+ }
27
37
  return {
28
38
  saltedInitializationHash: await computeSaltedInitializationHash(instance),
29
- ...instance
39
+ ...instance,
40
+ currentContractClassId
30
41
  };
31
42
  }
32
43
  /** Retrieves the preimage of a contract class id from the contract classes db. */ async getContractClassIdPreimage(contractClassId) {
33
- const contractClass = await this.contractStore.getContractClass(contractClassId);
44
+ const contractClass = await this.contractStore.getContractClassWithPreimage(contractClassId);
34
45
  if (!contractClass) {
35
46
  throw new Error(`Contract class not found when getting class id preimage. Class id: ${contractClassId}.`);
36
47
  }
37
- return computeContractClassIdPreimage(contractClass);
48
+ return {
49
+ artifactHash: contractClass.artifactHash,
50
+ privateFunctionsRoot: contractClass.privateFunctionsRoot,
51
+ publicBytecodeCommitment: contractClass.publicBytecodeCommitment
52
+ };
38
53
  }
39
54
  /** Returns a membership witness with the sibling path and leaf index in our private functions tree. */ async getFunctionMembershipWitness(contractClassId, selector) {
40
55
  const membershipWitness = await this.contractStore.getFunctionMembershipWitness(contractClassId, selector);
@@ -50,30 +65,27 @@ import { UpdatedClassIdHints } from '@aztec/stdlib/kernel';
50
65
  const leafIndex = getVKIndex(vk);
51
66
  return Promise.resolve(new MembershipWitness(VK_TREE_HEIGHT, BigInt(leafIndex), getVKSiblingPath(leafIndex)));
52
67
  }
53
- /** Returns a membership witness with the sibling path and leaf index in our note hash tree. */ getNoteHashMembershipWitness(noteHash) {
54
- return this.node.getNoteHashMembershipWitness(this.blockHash, noteHash);
68
+ /** Returns a membership witness with the sibling path and leaf index in our note hash tree. */ async getNoteHashMembershipWitness(noteHash) {
69
+ return this.node.getNoteHashMembershipWitness(await this.blockHeader.hash(), noteHash);
55
70
  }
56
- /** Returns a membership witness with the sibling path and leaf index in our nullifier indexed merkle tree. */ getNullifierMembershipWitness(nullifier) {
57
- return this.node.getNullifierMembershipWitness(this.blockHash, nullifier);
71
+ /** Returns a membership witness with the sibling path and leaf index in our nullifier indexed merkle tree. */ async getNullifierMembershipWitness(nullifier) {
72
+ return this.node.getNullifierMembershipWitness(await this.blockHeader.hash(), nullifier);
58
73
  }
59
- /** Returns the root of our note hash merkle tree. */ async getNoteHashTreeRoot() {
60
- const header = await this.node.getBlockHeader(this.blockHash);
61
- if (!header) {
62
- throw new Error(`No block header found for block hash ${this.blockHash}`);
63
- }
64
- return header.state.partial.noteHashTree.root;
74
+ /** Returns the root of our note hash merkle tree. */ getNoteHashTreeRoot() {
75
+ return this.blockHeader.state.partial.noteHashTree.root;
65
76
  }
66
77
  /**
67
- * Retrieves the sk_m corresponding to the pk_m.
68
- * @throws If the provided public key is not associated with any of the registered accounts.
69
- * @param masterPublicKey - The master public key to get secret key for.
78
+ * Retrieves the sk_m corresponding to the pk_m hash.
79
+ * @throws If the provided hash is not associated with any of the registered accounts.
80
+ * @param masterPublicKeyHash - The master public key hash to get secret key for.
70
81
  * @returns A Promise that resolves to sk_m.
71
82
  * @dev Used when feeding the sk_m to the kernel circuit for keys verification.
72
- */ getMasterSecretKey(masterPublicKey) {
73
- return this.keyStore.getMasterSecretKey(masterPublicKey);
83
+ */ getMasterSecretKey(masterPublicKeyHash) {
84
+ return this.keyStore.getMasterSecretKey(masterPublicKeyHash);
74
85
  }
75
- /** Use debug data to get the function name corresponding to a selector. */ getDebugFunctionName(contractAddress, selector) {
76
- return this.contractStore.getDebugFunctionName(contractAddress, selector);
86
+ /** Use debug data to get the function name corresponding to a selector. */ async getDebugFunctionName(contractAddress, selector) {
87
+ const classId = await this.anchoredContractData.getCurrentClassId(contractAddress);
88
+ return classId ? this.contractStore.getDebugFunctionName(classId, selector) : undefined;
77
89
  }
78
90
  /**
79
91
  * Returns a membership witness and leaf index to our public data indexed merkle tree,
@@ -81,12 +93,18 @@ import { UpdatedClassIdHints } from '@aztec/stdlib/kernel';
81
93
  */ async getUpdatedClassIdHints(contractAddress) {
82
94
  const { delayedPublicMutableSlot, delayedPublicMutableHashSlot } = await DelayedPublicMutableValuesWithHash.getContractUpdateSlots(contractAddress);
83
95
  const hashLeafSlot = await computePublicDataTreeLeafSlot(ProtocolContractAddress.ContractInstanceRegistry, delayedPublicMutableHashSlot);
84
- const updatedClassIdWitness = await this.node.getPublicDataWitness(this.blockHash, hashLeafSlot);
96
+ const blockHash = await this.blockHeader.hash();
97
+ const updatedClassIdWitness = await this.node.getPublicDataWitness(blockHash, hashLeafSlot);
85
98
  if (!updatedClassIdWitness) {
86
99
  throw new Error(`No public data tree witness found for ${hashLeafSlot}`);
87
100
  }
88
- const readStorage = (storageSlot)=>this.node.getPublicStorageAt(this.blockHash, ProtocolContractAddress.ContractInstanceRegistry, storageSlot);
89
- const delayedPublicMutableValues = await DelayedPublicMutableValues.readFromTree(delayedPublicMutableSlot, readStorage);
101
+ // In an indexed merkle tree, getPublicDataWitness returns a leaf whose slot matches our query
102
+ // only if the slot has been written to. Otherwise, it returns the "low leaf" predecessor, whose
103
+ // slot will differ. Most contracts are never updated, so we can skip the readFromTree call
104
+ // (which triggers multiple RPC calls) and return empty values directly.
105
+ const readStorage = (storageSlot)=>this.node.getPublicStorageAt(blockHash, ProtocolContractAddress.ContractInstanceRegistry, storageSlot);
106
+ const slotExists = updatedClassIdWitness.leafPreimage.leaf.slot.equals(hashLeafSlot);
107
+ const delayedPublicMutableValues = slotExists ? await DelayedPublicMutableValues.readFromTree(delayedPublicMutableSlot, readStorage) : DelayedPublicMutableValues.empty(UPDATES_VALUE_SIZE);
90
108
  return new UpdatedClassIdHints(new MembershipWitness(PUBLIC_DATA_TREE_HEIGHT, updatedClassIdWitness.index, updatedClassIdWitness.siblingPath.toTuple()), updatedClassIdWitness.leafPreimage, delayedPublicMutableValues);
91
109
  }
92
110
  }
package/dest/pxe.d.ts CHANGED
@@ -1,21 +1,159 @@
1
1
  import type { PrivateEventFilter } from '@aztec/aztec.js/wallet';
2
2
  import { Fr } from '@aztec/foundation/curves/bn254';
3
+ import { Point } from '@aztec/foundation/curves/grumpkin';
3
4
  import { type Logger } from '@aztec/foundation/log';
5
+ import type { AccountPrivacyKeys, AccountPrivacySecretKeys } from '@aztec/key-store';
4
6
  import type { AztecAsyncKVStore } from '@aztec/kv-store';
5
7
  import { type ProtocolContractsProvider } from '@aztec/protocol-contracts';
6
8
  import type { CircuitSimulator } from '@aztec/simulator/client';
7
9
  import { type ContractArtifact, EventSelector, FunctionCall } from '@aztec/stdlib/abi';
8
10
  import type { AuthWitness } from '@aztec/stdlib/auth-witness';
9
11
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
10
- import { CompleteAddress, type ContractInstanceWithAddress, type PartialAddress } from '@aztec/stdlib/contract';
11
- import type { AztecNode, PrivateKernelProver } from '@aztec/stdlib/interfaces/client';
12
- import { BlockHeader, type InTx, SimulationOverrides, TxExecutionRequest, TxProfileResult, TxProvingResult, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
12
+ import { CompleteAddress, type ContractInstancePreimage, type ContractInstancePreimageWithAddress, type ContractInstanceWithAddress, type PartialAddress } from '@aztec/stdlib/contract';
13
+ import type { AztecNode, AztecNodeDebug, PrivateKernelProver } from '@aztec/stdlib/interfaces/client';
14
+ import { BlockHeader, type InTx, SimulationOverrides, TxExecutionRequest, TxProfileResult, TxProvingResult, TxSimulationResult, UtilityExecutionResult } from '@aztec/stdlib/tx';
13
15
  import type { PXEConfig } from './config/index.js';
14
16
  import { PXEDebugUtils } from './debug/pxe_debug_utils.js';
17
+ import type { ExecutionHooks } from './hooks/index.js';
15
18
  export type PackedPrivateEvent = InTx & {
16
19
  packedEvent: Fr[];
17
20
  eventSelector: EventSelector;
18
21
  };
22
+ /** Options for PXE.proveTx. */
23
+ export type ProveTxOpts = {
24
+ /** Addresses whose private state and keys are accessible during private execution. */
25
+ scopes: AztecAddress[];
26
+ /** Sender address used to derive discovery tags for private messages (notes, events, logs) this tx emits. */
27
+ senderForTags?: AztecAddress;
28
+ };
29
+ /** Options for PXE.profileTx. */
30
+ export type ProfileTxOpts = {
31
+ /** The profiling mode to use. */
32
+ profileMode: 'full' | 'execution-steps' | 'gates';
33
+ /** If true, proof generation is skipped during profiling. Defaults to true. */
34
+ skipProofGeneration?: boolean;
35
+ /** Addresses whose private state and keys are accessible during private execution. */
36
+ scopes: AztecAddress[];
37
+ /** Sender address used to derive discovery tags for private messages (notes, events, logs) this tx emits. */
38
+ senderForTags?: AztecAddress;
39
+ };
40
+ /** Options for PXE.simulateTx. */
41
+ export type SimulateTxOpts = {
42
+ /** Whether to simulate the public part of the transaction. */
43
+ simulatePublic: boolean;
44
+ /** If false, this function throws if the transaction is unable to be included in a block at the current state. */
45
+ skipTxValidation?: boolean;
46
+ /** If false, fees are enforced. */
47
+ skipFeeEnforcement?: boolean;
48
+ /** If true, kernel logic is emulated in TS for simulation */
49
+ skipKernels?: boolean;
50
+ /**
51
+ * Pre-simulation overrides applied to the ephemeral fork and contract DB. Bundles publicStorage
52
+ * writes (no skipKernels required) and per-address (instance, artifact?) overrides used by both
53
+ * AVM-side public dispatch and PXE-side ACIR private dispatch (requires skipKernels: true).
54
+ */
55
+ overrides?: SimulationOverrides;
56
+ /** Addresses whose private state and keys are accessible during private execution */
57
+ scopes: AztecAddress[];
58
+ /** Sender address used to derive discovery tags for private messages (notes, events, logs) this tx emits. */
59
+ senderForTags?: AztecAddress;
60
+ };
61
+ /** Options for PXE.executeUtility. */
62
+ export type ExecuteUtilityOpts = {
63
+ /** The authentication witnesses required for the function call. */
64
+ authwits?: AuthWitness[];
65
+ /** The accounts whose notes we can access in this call */
66
+ scopes: AztecAddress[];
67
+ };
68
+ /**
69
+ * Supplies the set of "nice to have" contracts that every PXE preloads regardless of which wallet
70
+ * drives it. Today this is just the standard multi-call entrypoint: the SDK's self-paid account
71
+ * deploy flow ({@link DeployAccountMethod} with `from = NO_FROM`) routes its payload through it, so a
72
+ * PXE that did not register it would fail contract sync with an opaque "no contract instance" error.
73
+ *
74
+ * Returning a list keeps this extensible: a wallet may supply its own provider that preloads
75
+ * additional contracts. Injected the same way as {@link ProtocolContractsProvider} so the PXE never
76
+ * statically imports the bundled artifacts, keeping the bundle/lazy split intact.
77
+ */
78
+ export type PreloadedContractsProvider = {
79
+ /** Returns the contract instances and artifacts the PXE should preload on startup. */
80
+ getPreloadedContracts: () => Promise<Array<{
81
+ instance: ContractInstanceWithAddress;
82
+ artifact: ContractArtifact;
83
+ }>>;
84
+ };
85
+ /** Args for PXE.create. */
86
+ export type PXECreateArgs = {
87
+ /** The Aztec node to connect to. */
88
+ node: AztecNode;
89
+ /**
90
+ * Optional debug API client. When provided, public function signatures are registered with the node so that
91
+ * node-side public-execution stack traces can be named. Skipped when the node does not expose the debug API.
92
+ */
93
+ nodeDebug?: AztecNodeDebug;
94
+ /** The key-value store for persisting PXE state. */
95
+ store: AztecAsyncKVStore;
96
+ /** The prover for generating private kernel proofs. */
97
+ proofCreator: PrivateKernelProver;
98
+ /** The circuit simulator for executing ACIR circuits. */
99
+ simulator: CircuitSimulator;
100
+ /** Provider for protocol contract artifacts and instances. */
101
+ protocolContractsProvider: ProtocolContractsProvider;
102
+ /**
103
+ * Contracts to preload on startup. Injected by the entrypoint with the bundle-or-lazy flavor that
104
+ * matches the runtime (bundle for node/eager browser, lazy for code-split browser), so the PXE
105
+ * never statically imports a standard-contract artifact and the bundle/lazy split stays intact.
106
+ */
107
+ preloadedContractsProvider: PreloadedContractsProvider;
108
+ /** PXE configuration options. */
109
+ config: PXEConfig;
110
+ /** Optional logger instance or string suffix for the logger name. */
111
+ loggerOrSuffix?: string | Logger;
112
+ /** Optional hooks to observe and influence contract execution. */
113
+ hooks?: ExecutionHooks;
114
+ };
115
+ /** A source from which PXE derives the tagging secrets it scans for to discover incoming private logs. */
116
+ export type TaggingSecretSource =
117
+ /**
118
+ * Derives a shared secret via ECDH from an external `sender` address against every account registered in this PXE
119
+ * (present and future), so registering one sender applies it to all of them. The address is not secret, so unlike
120
+ * `arbitrary-secret` it can be reused freely across recipients.
121
+ */
122
+ {
123
+ kind: 'address-derived';
124
+ sender: AztecAddress;
125
+ }
126
+ /**
127
+ * A shared secret point provided directly, scoped to a single recipient. It bypasses ECDH, so it must not be
128
+ * reused across recipients (each would then be able to find the others' tags).
129
+ */
130
+ | {
131
+ kind: 'arbitrary-secret';
132
+ recipient: AztecAddress;
133
+ secret: Point;
134
+ }
135
+ /**
136
+ * A handshake known by the x-coordinate of its ephemeral public key (the value a recipient learns while authorizing
137
+ * an interactive handshake, which emits no discoverable announcement). The ephemeral key's y-coordinate is always
138
+ * positive by protocol construction, so the x-coordinate alone identifies it.
139
+ */
140
+ | {
141
+ kind: 'handshake';
142
+ recipient: AztecAddress;
143
+ ephPk: Fr;
144
+ };
145
+ /**
146
+ * The registered form of a {@link TaggingSecretSource}.
147
+ */
148
+ export type RegisteredTaggingSecretSource = Exclude<TaggingSecretSource, {
149
+ kind: 'handshake';
150
+ }>
151
+ /** A handshake's resolved shared secret, derived at registration from the handshake's ephemeral key. */
152
+ | {
153
+ kind: 'handshake';
154
+ recipient: AztecAddress;
155
+ secret: Point;
156
+ };
19
157
  /**
20
158
  * Private eXecution Environment (PXE) is a library used by wallets to simulate private phase of transactions and to
21
159
  * manage private state of users.
@@ -23,26 +161,35 @@ export type PackedPrivateEvent = InTx & {
23
161
  export declare class PXE {
24
162
  #private;
25
163
  private node;
164
+ private nodeDebug;
165
+ private db;
26
166
  private blockStateSynchronizer;
27
167
  private keyStore;
28
168
  private contractStore;
29
169
  private noteStore;
30
170
  private capsuleStore;
171
+ private factStore;
31
172
  private anchorBlockStore;
32
173
  private senderTaggingStore;
33
- private senderAddressBookStore;
174
+ private taggingSecretSourcesStore;
34
175
  private recipientTaggingStore;
35
176
  private addressStore;
36
177
  private privateEventStore;
37
178
  private contractSyncService;
179
+ private contractClassService;
180
+ private txResolver;
181
+ private l2TipsStore;
38
182
  private simulator;
39
183
  private proverEnabled;
184
+ private autoSync;
40
185
  private proofCreator;
41
186
  private protocolContractsProvider;
187
+ private preloadedContractsProvider;
42
188
  private log;
43
189
  private jobQueue;
44
190
  private jobCoordinator;
45
191
  debug: PXEDebugUtils;
192
+ private hooks;
46
193
  private constructor();
47
194
  /**
48
195
  * Creates an instance of a PXE by instantiating all the necessary data providers and services.
@@ -51,18 +198,24 @@ export declare class PXE {
51
198
  *
52
199
  * @returns A promise that resolves PXE is ready to be used.
53
200
  */
54
- static create(node: AztecNode, store: AztecAsyncKVStore, proofCreator: PrivateKernelProver, simulator: CircuitSimulator, protocolContractsProvider: ProtocolContractsProvider, config: PXEConfig, loggerOrSuffix?: string | Logger): Promise<PXE>;
201
+ static create({ node, nodeDebug, store, proofCreator, simulator, protocolContractsProvider, preloadedContractsProvider, config, loggerOrSuffix, hooks }: PXECreateArgs): Promise<PXE>;
202
+ /**
203
+ * Triggers a sync of PXE state with the node, regardless of the `autoSync` config flag. Use this to
204
+ * batch syncs across composite flows when `autoSync` is disabled (e.g. one sync per simulate+send
205
+ * instead of one per inner PXE call). Serialized through the job queue.
206
+ */
207
+ sync(): Promise<void>;
55
208
  /**
56
209
  * Returns the block header up to which the PXE has synced.
57
210
  * @returns The synced block header
58
211
  */
59
212
  getSyncedBlockHeader(): Promise<BlockHeader>;
60
213
  /**
61
- * Returns the contract instance for a given address, if it's registered in the PXE.
214
+ * Returns the address preimage of the contract instance at a given address, if it's registered in the PXE.
62
215
  * @param address - The contract address.
63
- * @returns The contract instance if found, undefined otherwise.
216
+ * @returns The contract instance address preimage if found, undefined otherwise.
64
217
  */
65
- getContractInstance(address: AztecAddress): Promise<ContractInstanceWithAddress | undefined>;
218
+ getContractInstance(address: AztecAddress): Promise<ContractInstancePreimageWithAddress | undefined>;
66
219
  /**
67
220
  * Returns the contract artifact for a given contract class id, if it's registered in the PXE.
68
221
  * @param id - Identifier of the contract class.
@@ -70,37 +223,59 @@ export declare class PXE {
70
223
  */
71
224
  getContractArtifact(id: Fr): Promise<ContractArtifact | undefined>;
72
225
  /**
73
- * Registers a user account in PXE given its master encryption private key.
74
- * Once a new account is registered, the PXE will trial-decrypt all published notes on
75
- * the chain and store those that correspond to the registered account. Will do nothing if the
76
- * account is already registered.
226
+ * Registers a user account in PXE.
227
+ *
228
+ * PXE holds the account's four privacy secret keys but only the *public* message-signing and fallback keys: their
229
+ * secret keys are withheld, since PXE is not trusted to hold them.
230
+ *
231
+ * Does nothing if the account is already registered.
77
232
  *
78
- * @param secretKey - Secret key of the corresponding user master public key.
233
+ * The four privacy secret keys can be retrieved later with {@link getAccountSecretKeys}.
234
+ *
235
+ * @param keys - The account's privacy keys: four secret keys plus the message-signing and fallback public keys.
79
236
  * @param partialAddress - The partial address of the account contract corresponding to the account being registered.
80
237
  * @returns The complete address of the account.
81
238
  */
82
- registerAccount(secretKey: Fr, partialAddress: PartialAddress): Promise<CompleteAddress>;
239
+ registerAccount(keys: AccountPrivacyKeys, partialAddress: PartialAddress): Promise<CompleteAddress>;
83
240
  /**
84
- * Registers a sender in this PXE.
241
+ * Retrieves the four privacy secret keys PXE holds for a registered account (nullifier-hiding, incoming-viewing,
242
+ * outgoing-viewing, tagging).
243
+ *
244
+ * These do NOT grant control over an account's assets, e.g. they are insufficient to impersonate the account or to
245
+ * spend notes, but they _do_ guard the account's privacy. Parties that have knowledge of these keys can decrypt all
246
+ * messages sent to the account, discover all of their on-chain activity, including notes, events, etc.
247
+ *
248
+ * Security is paramount when handling these keys, which should itself be a very rare occurrence. Other than exporting
249
+ * and then importing an account into a separate PXE/wallet, there is typically no need for a wallet to ever access
250
+ * these keys. Applications should NEVER be given access to them.
85
251
  *
86
- * After registering a new sender, the PXE will sync private logs that are tagged with this sender's address.
87
- * Will do nothing if the address is already registered.
252
+ * @throws If the account is not registered.
253
+ */
254
+ getAccountSecretKeys(account: AztecAddress): Promise<AccountPrivacySecretKeys>;
255
+ /**
256
+ * Registers a source from which this PXE derives the tagging secrets it scans for to discover incoming private logs.
257
+ * See {@link TaggingSecretSource} for the meaning of each variant. Does nothing if the source is already registered.
88
258
  *
89
- * @param sender - Address of the sender to register.
90
- * @returns The address of the sender.
91
- * TODO: It's strange that we return the address here and I (benesjan) think we should drop the return value.
259
+ * After a new source is added we clear the cache tracking which contracts have finished syncing, so every contract
260
+ * re-syncs against the new source's logs (whose notes/events could belong to any contract). Already-discovered
261
+ * notes/events are not discarded.
92
262
  */
93
- registerSender(sender: AztecAddress): Promise<AztecAddress>;
263
+ registerTaggingSecretSource(source: TaggingSecretSource): Promise<void>;
94
264
  /**
95
- * Retrieves senders registered in this PXE.
96
- * @returns Senders registered in this PXE.
265
+ * Removes a previously registered tagging secret source, identified by its registered form (see
266
+ * {@link getTaggingSecretSources}). Does nothing if it was not registered.
97
267
  */
98
- getSenders(): Promise<AztecAddress[]>;
268
+ removeTaggingSecretSource(source: RegisteredTaggingSecretSource): Promise<void>;
99
269
  /**
100
- * Removes a sender registered in this PXE.
101
- * @param sender - The address of the sender to remove.
270
+ * Retrieves the tagging secret sources registered in this PXE, in their registered form. Without a filter it
271
+ * returns every source; pass `{ kind }` to narrow to a single variant. See {@link RegisteredTaggingSecretSource}.
102
272
  */
103
- removeSender(sender: AztecAddress): Promise<void>;
273
+ getTaggingSecretSources<K extends RegisteredTaggingSecretSource['kind']>(filter: {
274
+ kind: K;
275
+ }): Promise<Extract<RegisteredTaggingSecretSource, {
276
+ kind: K;
277
+ }>[]>;
278
+ getTaggingSecretSources(): Promise<RegisteredTaggingSecretSource[]>;
104
279
  /**
105
280
  * Retrieves the user accounts registered on this PXE.
106
281
  * @returns An array of the accounts registered on this PXE.
@@ -113,27 +288,15 @@ export declare class PXE {
113
288
  */
114
289
  registerContractClass(artifact: ContractArtifact): Promise<void>;
115
290
  /**
116
- * Adds deployed contracts to the PXE. Deployed contract information is used to access the
117
- * contract code when simulating local transactions. This is automatically called by aztec.js when
118
- * deploying a contract. Dapps that wish to interact with contracts already deployed should register
119
- * these contracts in their users' PXE through this method.
291
+ * Registers a deployed contract instance so its private state can be synced and its functions simulated. The
292
+ * artifact for the class the instance runs must be registered separately via {@link registerContractClass}, before
293
+ * or after this call; registration performs no validation, so a missing or mismatched artifact only surfaces when
294
+ * the contract is later simulated. This is automatically called by aztec.js when deploying a contract.
120
295
  *
121
- * @param contract - A contract instance to register, with an optional artifact which can be omitted if the contract class has already been registered.
296
+ * @param instance - The address preimage of the contract instance to register. The address is derived from it.
297
+ * @returns The address of the registered instance.
122
298
  */
123
- registerContract(contract: {
124
- instance: ContractInstanceWithAddress;
125
- artifact?: ContractArtifact;
126
- }): Promise<void>;
127
- /**
128
- * Updates a deployed contract in the PXE. This is used to update the contract artifact when
129
- * an update has happened, so the new code can be used in the simulation of local transactions.
130
- * This is called by aztec.js when instantiating a contract in a given address with a mismatching artifact.
131
- * @param contractAddress - The address of the contract to update.
132
- * @param artifact - The updated artifact for the contract.
133
- * @throws If the artifact's contract class is not found in the PXE or if the contract class is different from
134
- * the current one (current one from the point of view of the node to which the PXE is connected).
135
- */
136
- updateContract(contractAddress: AztecAddress, artifact: ContractArtifact): Promise<void>;
299
+ registerContract(instance: ContractInstancePreimage): Promise<AztecAddress>;
137
300
  /**
138
301
  * Retrieves the addresses of contracts added to this PXE.
139
302
  * @returns An array of contracts addresses registered on this PXE.
@@ -144,21 +307,19 @@ export declare class PXE {
144
307
  * (where validators prove the public portion).
145
308
  *
146
309
  * @param txRequest - An authenticated tx request ready for proving
310
+ * @param scopes - Addresses whose private state and keys are accessible during private execution.
147
311
  * @returns A result containing the proof and public inputs of the tail circuit.
148
312
  * @throws If contract code not found, or public simulation reverts.
149
313
  * Also throws if simulatePublic is true and public simulation reverts.
150
314
  */
151
- proveTx(txRequest: TxExecutionRequest): Promise<TxProvingResult>;
315
+ proveTx(txRequest: TxExecutionRequest, { scopes, senderForTags }: ProveTxOpts): Promise<TxProvingResult>;
152
316
  /**
153
317
  * Profiles a transaction, reporting gate counts (unless disabled) and returns an execution trace.
154
- *
155
- * @param txRequest - An authenticated tx request ready for simulation
156
- * @param msgSender - (Optional) The message sender to use for the simulation.
157
- * @param skipTxValidation - (Optional) If false, this function throws if the transaction is unable to be included in a block at the current state.
318
+ * @param txRequest - An authenticated tx request ready for simulation.
158
319
  * @returns A trace of the program execution with gate counts.
159
320
  * @throws If the code for the functions executed in this transaction have not been made available via `addContracts`.
160
321
  */
161
- profileTx(txRequest: TxExecutionRequest, profileMode: 'full' | 'execution-steps' | 'gates', skipProofGeneration?: boolean): Promise<TxProfileResult>;
322
+ profileTx(txRequest: TxExecutionRequest, { profileMode, skipProofGeneration, scopes, senderForTags }: ProfileTxOpts): Promise<TxProfileResult>;
162
323
  /**
163
324
  * Simulates a transaction based on the provided preauthenticated execution request.
164
325
  * This will run a local simulation of private execution (and optionally of public as well), run the
@@ -170,29 +331,19 @@ export declare class PXE {
170
331
  * In that case, the transaction returned is only potentially ready to be sent to the network for execution.
171
332
  *
172
333
  *
173
- * @param txRequest - An authenticated tx request ready for simulation
174
- * @param simulatePublic - Whether to simulate the public part of the transaction.
175
- * @param skipTxValidation - (Optional) If false, this function throws if the transaction is unable to be included in a block at the current state.
176
- * @param skipFeeEnforcement - (Optional) If false, fees are enforced.
177
- * @param overrides - (Optional) State overrides for the simulation, such as msgSender, contract instances and artifacts.
178
- * @param scopes - (Optional) The accounts whose notes we can access in this call. Currently optional and will default to all.
334
+ * @param txRequest - An authenticated tx request ready for simulation.
179
335
  * @returns A simulated transaction result object that includes public and private return values.
180
336
  * @throws If the code for the functions executed in this transaction have not been made available via `addContracts`.
181
337
  * Also throws if simulatePublic is true and public simulation reverts.
182
338
  *
183
339
  * TODO(#7456) Prevent msgSender being defined here for the first call
184
340
  */
185
- simulateTx(txRequest: TxExecutionRequest, simulatePublic: boolean, skipTxValidation?: boolean, skipFeeEnforcement?: boolean, overrides?: SimulationOverrides, scopes?: AztecAddress[]): Promise<TxSimulationResult>;
341
+ simulateTx(txRequest: TxExecutionRequest, { simulatePublic, skipTxValidation, skipFeeEnforcement, skipKernels, overrides, scopes, senderForTags }: SimulateTxOpts): Promise<TxSimulationResult>;
186
342
  /**
187
- * Simulate the execution of a contract utility function.
188
- *
343
+ * Executes a contract utility function.
189
344
  * @param call - The function call containing the function details, arguments, and target contract address.
190
- * @param authwits - (Optional) The authentication witnesses required for the function call.
191
- * @param scopes - (Optional) The accounts whose notes we can access in this call. Currently optional and will
192
- * default to all.
193
- * @returns The result of the utility function call, structured based on the function ABI.
194
345
  */
195
- simulateUtility(call: FunctionCall, authwits?: AuthWitness[], scopes?: AztecAddress[]): Promise<UtilitySimulationResult>;
346
+ executeUtility(call: FunctionCall, { authwits, scopes }?: ExecuteUtilityOpts): Promise<UtilityExecutionResult>;
196
347
  /**
197
348
  * Returns the private events given search parameters.
198
349
  * @param eventSelector - Event selector to search for.
@@ -208,8 +359,8 @@ export declare class PXE {
208
359
  */
209
360
  getPrivateEvents(eventSelector: EventSelector, filter: PrivateEventFilter): Promise<PackedPrivateEvent[]>;
210
361
  /**
211
- * Stops the PXE's job queue.
362
+ * Stops the PXE's job queue and closes the backing store.
212
363
  */
213
364
  stop(): Promise<void>;
214
365
  }
215
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHhlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcHhlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFakUsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BELE9BQU8sRUFBRSxLQUFLLE1BQU0sRUFBcUMsTUFBTSx1QkFBdUIsQ0FBQztBQUl2RixPQUFPLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXpELE9BQU8sRUFBRSxLQUFLLHlCQUF5QixFQUF5QixNQUFNLDJCQUEyQixDQUFDO0FBQ2xHLE9BQU8sS0FBSyxFQUFFLGdCQUFnQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDaEUsT0FBTyxFQUNMLEtBQUssZ0JBQWdCLEVBQ3JCLGFBQWEsRUFDYixZQUFZLEVBR2IsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQUFPLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM5RCxPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNoRSxPQUFPLEVBQ0wsZUFBZSxFQUNmLEtBQUssMkJBQTJCLEVBQ2hDLEtBQUssY0FBYyxFQUdwQixNQUFNLHdCQUF3QixDQUFDO0FBRWhDLE9BQU8sS0FBSyxFQUFFLFNBQVMsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBTXRGLE9BQ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