@aztec/pxe 3.0.0-devnet.2 → 3.0.0-devnet.2-patch.1

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 (193) hide show
  1. package/dest/bin/check_oracle_version.d.ts +1 -1
  2. package/dest/bin/check_oracle_version.js +105 -15
  3. package/dest/config/index.d.ts +2 -10
  4. package/dest/config/index.d.ts.map +1 -1
  5. package/dest/config/index.js +7 -13
  6. package/dest/config/package_info.d.ts +1 -1
  7. package/dest/contract_function_simulator/contract_function_simulator.d.ts +6 -6
  8. package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -1
  9. package/dest/contract_function_simulator/contract_function_simulator.js +15 -16
  10. package/dest/contract_function_simulator/execution_data_provider.d.ts +13 -19
  11. package/dest/contract_function_simulator/execution_data_provider.d.ts.map +1 -1
  12. package/dest/contract_function_simulator/execution_note_cache.d.ts +9 -7
  13. package/dest/contract_function_simulator/execution_note_cache.d.ts.map +1 -1
  14. package/dest/contract_function_simulator/execution_note_cache.js +21 -13
  15. package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts +1 -1
  16. package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts.map +1 -1
  17. package/dest/contract_function_simulator/hashed_values_cache.d.ts +2 -2
  18. package/dest/contract_function_simulator/hashed_values_cache.d.ts.map +1 -1
  19. package/dest/contract_function_simulator/index.d.ts +1 -1
  20. package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts +2 -2
  21. package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts.map +1 -1
  22. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts +2 -2
  23. package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts.map +1 -1
  24. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts +3 -3
  25. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts.map +1 -1
  26. package/dest/contract_function_simulator/noir-structs/log_retrieval_response.js +1 -1
  27. package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts +6 -4
  28. package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts.map +1 -1
  29. package/dest/contract_function_simulator/noir-structs/note_validation_request.js +12 -3
  30. package/dest/contract_function_simulator/noir-structs/utility_context.d.ts +2 -2
  31. package/dest/contract_function_simulator/noir-structs/utility_context.d.ts.map +1 -1
  32. package/dest/contract_function_simulator/noir-structs/utility_context.js +1 -1
  33. package/dest/contract_function_simulator/oracle/index.d.ts +1 -1
  34. package/dest/contract_function_simulator/oracle/interfaces.d.ts +17 -10
  35. package/dest/contract_function_simulator/oracle/interfaces.d.ts.map +1 -1
  36. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts +2 -4
  37. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts.map +1 -1
  38. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.js +1 -1
  39. package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts +10 -4
  40. package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts.map +1 -1
  41. package/dest/contract_function_simulator/oracle/note_packing_utils.js +10 -5
  42. package/dest/contract_function_simulator/oracle/oracle.d.ts +5 -4
  43. package/dest/contract_function_simulator/oracle/oracle.d.ts.map +1 -1
  44. package/dest/contract_function_simulator/oracle/oracle.js +31 -14
  45. package/dest/contract_function_simulator/oracle/private_execution.d.ts +4 -3
  46. package/dest/contract_function_simulator/oracle/private_execution.d.ts.map +1 -1
  47. package/dest/contract_function_simulator/oracle/private_execution.js +1 -1
  48. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +8 -12
  49. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -1
  50. package/dest/contract_function_simulator/oracle/private_execution_oracle.js +20 -7
  51. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +13 -11
  52. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -1
  53. package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +5 -4
  54. package/dest/contract_function_simulator/pick_notes.d.ts +2 -2
  55. package/dest/contract_function_simulator/pick_notes.d.ts.map +1 -1
  56. package/dest/contract_function_simulator/pick_notes.js +1 -1
  57. package/dest/contract_function_simulator/proxied_contract_data_source.d.ts +1 -1
  58. package/dest/contract_function_simulator/proxied_contract_data_source.d.ts.map +1 -1
  59. package/dest/contract_function_simulator/proxied_node.d.ts +1 -1
  60. package/dest/contract_function_simulator/proxied_node.d.ts.map +1 -1
  61. package/dest/contract_function_simulator/pxe_oracle_interface.d.ts +15 -13
  62. package/dest/contract_function_simulator/pxe_oracle_interface.d.ts.map +1 -1
  63. package/dest/contract_function_simulator/pxe_oracle_interface.js +50 -25
  64. package/dest/entrypoints/client/bundle/index.d.ts +1 -1
  65. package/dest/entrypoints/client/bundle/utils.d.ts +1 -1
  66. package/dest/entrypoints/client/bundle/utils.d.ts.map +1 -1
  67. package/dest/entrypoints/client/bundle/utils.js +13 -4
  68. package/dest/entrypoints/client/lazy/index.d.ts +1 -1
  69. package/dest/entrypoints/client/lazy/utils.d.ts +1 -1
  70. package/dest/entrypoints/client/lazy/utils.d.ts.map +1 -1
  71. package/dest/entrypoints/client/lazy/utils.js +13 -4
  72. package/dest/entrypoints/pxe_creation_options.d.ts +5 -2
  73. package/dest/entrypoints/pxe_creation_options.d.ts.map +1 -1
  74. package/dest/entrypoints/server/index.d.ts +1 -1
  75. package/dest/entrypoints/server/utils.d.ts +1 -1
  76. package/dest/entrypoints/server/utils.d.ts.map +1 -1
  77. package/dest/entrypoints/server/utils.js +13 -20
  78. package/dest/error_enriching.d.ts +1 -1
  79. package/dest/events/index.d.ts +2 -0
  80. package/dest/events/index.d.ts.map +1 -0
  81. package/dest/events/index.js +1 -0
  82. package/dest/events/private_event_filter_validator.d.ts +8 -0
  83. package/dest/events/private_event_filter_validator.d.ts.map +1 -0
  84. package/dest/events/private_event_filter_validator.js +39 -0
  85. package/dest/oracle_version.d.ts +3 -3
  86. package/dest/oracle_version.js +2 -2
  87. package/dest/private_kernel/hints/build_private_kernel_reset_private_inputs.d.ts +3 -3
  88. package/dest/private_kernel/hints/build_private_kernel_reset_private_inputs.d.ts.map +1 -1
  89. package/dest/private_kernel/hints/build_private_kernel_reset_private_inputs.js +7 -7
  90. package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts +1 -1
  91. package/dest/private_kernel/hints/index.d.ts +1 -1
  92. package/dest/private_kernel/index.d.ts +1 -1
  93. package/dest/private_kernel/private_kernel_execution_prover.d.ts +4 -4
  94. package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -1
  95. package/dest/private_kernel/private_kernel_execution_prover.js +26 -25
  96. package/dest/private_kernel/private_kernel_oracle.d.ts +3 -2
  97. package/dest/private_kernel/private_kernel_oracle.d.ts.map +1 -1
  98. package/dest/private_kernel/private_kernel_oracle_impl.d.ts +6 -5
  99. package/dest/private_kernel/private_kernel_oracle_impl.d.ts.map +1 -1
  100. package/dest/pxe.d.ts +26 -19
  101. package/dest/pxe.d.ts.map +1 -1
  102. package/dest/pxe.js +35 -50
  103. package/dest/storage/address_data_provider/address_data_provider.d.ts +1 -1
  104. package/dest/storage/address_data_provider/address_data_provider.d.ts.map +1 -1
  105. package/dest/storage/address_data_provider/index.d.ts +1 -1
  106. package/dest/storage/capsule_data_provider/capsule_data_provider.d.ts +2 -2
  107. package/dest/storage/capsule_data_provider/capsule_data_provider.d.ts.map +1 -1
  108. package/dest/storage/capsule_data_provider/capsule_data_provider.js +1 -1
  109. package/dest/storage/capsule_data_provider/index.d.ts +1 -1
  110. package/dest/storage/contract_data_provider/contract_data_provider.d.ts +3 -13
  111. package/dest/storage/contract_data_provider/contract_data_provider.d.ts.map +1 -1
  112. package/dest/storage/contract_data_provider/contract_data_provider.js +0 -12
  113. package/dest/storage/contract_data_provider/index.d.ts +1 -1
  114. package/dest/storage/contract_data_provider/private_functions_tree.d.ts +1 -1
  115. package/dest/storage/contract_data_provider/private_functions_tree.d.ts.map +1 -1
  116. package/dest/storage/contract_data_provider/private_functions_tree.js +1 -1
  117. package/dest/storage/index.d.ts +1 -1
  118. package/dest/storage/metadata.d.ts +1 -1
  119. package/dest/storage/note_data_provider/index.d.ts +2 -2
  120. package/dest/storage/note_data_provider/index.d.ts.map +1 -1
  121. package/dest/storage/note_data_provider/index.js +1 -1
  122. package/dest/storage/note_data_provider/note_data_provider.d.ts +8 -7
  123. package/dest/storage/note_data_provider/note_data_provider.d.ts.map +1 -1
  124. package/dest/storage/note_data_provider/note_data_provider.js +27 -13
  125. package/dest/storage/private_event_data_provider/private_event_data_provider.d.ts +30 -14
  126. package/dest/storage/private_event_data_provider/private_event_data_provider.d.ts.map +1 -1
  127. package/dest/storage/private_event_data_provider/private_event_data_provider.js +47 -25
  128. package/dest/storage/sync_data_provider/index.d.ts +1 -1
  129. package/dest/storage/sync_data_provider/sync_data_provider.d.ts +3 -2
  130. package/dest/storage/sync_data_provider/sync_data_provider.d.ts.map +1 -1
  131. package/dest/storage/tagging_data_provider/index.d.ts +1 -1
  132. package/dest/storage/tagging_data_provider/tagging_data_provider.d.ts +1 -1
  133. package/dest/storage/tagging_data_provider/tagging_data_provider.d.ts.map +1 -1
  134. package/dest/synchronizer/index.d.ts +1 -1
  135. package/dest/synchronizer/synchronizer.d.ts +3 -2
  136. package/dest/synchronizer/synchronizer.d.ts.map +1 -1
  137. package/dest/synchronizer/synchronizer.js +2 -1
  138. package/dest/tagging/constants.d.ts +1 -1
  139. package/dest/tagging/index.d.ts +1 -1
  140. package/dest/tagging/siloed_tag.d.ts +2 -2
  141. package/dest/tagging/siloed_tag.d.ts.map +1 -1
  142. package/dest/tagging/siloed_tag.js +1 -1
  143. package/dest/tagging/tag.d.ts +2 -2
  144. package/dest/tagging/tag.d.ts.map +1 -1
  145. package/dest/tagging/tag.js +1 -1
  146. package/dest/tagging/utils.d.ts +1 -1
  147. package/package.json +20 -19
  148. package/src/bin/check_oracle_version.ts +130 -20
  149. package/src/config/index.ts +8 -23
  150. package/src/contract_function_simulator/contract_function_simulator.ts +23 -18
  151. package/src/contract_function_simulator/execution_data_provider.ts +18 -18
  152. package/src/contract_function_simulator/execution_note_cache.ts +22 -11
  153. package/src/contract_function_simulator/hashed_values_cache.ts +1 -1
  154. package/src/contract_function_simulator/noir-structs/event_validation_request.ts +1 -1
  155. package/src/contract_function_simulator/noir-structs/log_retrieval_request.ts +1 -1
  156. package/src/contract_function_simulator/noir-structs/log_retrieval_response.ts +2 -2
  157. package/src/contract_function_simulator/noir-structs/note_validation_request.ts +14 -2
  158. package/src/contract_function_simulator/noir-structs/utility_context.ts +1 -1
  159. package/src/contract_function_simulator/oracle/interfaces.ts +24 -8
  160. package/src/contract_function_simulator/oracle/message_load_oracle_inputs.ts +1 -1
  161. package/src/contract_function_simulator/oracle/note_packing_utils.ts +21 -5
  162. package/src/contract_function_simulator/oracle/oracle.ts +40 -10
  163. package/src/contract_function_simulator/oracle/private_execution.ts +3 -2
  164. package/src/contract_function_simulator/oracle/private_execution_oracle.ts +17 -4
  165. package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +22 -9
  166. package/src/contract_function_simulator/pick_notes.ts +1 -1
  167. package/src/contract_function_simulator/pxe_oracle_interface.ts +98 -59
  168. package/src/entrypoints/client/bundle/utils.ts +10 -4
  169. package/src/entrypoints/client/lazy/utils.ts +10 -5
  170. package/src/entrypoints/pxe_creation_options.ts +4 -1
  171. package/src/entrypoints/server/utils.ts +13 -31
  172. package/src/events/index.ts +1 -0
  173. package/src/events/private_event_filter_validator.ts +47 -0
  174. package/src/oracle_version.ts +2 -2
  175. package/src/private_kernel/hints/build_private_kernel_reset_private_inputs.ts +5 -9
  176. package/src/private_kernel/private_kernel_execution_prover.ts +27 -31
  177. package/src/private_kernel/private_kernel_oracle.ts +2 -1
  178. package/src/private_kernel/private_kernel_oracle_impl.ts +4 -3
  179. package/src/pxe.ts +50 -75
  180. package/src/storage/capsule_data_provider/capsule_data_provider.ts +1 -1
  181. package/src/storage/contract_data_provider/contract_data_provider.ts +1 -18
  182. package/src/storage/contract_data_provider/private_functions_tree.ts +1 -1
  183. package/src/storage/note_data_provider/index.ts +1 -1
  184. package/src/storage/note_data_provider/note_data_provider.ts +34 -15
  185. package/src/storage/private_event_data_provider/private_event_data_provider.ts +69 -35
  186. package/src/storage/sync_data_provider/sync_data_provider.ts +2 -1
  187. package/src/synchronizer/synchronizer.ts +2 -1
  188. package/src/tagging/siloed_tag.ts +2 -2
  189. package/src/tagging/tag.ts +2 -2
  190. package/dest/storage/note_data_provider/note_dao.d.ts +0 -100
  191. package/dest/storage/note_data_provider/note_dao.d.ts.map +0 -1
  192. package/dest/storage/note_data_provider/note_dao.js +0 -102
  193. package/src/storage/note_data_provider/note_dao.ts +0 -154
@@ -1,12 +1,15 @@
1
- import { Fr } from '@aztec/foundation/fields';
1
+ import { BlockNumber } from '@aztec/foundation/branded-types';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
2
3
  import { createLogger } from '@aztec/foundation/log';
3
4
  import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
5
+ import { L2BlockHash } from '@aztec/stdlib/block';
6
+ import { TxHash } from '@aztec/stdlib/tx';
4
7
  /**
5
8
  * Stores decrypted private event logs.
6
9
  */ export class PrivateEventDataProvider {
7
10
  #store;
8
11
  /** Array storing the actual private event log entries containing the log content and block number */ #eventLogs;
9
- /** Map from contract_address_recipient_eventSelector to array of indices into #eventLogs for efficient lookup */ #eventLogIndex;
12
+ /** Map from contract_address_scope_eventSelector to array of indices into #eventLogs for efficient lookup */ #eventLogIndex;
10
13
  /** Map from eventCommitmentIndex to boolean indicating if log has been seen. */ #seenLogs;
11
14
  logger = createLogger('private_event_data_provider');
12
15
  constructor(store){
@@ -15,18 +18,23 @@ import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
15
18
  this.#eventLogIndex = this.#store.openMap('private_event_log_index');
16
19
  this.#seenLogs = this.#store.openMap('seen_logs');
17
20
  }
21
+ #keyFor(contractAddress, scope, eventSelector) {
22
+ return `${contractAddress.toString()}_${scope.toString()}_${eventSelector.toString()}`;
23
+ }
18
24
  /**
19
25
  * Store a private event log.
20
- * @param contractAddress - The address of the contract that emitted the event.
21
- * @param recipient - The recipient of the event.
22
26
  * @param eventSelector - The event selector of the event.
23
27
  * @param msgContent - The content of the event.
24
- * @param txHash - The transaction hash of the event log.
25
28
  * @param eventCommitmentIndex - The index of the event commitment in the nullifier tree.
26
- * @param blockNumber - The block number in which the event was emitted.
27
- */ storePrivateEventLog(contractAddress, recipient, eventSelector, msgContent, txHash, eventCommitmentIndex, blockNumber) {
29
+ * @param metadata
30
+ * contractAddress - The address of the contract that emitted the event.
31
+ * scope - The address to which the event is scoped.
32
+ * txHash - The transaction hash of the event log.
33
+ * blockNumber - The block number in which the event was emitted.
34
+ */ storePrivateEventLog(eventSelector, msgContent, eventCommitmentIndex, metadata) {
35
+ const { contractAddress, scope, txHash, l2BlockNumber, l2BlockHash } = metadata;
28
36
  return this.#store.transactionAsync(async ()=>{
29
- const key = `${contractAddress.toString()}_${recipient.toString()}_${eventSelector.toString()}`;
37
+ const key = this.#keyFor(contractAddress, scope, eventSelector);
30
38
  // Check if this exact log has already been stored using eventCommitmentIndex as unique identifier
31
39
  const hasBeenSeen = await this.#seenLogs.getAsync(eventCommitmentIndex);
32
40
  if (hasBeenSeen) {
@@ -38,15 +46,17 @@ import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
38
46
  }
39
47
  this.logger.verbose('storing private event log', {
40
48
  contractAddress,
41
- recipient,
49
+ scope,
42
50
  msgContent,
43
- blockNumber
51
+ l2BlockNumber
44
52
  });
45
53
  const index = await this.#eventLogs.lengthAsync();
46
54
  await this.#eventLogs.push({
47
55
  msgContent: serializeToBuffer(msgContent),
48
- blockNumber,
49
- eventCommitmentIndex
56
+ l2BlockNumber,
57
+ l2BlockHash: l2BlockHash.toBuffer(),
58
+ eventCommitmentIndex,
59
+ txHash: txHash.toBuffer()
50
60
  });
51
61
  const existingIndices = await this.#eventLogIndex.getAsync(key) || [];
52
62
  await this.#eventLogIndex.set(key, [
@@ -59,35 +69,47 @@ import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
59
69
  }
60
70
  /**
61
71
  * Returns the private events given search parameters.
62
- * @param contractAddress - The address of the contract to get events from.
63
- * @param from - The block number to search from.
64
- * @param numBlocks - The amount of blocks to search.
65
- * @param recipients - The addresses that decrypted the logs.
66
72
  * @param eventSelector - The event selector to filter by.
67
- * @returns - The event log contents.
68
- */ async getPrivateEvents(contractAddress, from, numBlocks, recipients, eventSelector) {
73
+ * @param filter - Filtering criteria:
74
+ * contractAddress: The address of the contract to get events from.
75
+ * fromBlock: The block number to search from (inclusive).
76
+ * toBlock: The block number to search upto (exclusive).
77
+ * scope: - The addresses that decrypted the logs.
78
+ * @returns - The event log contents, augmented with metadata about
79
+ * the transaction and block it the event was included in .
80
+ */ async getPrivateEvents(eventSelector, filter) {
69
81
  const events = [];
70
- for (const recipient of recipients){
71
- const key = `${contractAddress.toString()}_${recipient.toString()}_${eventSelector.toString()}`;
82
+ for (const scope of filter.scopes){
83
+ const key = this.#keyFor(filter.contractAddress, scope, eventSelector);
72
84
  const indices = await this.#eventLogIndex.getAsync(key) || [];
73
85
  for (const index of indices){
74
86
  const entry = await this.#eventLogs.atAsync(index);
75
- if (!entry || entry.blockNumber < from || entry.blockNumber >= from + numBlocks) {
87
+ if (!entry || entry.l2BlockNumber < filter.fromBlock || entry.l2BlockNumber >= filter.toBlock) {
76
88
  continue;
77
89
  }
78
90
  // Convert buffer back to Fr array
79
91
  const reader = BufferReader.asReader(entry.msgContent);
80
92
  const numFields = entry.msgContent.length / Fr.SIZE_IN_BYTES;
81
93
  const msgContent = reader.readArray(numFields, Fr);
94
+ const txHash = TxHash.fromBuffer(entry.txHash);
95
+ const l2BlockHash = L2BlockHash.fromBuffer(entry.l2BlockHash);
96
+ if (filter.txHash && !txHash.equals(filter.txHash)) {
97
+ continue;
98
+ }
82
99
  events.push({
83
- msgContent,
84
- blockNumber: entry.blockNumber,
85
- eventCommitmentIndex: entry.eventCommitmentIndex
100
+ eventCommitmentIndex: entry.eventCommitmentIndex,
101
+ event: {
102
+ packedEvent: msgContent,
103
+ l2BlockNumber: BlockNumber(entry.l2BlockNumber),
104
+ txHash,
105
+ l2BlockHash,
106
+ eventSelector
107
+ }
86
108
  });
87
109
  }
88
110
  }
89
111
  // Sort by eventCommitmentIndex only
90
112
  events.sort((a, b)=>a.eventCommitmentIndex - b.eventCommitmentIndex);
91
- return events.map((e)=>e.msgContent);
113
+ return events.map((ev)=>ev.event);
92
114
  }
93
115
  }
@@ -1,2 +1,2 @@
1
1
  export { SyncDataProvider } from './sync_data_provider.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zdG9yYWdlL3N5bmNfZGF0YV9wcm92aWRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQyJ9
@@ -1,10 +1,11 @@
1
+ import type { BlockNumber } from '@aztec/foundation/branded-types';
1
2
  import type { AztecAsyncKVStore } from '@aztec/kv-store';
2
3
  import { BlockHeader } from '@aztec/stdlib/tx';
3
4
  export declare class SyncDataProvider {
4
5
  #private;
5
6
  constructor(store: AztecAsyncKVStore);
6
7
  setHeader(header: BlockHeader): Promise<void>;
7
- getBlockNumber(): Promise<number>;
8
+ getBlockNumber(): Promise<BlockNumber>;
8
9
  getBlockHeader(): Promise<BlockHeader>;
9
10
  }
10
- //# sourceMappingURL=sync_data_provider.d.ts.map
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY19kYXRhX3Byb3ZpZGVyLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3RvcmFnZS9zeW5jX2RhdGFfcHJvdmlkZXIvc3luY19kYXRhX3Byb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLFdBQVcsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ25FLE9BQU8sS0FBSyxFQUFFLGlCQUFpQixFQUF1QixNQUFNLGlCQUFpQixDQUFDO0FBQzlFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUUvQyxxQkFBYSxnQkFBZ0I7O0lBSTNCLFlBQVksS0FBSyxFQUFFLGlCQUFpQixFQUduQztJQUVLLFNBQVMsQ0FBQyxNQUFNLEVBQUUsV0FBVyxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FFbEQ7SUFFSyxjQUFjLElBQUksT0FBTyxDQUFDLFdBQVcsQ0FBQyxDQU8zQztJQUVLLGNBQWMsSUFBSSxPQUFPLENBQUMsV0FBVyxDQUFDLENBTzNDO0NBQ0YifQ==
@@ -1 +1 @@
1
- {"version":3,"file":"sync_data_provider.d.ts","sourceRoot":"","sources":["../../../src/storage/sync_data_provider/sync_data_provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,gBAAgB;;gBAIf,KAAK,EAAE,iBAAiB;IAK9B,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7C,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IASjC,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC;CAQ7C"}
1
+ {"version":3,"file":"sync_data_provider.d.ts","sourceRoot":"","sources":["../../../src/storage/sync_data_provider/sync_data_provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,qBAAa,gBAAgB;;IAI3B,YAAY,KAAK,EAAE,iBAAiB,EAGnC;IAEK,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAElD;IAEK,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC,CAO3C;IAEK,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC,CAO3C;CACF"}
@@ -1,2 +1,2 @@
1
1
  export { TaggingDataProvider } from './tagging_data_provider.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zdG9yYWdlL3RhZ2dpbmdfZGF0YV9wcm92aWRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQyJ9
@@ -37,4 +37,4 @@ export declare class TaggingDataProvider {
37
37
  removeSenderAddress(address: AztecAddress): Promise<boolean>;
38
38
  getSize(): Promise<number>;
39
39
  }
40
- //# sourceMappingURL=tagging_data_provider.d.ts.map
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnZ2luZ19kYXRhX3Byb3ZpZGVyLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc3RvcmFnZS90YWdnaW5nX2RhdGFfcHJvdmlkZXIvdGFnZ2luZ19kYXRhX3Byb3ZpZGVyLnRzIl0sIm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1
- {"version":3,"file":"tagging_data_provider.d.ts","sourceRoot":"","sources":["../../../src/storage/tagging_data_provider/tagging_data_provider.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAiB,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE9E,qBAAa,mBAAmB;;gBASlB,KAAK,EAAE,iBAAiB;IASpC;;;;;OAKG;IACH,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE;IAQ5C;;;;;OAKG;IACH,6BAA6B,CAAC,OAAO,EAAE,MAAM,EAAE;IAmB/C;;;;OAIG;IACG,0BAA0B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAIlG;;;;;OAKG;IACH,6BAA6B,CAAC,OAAO,EAAE,2BAA2B,EAAE,GAAG,OAAO,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;IAItG,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAS5B,gBAAgB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;IAUzD,kBAAkB,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAI7C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;IAU5D,OAAO;CAKd"}
1
+ {"version":3,"file":"tagging_data_provider.d.ts","sourceRoot":"","sources":["../../../src/storage/tagging_data_provider/tagging_data_provider.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAiB,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE9E,qBAAa,mBAAmB;;IAS9B,YAAY,KAAK,EAAE,iBAAiB,EAOnC;IAED;;;;;OAKG;IACH,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,mBAM3C;IAED;;;;;OAKG;IACH,6BAA6B,CAAC,OAAO,EAAE,MAAM,EAAE,mBAM9C;IAaD;;;;OAIG;IACG,0BAA0B,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAEjG;IAED;;;;;OAKG;IACH,6BAA6B,CAAC,OAAO,EAAE,2BAA2B,EAAE,GAAG,OAAO,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC,CAErG;IAED,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAOjC;IAEK,gBAAgB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,CAQ9D;IAEK,kBAAkB,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC,CAElD;IAEK,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,CAQjE;IAEK,OAAO,oBAIZ;CACF"}
@@ -1,2 +1,2 @@
1
1
  export * from './synchronizer.js';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zeW5jaHJvbml6ZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQyJ9
@@ -1,3 +1,4 @@
1
+ import { BlockNumber } from '@aztec/foundation/branded-types';
1
2
  import { type Logger } from '@aztec/foundation/log';
2
3
  import type { L2TipsKVStore } from '@aztec/kv-store/stores';
3
4
  import { L2BlockStream, type L2BlockStreamEvent, type L2BlockStreamEventHandler } from '@aztec/stdlib/block';
@@ -30,6 +31,6 @@ export declare class Synchronizer implements L2BlockStreamEventHandler {
30
31
  */
31
32
  sync(): Promise<void>;
32
33
  private doSync;
33
- getSynchedBlockNumber(): Promise<number>;
34
+ getSynchedBlockNumber(): Promise<BlockNumber>;
34
35
  }
35
- //# sourceMappingURL=synchronizer.d.ts.map
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2hyb25pemVyLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc3luY2hyb25pemVyL3N5bmNocm9uaXplci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDOUQsT0FBTyxFQUFFLEtBQUssTUFBTSxFQUFnQixNQUFNLHVCQUF1QixDQUFDO0FBQ2xFLE9BQU8sS0FBSyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSxhQUFhLEVBQUUsS0FBSyxrQkFBa0IsRUFBRSxLQUFLLHlCQUF5QixFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDN0csT0FBTyxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFFakUsT0FBTyxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxREFBcUQsQ0FBQztBQUM1RixPQUFPLEtBQUssRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQzVGLE9BQU8sS0FBSyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMkRBQTJELENBQUM7QUFFckc7Ozs7R0FJRztBQUNILHFCQUFhLFlBQWEsWUFBVyx5QkFBeUI7SUFNMUQsT0FBTyxDQUFDLElBQUk7SUFDW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,CAAC,CAAC,iBAO/E;IAED,iDAAiD;IACpC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgC5E;IAED;;;OAGG;IACU,IAAI,kBAehB;YAEa,MAAM;IAeb,qBAAqB,yBAE3B;CACF"}
@@ -1,3 +1,4 @@
1
+ import { BlockNumber } from '@aztec/foundation/branded-types';
1
2
  import { createLogger } from '@aztec/foundation/log';
2
3
  import { L2BlockStream } from '@aztec/stdlib/block';
3
4
  /**
@@ -91,7 +92,7 @@ import { L2BlockStream } from '@aztec/stdlib/block';
91
92
  }
92
93
  if (!currentHeader) {
93
94
  // REFACTOR: We should know the header of the genesis block without having to request it from the node.
94
- await this.syncDataProvider.setHeader(await this.node.getBlockHeader(0));
95
+ await this.syncDataProvider.setHeader(await this.node.getBlockHeader(BlockNumber.ZERO));
95
96
  }
96
97
  await this.blockStream.sync();
97
98
  }
@@ -1,2 +1,2 @@
1
1
  export declare const WINDOW_HALF_SIZE = 10;
2
- //# sourceMappingURL=constants.d.ts.map
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdGFnZ2luZy9jb25zdGFudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsZUFBTyxNQUFNLGdCQUFnQixLQUFLLENBQUMifQ==
@@ -4,4 +4,4 @@ export * from './siloed_tag.js';
4
4
  export * from './utils.js';
5
5
  export { DirectionalAppTaggingSecret } from '@aztec/stdlib/logs';
6
6
  export { type PreTag } from '@aztec/stdlib/logs';
7
- //# sourceMappingURL=index.d.ts.map
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90YWdnaW5nL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFlBQVksQ0FBQztBQUMzQixPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsS0FBSyxNQUFNLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQyJ9
@@ -1,4 +1,4 @@
1
- import type { Fr } from '@aztec/foundation/fields';
1
+ import type { Fr } from '@aztec/foundation/curves/bn254';
2
2
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
3
3
  import type { Tag } from './tag.js';
4
4
  /**
@@ -11,4 +11,4 @@ export declare class SiloedTag {
11
11
  static compute(tag: Tag, app: AztecAddress): Promise<SiloedTag>;
12
12
  toString(): string;
13
13
  }
14
- //# sourceMappingURL=siloed_tag.d.ts.map
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lsb2VkX3RhZy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3RhZ2dpbmcvc2lsb2VkX3RhZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEtBQUssRUFBRSxFQUFFLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN6RCxPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUVoRSxPQUFPLEtBQUssRUFBRSxHQUFHLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFFcEM7OztHQUdHO0FBQ0gscUJBQWEsU0FBUzthQUNnQixLQUFLLEVBQUUsRUFBRTtJQUE3QyxPQUFPLGVBQTBDO0lBRWpELE9BQWEsT0FBTyxDQUFDLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLFlBQVksR0FBRyxPQUFPLENBQUMsU0FBUyxDQUFDLENBR3BFO0lBRUQsUUFBUSxJQUFJLE1BQU0sQ0FFakI7Q0FDRiJ9
@@ -1 +1 @@
1
- {"version":3,"file":"siloed_tag.d.ts","sourceRoot":"","sources":["../../src/tagging/siloed_tag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC;;;GAGG;AACH,qBAAa,SAAS;aACgB,KAAK,EAAE,EAAE;IAA7C,OAAO;WAEM,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC;IAKrE,QAAQ,IAAI,MAAM;CAGnB"}
1
+ {"version":3,"file":"siloed_tag.d.ts","sourceRoot":"","sources":["../../src/tagging/siloed_tag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC;;;GAGG;AACH,qBAAa,SAAS;aACgB,KAAK,EAAE,EAAE;IAA7C,OAAO,eAA0C;IAEjD,OAAa,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,CAGpE;IAED,QAAQ,IAAI,MAAM,CAEjB;CACF"}
@@ -1,4 +1,4 @@
1
- import { poseidon2Hash } from '@aztec/foundation/crypto';
1
+ import { poseidon2Hash } from '@aztec/foundation/crypto/poseidon';
2
2
  /**
3
3
  * Represents a tag used in private log as it "appears on the chain" - that is the tag is siloed with a contract
4
4
  * address that emitted the log.
@@ -1,4 +1,4 @@
1
- import type { Fr } from '@aztec/foundation/fields';
1
+ import type { Fr } from '@aztec/foundation/curves/bn254';
2
2
  import type { PreTag } from '@aztec/stdlib/logs';
3
3
  /**
4
4
  * Represents a tag of a private log. This is not the tag that "appears" on the chain as this tag is first siloed
@@ -9,4 +9,4 @@ export declare class Tag {
9
9
  private constructor();
10
10
  static compute(preTag: PreTag): Promise<Tag>;
11
11
  }
12
- //# sourceMappingURL=tag.d.ts.map
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdGFnZ2luZy90YWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxLQUFLLEVBQUUsRUFBRSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDekQsT0FBTyxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFakQ7OztHQUdHO0FBQ0gscUJBQWEsR0FBRzthQUNzQixLQUFLLEVBQUUsRUFBRTtJQUE3QyxPQUFPLGVBQTBDO0lBRWpELE9BQWEsT0FBTyxDQUFDLE1BQU0sRUFBRSxNQUFNLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUdqRDtDQUNGIn0=
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../src/tagging/tag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;GAGG;AACH,qBAAa,GAAG;aACsB,KAAK,EAAE,EAAE;IAA7C,OAAO;WAEM,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAInD"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../src/tagging/tag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;GAGG;AACH,qBAAa,GAAG;aACsB,KAAK,EAAE,EAAE;IAA7C,OAAO,eAA0C;IAEjD,OAAa,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAGjD;CACF"}
@@ -1,4 +1,4 @@
1
- import { poseidon2Hash } from '@aztec/foundation/crypto';
1
+ import { poseidon2Hash } from '@aztec/foundation/crypto/poseidon';
2
2
  /**
3
3
  * Represents a tag of a private log. This is not the tag that "appears" on the chain as this tag is first siloed
4
4
  * with a contract address by kernels before being included in the final log.
@@ -15,4 +15,4 @@ export declare function getInitialIndexesMap(preTags: {
15
15
  }[]): {
16
16
  [k: string]: number;
17
17
  };
18
- //# sourceMappingURL=utils.d.ts.map
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90YWdnaW5nL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRzlFLHdCQUFnQixzQkFBc0IsQ0FDcEMsaUJBQWlCLEVBQUU7SUFBRSxNQUFNLEVBQUUsMkJBQTJCLENBQUM7SUFBQyxhQUFhLEVBQUUsTUFBTSxDQUFDO0lBQUMsY0FBYyxFQUFFLE1BQU0sQ0FBQTtDQUFFLEVBQUUsR0FDMUcsTUFBTSxFQUFFLENBUVY7QUFFRDs7OztHQUlHO0FBQ0gsd0JBQWdCLG9CQUFvQixDQUFDLE9BQU8sRUFBRTtJQUFFLE1BQU0sRUFBRSwyQkFBMkIsQ0FBQztJQUFDLEtBQUssRUFBRSxNQUFNLEdBQUcsU0FBUyxDQUFBO0NBQUUsRUFBRSxHQUFHO0lBQ25ILENBQUMsQ0FBQyxFQUFFLE1BQU0sR0FBRyxNQUFNLENBQUM7Q0FDckIsQ0FRQSJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/pxe",
3
- "version": "3.0.0-devnet.2",
3
+ "version": "3.0.0-devnet.2-patch.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./server": "./dest/entrypoints/server/index.js",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "bin": "./dest/bin/index.js",
13
13
  "scripts": {
14
- "build": "yarn clean && yarn generate && tsc -b",
15
- "build:dev": "tsc -b --watch",
14
+ "build": "yarn clean && yarn generate && tsgo -b",
15
+ "build:dev": "../scripts/tsc.sh --watch",
16
16
  "clean": "rm -rf ./dest .tsbuildinfo ./src/config/package_info.ts",
17
17
  "test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --maxWorkers=${JEST_MAX_WORKERS:-8}",
18
18
  "generate": "node ./scripts/generate_package_info.js",
@@ -61,34 +61,35 @@
61
61
  ]
62
62
  },
63
63
  "dependencies": {
64
- "@aztec/bb-prover": "3.0.0-devnet.2",
65
- "@aztec/bb.js": "3.0.0-devnet.2",
66
- "@aztec/builder": "3.0.0-devnet.2",
67
- "@aztec/constants": "3.0.0-devnet.2",
68
- "@aztec/ethereum": "3.0.0-devnet.2",
69
- "@aztec/foundation": "3.0.0-devnet.2",
70
- "@aztec/key-store": "3.0.0-devnet.2",
71
- "@aztec/kv-store": "3.0.0-devnet.2",
72
- "@aztec/noir-protocol-circuits-types": "3.0.0-devnet.2",
73
- "@aztec/noir-types": "3.0.0-devnet.2",
74
- "@aztec/protocol-contracts": "3.0.0-devnet.2",
75
- "@aztec/simulator": "3.0.0-devnet.2",
76
- "@aztec/stdlib": "3.0.0-devnet.2",
64
+ "@aztec/bb-prover": "3.0.0-devnet.2-patch.1",
65
+ "@aztec/bb.js": "3.0.0-devnet.2-patch.1",
66
+ "@aztec/builder": "3.0.0-devnet.2-patch.1",
67
+ "@aztec/constants": "3.0.0-devnet.2-patch.1",
68
+ "@aztec/ethereum": "3.0.0-devnet.2-patch.1",
69
+ "@aztec/foundation": "3.0.0-devnet.2-patch.1",
70
+ "@aztec/key-store": "3.0.0-devnet.2-patch.1",
71
+ "@aztec/kv-store": "3.0.0-devnet.2-patch.1",
72
+ "@aztec/noir-protocol-circuits-types": "3.0.0-devnet.2-patch.1",
73
+ "@aztec/noir-types": "3.0.0-devnet.2-patch.1",
74
+ "@aztec/protocol-contracts": "3.0.0-devnet.2-patch.1",
75
+ "@aztec/simulator": "3.0.0-devnet.2-patch.1",
76
+ "@aztec/stdlib": "3.0.0-devnet.2-patch.1",
77
77
  "koa": "^2.16.1",
78
78
  "koa-router": "^13.1.1",
79
79
  "lodash.omit": "^4.5.0",
80
80
  "sha3": "^2.1.4",
81
81
  "tslib": "^2.4.0",
82
- "viem": "npm:@spalladino/viem@2.38.2-eip7594.0"
82
+ "viem": "npm:@aztec/viem@2.38.2"
83
83
  },
84
84
  "devDependencies": {
85
- "@aztec/merkle-tree": "3.0.0-devnet.2",
86
- "@aztec/noir-test-contracts.js": "3.0.0-devnet.2",
85
+ "@aztec/merkle-tree": "3.0.0-devnet.2-patch.1",
86
+ "@aztec/noir-test-contracts.js": "3.0.0-devnet.2-patch.1",
87
87
  "@jest/globals": "^30.0.0",
88
88
  "@types/jest": "^30.0.0",
89
89
  "@types/lodash.omit": "^4.5.7",
90
90
  "@types/lodash.times": "^4.3.9",
91
91
  "@types/node": "^22.15.17",
92
+ "@typescript/native-preview": "7.0.0-dev.20251126.1",
92
93
  "jest": "^30.0.0",
93
94
  "jest-mock-extended": "^4.0.0",
94
95
  "lodash.times": "^4.3.2",
@@ -1,6 +1,10 @@
1
- import { keccak256String } from '@aztec/foundation/crypto';
1
+ import { keccak256String } from '@aztec/foundation/crypto/keccak';
2
+
3
+ import { readFileSync } from 'fs';
4
+ import { dirname, join } from 'path';
5
+ import ts from 'typescript';
6
+ import { fileURLToPath } from 'url';
2
7
 
3
- import { Oracle } from '../contract_function_simulator/oracle/oracle.js';
4
8
  import { ORACLE_INTERFACE_HASH } from '../oracle_version.js';
5
9
 
6
10
  /**
@@ -16,6 +20,22 @@ import { ORACLE_INTERFACE_HASH } from '../oracle_version.js';
16
20
  * oracle interface like we do in PXE (i.e., there is no single Oracle class that contains only the oracles).
17
21
  */
18
22
  function assertOracleInterfaceMatches(): void {
23
+ const oracleInterfaceSignature = getOracleInterfaceSignature();
24
+
25
+ // We use keccak256 here just because we already have it in the dependencies.
26
+ const oracleInterfaceHash = keccak256String(oracleInterfaceSignature);
27
+ if (oracleInterfaceHash !== ORACLE_INTERFACE_HASH) {
28
+ // This check exists only to notify you when you need to update the ORACLE_VERSION constant.
29
+ throw new Error(
30
+ `The Oracle interface has changed, which implies a breaking change in the aztec.nr/PXE oracle interface. Update ORACLE_INTERFACE_HASH to ${oracleInterfaceHash} and bump ORACLE_VERSION in pxe/src/oracle_version.ts.`,
31
+ );
32
+ }
33
+ }
34
+
35
+ /**
36
+ * Constructs a signature of the Oracle interface while ignoring methods that are not foreign call handlers.
37
+ */
38
+ function getOracleInterfaceSignature(): string {
19
39
  const excludedProps = [
20
40
  'handler',
21
41
  'constructor',
@@ -25,26 +45,116 @@ function assertOracleInterfaceMatches(): void {
25
45
  'handlerAsPrivate',
26
46
  ] as const;
27
47
 
28
- // Create a hashable representation of the oracle interface by concatenating its method names. Return values are
29
- // excluded from the hash calculation since they are typically arrays of fields and I didn't manage to reliably
30
- // stringify them.
31
- // TODO(#16581): we're only checking the functions implemented by the Oracle object, which is really an ACVM
32
- // translator, akin to TXE's RPC translator. This is correct in that it is ultimately the foreign interface that
33
- // matters, but incorrect in that it does not take into consideration TXE's extended interface. An improvement would
34
- // be to check RPCTranslator from TXE, though that still seems a bit fragile.
35
- const oracleInterfaceMethodNames = Object.getOwnPropertyNames(Oracle.prototype)
36
- .filter(name => !excludedProps.includes(name as (typeof excludedProps)[number]))
37
- .sort()
38
- .join('');
48
+ // Get the path to Oracle.ts source file
49
+ // The script runs from dest/bin/ after compilation, so we need to go up to the package root
50
+ // then into src/ to find the source file
51
+ const currentDir = dirname(fileURLToPath(import.meta.url));
52
+ // Go up from dest/bin/ or src/bin/ to the package root (pxe/), then into src/
53
+ const packageRoot = dirname(dirname(currentDir)); // Go up from bin/ to pxe/
54
+ const oracleSourcePath = join(packageRoot, 'src/contract_function_simulator/oracle/oracle.ts');
39
55
 
40
- // We use keccak256 here just because we already have it in the dependencies.
41
- const oracleInterfaceHash = keccak256String(oracleInterfaceMethodNames);
42
- if (oracleInterfaceHash !== ORACLE_INTERFACE_HASH) {
43
- // This check exists only to notify you when you need to update the ORACLE_VERSION constant.
44
- throw new Error(
45
- `The Oracle interface has changed, which implies a breaking change in the aztec.nr/PXE oracle interface. Update ORACLE_INTERFACE_HASH to ${oracleInterfaceHash} and bump ORACLE_VERSION in pxe/src/oracle_version.ts.`,
46
- );
56
+ // Read and parse the TypeScript source file
57
+ const sourceCode = readFileSync(oracleSourcePath, 'utf-8');
58
+ const sourceFile = ts.createSourceFile('oracle.ts', sourceCode, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);
59
+
60
+ // Extract method signatures from the Oracle class
61
+ const methodSignatures: string[] = [];
62
+
63
+ function visit(node: ts.Node) {
64
+ // Look for class declaration named "Oracle"
65
+ if (ts.isClassDeclaration(node) && node.name?.text === 'Oracle') {
66
+ // Visit all members of the class
67
+ node.members.forEach(member => {
68
+ if (ts.isMethodDeclaration(member) && member.name && ts.isIdentifier(member.name)) {
69
+ const methodName = member.name.text;
70
+
71
+ // Skip excluded methods
72
+ if (excludedProps.includes(methodName as (typeof excludedProps)[number])) {
73
+ return;
74
+ }
75
+
76
+ // Extract parameter signatures
77
+ const paramSignatures: string[] = [];
78
+ member.parameters.forEach(param => {
79
+ const paramName = extractParameterName(param, sourceFile);
80
+ const paramType = extractTypeString(param.type, sourceFile);
81
+ paramSignatures.push(`${paramName}: ${paramType}`);
82
+ });
83
+
84
+ // Extract return type
85
+ const returnType = extractTypeString(member.type, sourceFile);
86
+
87
+ // Build full signature: methodName(param1: Type1, param2: Type2): ReturnType
88
+ const signature = `${methodName}(${paramSignatures.join(', ')}): ${returnType}`;
89
+ methodSignatures.push(signature);
90
+ }
91
+ });
92
+ }
93
+
94
+ ts.forEachChild(node, visit);
95
+ }
96
+
97
+ visit(sourceFile);
98
+
99
+ // Sort signatures alphabetically for consistent hashing
100
+ methodSignatures.sort();
101
+
102
+ // Create a hashable representation by concatenating all signatures
103
+ return methodSignatures.join('');
104
+ }
105
+
106
+ /**
107
+ * Extracts the parameter name from a parameter node, handling destructured parameters.
108
+ */
109
+ function extractParameterName(param: ts.ParameterDeclaration, sourceFile: ts.SourceFile): string {
110
+ const name = param.name;
111
+
112
+ if (ts.isIdentifier(name)) {
113
+ return name.text;
47
114
  }
115
+
116
+ if (ts.isArrayBindingPattern(name)) {
117
+ // Handle destructured parameters like [blockNumber]: ACVMField[]
118
+ // Extract the first element name
119
+ if (name.elements.length > 0) {
120
+ const element = name.elements[0];
121
+ if (ts.isBindingElement(element)) {
122
+ const elementName = element.name;
123
+ if (ts.isIdentifier(elementName)) {
124
+ return elementName.text;
125
+ }
126
+ // Nested destructuring - use text representation
127
+ if (ts.isArrayBindingPattern(elementName) || ts.isObjectBindingPattern(elementName)) {
128
+ return elementName.getText(sourceFile);
129
+ }
130
+ }
131
+ }
132
+ // Fallback: return the text representation
133
+ return name.getText(sourceFile);
134
+ }
135
+
136
+ if (ts.isObjectBindingPattern(name)) {
137
+ // Handle object destructuring
138
+ return name.getText(sourceFile);
139
+ }
140
+
141
+ // Fallback for any other case - this should never happen but TypeScript needs it
142
+ return (name as ts.Node).getText(sourceFile);
143
+ }
144
+
145
+ /**
146
+ * Extracts the type string from a type node, normalizing whitespace.
147
+ */
148
+ function extractTypeString(typeNode: ts.TypeNode | undefined, sourceFile: ts.SourceFile): string {
149
+ if (!typeNode) {
150
+ return 'void';
151
+ }
152
+
153
+ // Get the type text and normalize whitespace
154
+ let typeText = typeNode.getText(sourceFile);
155
+ // Normalize whitespace: remove extra spaces, newlines, and tabs
156
+ typeText = typeText.replace(/\s+/g, ' ').trim();
157
+ return typeText;
48
158
  }
49
159
 
50
160
  assertOracleInterfaceMatches();
@@ -10,15 +10,6 @@ import { type ChainConfig, chainConfigMappings } from '@aztec/stdlib/config';
10
10
 
11
11
  export { getPackageInfo } from './package_info.js';
12
12
 
13
- /**
14
- * Temporary configuration until WASM can be used instead of native
15
- */
16
- export interface BBProverConfig {
17
- bbWorkingDirectory?: string;
18
- bbBinaryPath?: string;
19
- bbSkipCleanup?: boolean;
20
- }
21
-
22
13
  /**
23
14
  * Configuration settings for the prover factory
24
15
  */
@@ -35,7 +26,7 @@ export interface SynchronizerConfig {
35
26
  l2BlockBatchSize: number;
36
27
  }
37
28
 
38
- export type PXEConfig = KernelProverConfig & BBProverConfig & DataStoreConfig & ChainConfig & SynchronizerConfig;
29
+ export type PXEConfig = KernelProverConfig & DataStoreConfig & ChainConfig & SynchronizerConfig;
39
30
 
40
31
  export type CliPXEOptions = {
41
32
  /** Custom Aztec Node URL to connect to */
@@ -50,19 +41,13 @@ export const pxeConfigMappings: ConfigMappingsType<PXEConfig> = {
50
41
  ...numberConfigHelper(50),
51
42
  description: 'Maximum amount of blocks to pull from the stream in one request when synchronizing',
52
43
  },
53
- bbBinaryPath: {
54
- env: 'BB_BINARY_PATH',
55
- description: 'Path to the BB binary',
56
- },
57
- bbWorkingDirectory: {
58
- env: 'BB_WORKING_DIRECTORY',
59
- description: 'Working directory for the BB binary',
60
- },
61
- bbSkipCleanup: {
62
- env: 'BB_SKIP_CLEANUP',
63
- description: 'True to skip cleanup of temporary files for debugging purposes',
64
- ...booleanConfigHelper(),
65
- },
44
+ // TODO: We're losing this feature in moving to bb.js api.
45
+ // Reimplement it as a setting that dumps the msgpack data on the bb.js backend if needed.
46
+ // bbSkipCleanup: {
47
+ // env: 'BB_SKIP_CLEANUP',
48
+ // description: 'True to skip cleanup of temporary files for debugging purposes',
49
+ // ...booleanConfigHelper(),
50
+ // },
66
51
  proverEnabled: {
67
52
  env: 'PXE_PROVER_ENABLED',
68
53
  description: 'Enable real proofs',