@aztec/pxe 0.87.4 → 0.87.6

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 (99) hide show
  1. package/dest/config/package_info.js +1 -1
  2. package/dest/contract_function_simulator/contract_function_simulator.d.ts +37 -0
  3. package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -0
  4. package/dest/contract_function_simulator/contract_function_simulator.js +117 -0
  5. package/dest/contract_function_simulator/execution_data_provider.d.ts +301 -0
  6. package/dest/contract_function_simulator/execution_data_provider.d.ts.map +1 -0
  7. package/dest/contract_function_simulator/execution_data_provider.js +14 -0
  8. package/dest/contract_function_simulator/execution_note_cache.d.ts +93 -0
  9. package/dest/contract_function_simulator/execution_note_cache.d.ts.map +1 -0
  10. package/dest/contract_function_simulator/execution_note_cache.js +180 -0
  11. package/dest/contract_function_simulator/hashed_values_cache.d.ts +28 -0
  12. package/dest/contract_function_simulator/hashed_values_cache.d.ts.map +1 -0
  13. package/dest/contract_function_simulator/hashed_values_cache.js +36 -0
  14. package/dest/contract_function_simulator/index.d.ts +10 -0
  15. package/dest/contract_function_simulator/index.d.ts.map +1 -0
  16. package/dest/contract_function_simulator/index.js +8 -0
  17. package/dest/contract_function_simulator/oracle/index.d.ts +14 -0
  18. package/dest/contract_function_simulator/oracle/index.d.ts.map +1 -0
  19. package/dest/contract_function_simulator/oracle/index.js +2 -0
  20. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts +19 -0
  21. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts.map +1 -0
  22. package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.js +24 -0
  23. package/dest/contract_function_simulator/oracle/oracle.d.ts +53 -0
  24. package/dest/contract_function_simulator/oracle/oracle.d.ts.map +1 -0
  25. package/dest/contract_function_simulator/oracle/oracle.js +317 -0
  26. package/dest/contract_function_simulator/oracle/private_execution.d.ts +24 -0
  27. package/dest/contract_function_simulator/oracle/private_execution.d.ts.map +1 -0
  28. package/dest/contract_function_simulator/oracle/private_execution.js +100 -0
  29. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +187 -0
  30. package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -0
  31. package/dest/contract_function_simulator/oracle/private_execution_oracle.js +325 -0
  32. package/dest/contract_function_simulator/oracle/typed_oracle.d.ts +83 -0
  33. package/dest/contract_function_simulator/oracle/typed_oracle.d.ts.map +1 -0
  34. package/dest/contract_function_simulator/oracle/typed_oracle.js +138 -0
  35. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +163 -0
  36. package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -0
  37. package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +257 -0
  38. package/dest/contract_function_simulator/pick_notes.d.ts +85 -0
  39. package/dest/contract_function_simulator/pick_notes.d.ts.map +1 -0
  40. package/dest/contract_function_simulator/pick_notes.js +51 -0
  41. package/dest/contract_function_simulator/proxied_node.d.ts +9 -0
  42. package/dest/contract_function_simulator/proxied_node.d.ts.map +1 -0
  43. package/dest/contract_function_simulator/proxied_node.js +27 -0
  44. package/dest/{pxe_oracle_interface → contract_function_simulator}/pxe_oracle_interface.d.ts +5 -4
  45. package/dest/contract_function_simulator/pxe_oracle_interface.d.ts.map +1 -0
  46. package/dest/{pxe_oracle_interface → contract_function_simulator}/pxe_oracle_interface.js +16 -15
  47. package/dest/contract_function_simulator/tagging_utils.d.ts.map +1 -0
  48. package/dest/entrypoints/client/bundle/index.d.ts +1 -1
  49. package/dest/entrypoints/client/bundle/index.d.ts.map +1 -1
  50. package/dest/entrypoints/client/bundle/index.js +1 -1
  51. package/dest/entrypoints/client/bundle/utils.js +3 -3
  52. package/dest/entrypoints/client/lazy/index.d.ts +1 -1
  53. package/dest/entrypoints/client/lazy/index.d.ts.map +1 -1
  54. package/dest/entrypoints/client/lazy/index.js +1 -1
  55. package/dest/entrypoints/client/lazy/utils.js +3 -3
  56. package/dest/entrypoints/server/index.d.ts +1 -1
  57. package/dest/entrypoints/server/index.d.ts.map +1 -1
  58. package/dest/entrypoints/server/index.js +1 -1
  59. package/dest/entrypoints/server/utils.d.ts +4 -4
  60. package/dest/entrypoints/server/utils.d.ts.map +1 -1
  61. package/dest/entrypoints/server/utils.js +12 -12
  62. package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -1
  63. package/dest/private_kernel/private_kernel_execution_prover.js +4 -4
  64. package/dest/pxe_service/pxe_service.d.ts +2 -2
  65. package/dest/pxe_service/pxe_service.d.ts.map +1 -1
  66. package/dest/pxe_service/pxe_service.js +46 -21
  67. package/dest/storage/note_data_provider/note_dao.d.ts +1 -1
  68. package/dest/storage/note_data_provider/note_dao.d.ts.map +1 -1
  69. package/package.json +17 -15
  70. package/src/config/package_info.ts +1 -1
  71. package/src/contract_function_simulator/contract_function_simulator.ts +193 -0
  72. package/src/contract_function_simulator/execution_data_provider.ts +391 -0
  73. package/src/contract_function_simulator/execution_note_cache.ts +217 -0
  74. package/src/contract_function_simulator/hashed_values_cache.ts +47 -0
  75. package/src/contract_function_simulator/index.ts +9 -0
  76. package/src/contract_function_simulator/oracle/index.ts +16 -0
  77. package/src/contract_function_simulator/oracle/message_load_oracle_inputs.ts +23 -0
  78. package/src/contract_function_simulator/oracle/oracle.ts +541 -0
  79. package/src/contract_function_simulator/oracle/private_execution.ts +171 -0
  80. package/src/contract_function_simulator/oracle/private_execution_oracle.ts +518 -0
  81. package/src/contract_function_simulator/oracle/typed_oracle.ts +273 -0
  82. package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +384 -0
  83. package/src/contract_function_simulator/pick_notes.ts +141 -0
  84. package/src/contract_function_simulator/proxied_node.ts +33 -0
  85. package/src/{pxe_oracle_interface → contract_function_simulator}/pxe_oracle_interface.ts +18 -21
  86. package/src/entrypoints/client/bundle/index.ts +1 -1
  87. package/src/entrypoints/client/bundle/utils.ts +3 -3
  88. package/src/entrypoints/client/lazy/index.ts +1 -1
  89. package/src/entrypoints/client/lazy/utils.ts +3 -3
  90. package/src/entrypoints/server/index.ts +1 -1
  91. package/src/entrypoints/server/utils.ts +14 -14
  92. package/src/private_kernel/private_kernel_execution_prover.ts +5 -4
  93. package/src/pxe_service/pxe_service.ts +75 -39
  94. package/src/storage/note_data_provider/note_dao.ts +2 -1
  95. package/dest/pxe_oracle_interface/pxe_oracle_interface.d.ts.map +0 -1
  96. package/dest/pxe_oracle_interface/tagging_utils.d.ts.map +0 -1
  97. /package/dest/{pxe_oracle_interface → contract_function_simulator}/tagging_utils.d.ts +0 -0
  98. /package/dest/{pxe_oracle_interface → contract_function_simulator}/tagging_utils.js +0 -0
  99. /package/src/{pxe_oracle_interface → contract_function_simulator}/tagging_utils.ts +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  type ProtocolContractsProvider,
13
13
  protocolContractNames,
14
14
  } from '@aztec/protocol-contracts';
15
- import { AcirSimulator, type SimulationProvider, readCurrentClassId } from '@aztec/simulator/client';
15
+ import type { CircuitSimulator } from '@aztec/simulator/client';
16
16
  import {
17
17
  type ContractArtifact,
18
18
  EventSelector,
@@ -73,12 +73,15 @@ import { inspect } from 'util';
73
73
 
74
74
  import type { PXEServiceConfig } from '../config/index.js';
75
75
  import { getPackageInfo } from '../config/package_info.js';
76
+ import { ContractFunctionSimulator } from '../contract_function_simulator/contract_function_simulator.js';
77
+ import { readCurrentClassId } from '../contract_function_simulator/oracle/private_execution.js';
78
+ import { ProxiedNodeFactory } from '../contract_function_simulator/proxied_node.js';
79
+ import { PXEOracleInterface } from '../contract_function_simulator/pxe_oracle_interface.js';
76
80
  import {
77
81
  PrivateKernelExecutionProver,
78
82
  type PrivateKernelExecutionProverConfig,
79
83
  } from '../private_kernel/private_kernel_execution_prover.js';
80
84
  import { PrivateKernelOracleImpl } from '../private_kernel/private_kernel_oracle_impl.js';
81
- import { PXEOracleInterface } from '../pxe_oracle_interface/pxe_oracle_interface.js';
82
85
  import { AddressDataProvider } from '../storage/address_data_provider/address_data_provider.js';
83
86
  import { CapsuleDataProvider } from '../storage/capsule_data_provider/capsule_data_provider.js';
84
87
  import { ContractDataProvider } from '../storage/contract_data_provider/contract_data_provider.js';
@@ -106,7 +109,7 @@ export class PXEService implements PXE {
106
109
  private taggingDataProvider: TaggingDataProvider,
107
110
  private addressDataProvider: AddressDataProvider,
108
111
  private privateEventDataProvider: PrivateEventDataProvider,
109
- private simulator: AcirSimulator,
112
+ private simulator: CircuitSimulator,
110
113
  private packageVersion: string,
111
114
  private proverEnabled: boolean,
112
115
  private proofCreator: PrivateKernelProver,
@@ -126,7 +129,7 @@ export class PXEService implements PXE {
126
129
  node: AztecNode,
127
130
  store: AztecAsyncKVStore,
128
131
  proofCreator: PrivateKernelProver,
129
- simulationProvider: SimulationProvider,
132
+ simulator: CircuitSimulator,
130
133
  protocolContractsProvider: ProtocolContractsProvider,
131
134
  config: PXEServiceConfig,
132
135
  loggerOrSuffix?: string | Logger,
@@ -156,19 +159,7 @@ export class PXEService implements PXE {
156
159
  config,
157
160
  loggerOrSuffix,
158
161
  );
159
- const pxeOracleInterface = new PXEOracleInterface(
160
- node,
161
- keyStore,
162
- contractDataProvider,
163
- noteDataProvider,
164
- capsuleDataProvider,
165
- syncDataProvider,
166
- taggingDataProvider,
167
- addressDataProvider,
168
- privateEventDataProvider,
169
- log,
170
- );
171
- const simulator = new AcirSimulator(pxeOracleInterface, simulationProvider);
162
+
172
163
  const jobQueue = new SerialQueue();
173
164
 
174
165
  const pxeService = new PXEService(
@@ -247,6 +238,22 @@ export class PXEService implements PXE {
247
238
 
248
239
  // Internal methods
249
240
 
241
+ #getSimulatorForTx(): ContractFunctionSimulator {
242
+ const pxeOracleInterface = new PXEOracleInterface(
243
+ ProxiedNodeFactory.create(this.node),
244
+ this.keyStore,
245
+ this.contractDataProvider,
246
+ this.noteDataProvider,
247
+ this.capsuleDataProvider,
248
+ this.syncDataProvider,
249
+ this.taggingDataProvider,
250
+ this.addressDataProvider,
251
+ this.privateEventDataProvider,
252
+ this.log,
253
+ );
254
+ return new ContractFunctionSimulator(pxeOracleInterface, this.simulator);
255
+ }
256
+
250
257
  #contextualizeError(err: Error, ...context: string[]): Error {
251
258
  let contextStr = '';
252
259
  if (context.length > 0) {
@@ -328,6 +335,7 @@ export class PXEService implements PXE {
328
335
  }
329
336
 
330
337
  async #executePrivate(
338
+ contractFunctionSimulator: ContractFunctionSimulator,
331
339
  txRequest: TxExecutionRequest,
332
340
  msgSender?: AztecAddress,
333
341
  scopes?: AztecAddress[],
@@ -335,7 +343,13 @@ export class PXEService implements PXE {
335
343
  const { origin: contractAddress, functionSelector } = txRequest;
336
344
 
337
345
  try {
338
- const result = await this.simulator.run(txRequest, contractAddress, functionSelector, msgSender, scopes);
346
+ const result = await contractFunctionSimulator.run(
347
+ txRequest,
348
+ contractAddress,
349
+ functionSelector,
350
+ msgSender,
351
+ scopes,
352
+ );
339
353
  this.log.debug(`Private simulation completed for ${contractAddress.toString()}:${functionSelector}`);
340
354
  return result;
341
355
  } catch (err) {
@@ -348,15 +362,21 @@ export class PXEService implements PXE {
348
362
 
349
363
  /**
350
364
  * Simulate a utility function call on the given contract.
365
+ * @param contractFunctionSimulator - The simulator to use for the function call.
351
366
  * @param call - The function call to execute.
352
367
  * @param authWitnesses - Authentication witnesses required for the function call.
353
368
  * @param scopes - Optional array of account addresses whose notes can be accessed in this call. Defaults to all
354
369
  * accounts if not specified.
355
370
  * @returns The simulation result containing the outputs of the utility function.
356
371
  */
357
- async #simulateUtility(call: FunctionCall, authWitnesses?: AuthWitness[], scopes?: AztecAddress[]) {
372
+ async #simulateUtility(
373
+ contractFunctionSimulator: ContractFunctionSimulator,
374
+ call: FunctionCall,
375
+ authWitnesses?: AuthWitness[],
376
+ scopes?: AztecAddress[],
377
+ ) {
358
378
  try {
359
- return this.simulator.runUtility(call, authWitnesses ?? [], scopes);
379
+ return contractFunctionSimulator.runUtility(call, authWitnesses ?? [], scopes);
360
380
  } catch (err) {
361
381
  if (err instanceof SimulationError) {
362
382
  await enrichSimulationError(err, this.contractDataProvider, this.log);
@@ -660,11 +680,13 @@ export class PXEService implements PXE {
660
680
  const totalTimer = new Timer();
661
681
  try {
662
682
  let syncTime: number | undefined;
683
+ let contractFunctionSimulator: ContractFunctionSimulator | undefined;
663
684
  if (!privateExecutionResult) {
664
685
  const syncTimer = new Timer();
665
686
  await this.synchronizer.sync();
666
687
  syncTime = syncTimer.ms();
667
- privateExecutionResult = await this.#executePrivate(txRequest);
688
+ contractFunctionSimulator = this.#getSimulatorForTx();
689
+ privateExecutionResult = await this.#executePrivate(contractFunctionSimulator, txRequest);
668
690
  }
669
691
  const {
670
692
  publicInputs,
@@ -697,8 +719,10 @@ export class PXEService implements PXE {
697
719
  this.log.info(`Proving completed in ${totalTime}ms`, {
698
720
  timings,
699
721
  });
700
-
701
- return new TxProvingResult(privateExecutionResult, publicInputs, clientIvcProof!, timings);
722
+ return new TxProvingResult(privateExecutionResult, publicInputs, clientIvcProof!, {
723
+ timings,
724
+ nodeRPCCalls: contractFunctionSimulator?.getStats().nodeRPCCalls,
725
+ });
702
726
  } catch (err: any) {
703
727
  throw this.#contextualizeError(err, inspect(txRequest), inspect(privateExecutionResult));
704
728
  }
@@ -732,7 +756,8 @@ export class PXEService implements PXE {
732
756
  await this.synchronizer.sync();
733
757
  const syncTime = syncTimer.ms();
734
758
 
735
- const privateExecutionResult = await this.#executePrivate(txRequest, msgSender);
759
+ const contractFunctionSimulator = this.#getSimulatorForTx();
760
+ const privateExecutionResult = await this.#executePrivate(contractFunctionSimulator, txRequest, msgSender);
736
761
 
737
762
  const { executionSteps, timings: { proving } = {} } = await this.#prove(
738
763
  txRequest,
@@ -759,20 +784,19 @@ export class PXEService implements PXE {
759
784
  const gateCountComputationTime =
760
785
  executionSteps.reduce((acc, { timings }) => acc + (timings.gateCount ?? 0), 0) ?? 0;
761
786
 
787
+ const total = totalTime - gateCountComputationTime;
788
+
762
789
  const timings: ProvingTimings = {
763
- total: totalTime - gateCountComputationTime,
790
+ total,
764
791
  sync: syncTime,
765
792
  proving,
766
793
  perFunction,
767
794
  unaccounted:
768
- totalTime -
769
- ((syncTime ?? 0) +
770
- (proving ?? 0) +
771
- perFunction.reduce((acc, { time }) => acc + time, 0) +
772
- gateCountComputationTime),
795
+ total - ((syncTime ?? 0) + (proving ?? 0) + perFunction.reduce((acc, { time }) => acc + time, 0)),
773
796
  };
774
797
 
775
- return new TxProfileResult(executionSteps, timings);
798
+ const simulatorStats = contractFunctionSimulator.getStats();
799
+ return new TxProfileResult(executionSteps, { timings, nodeRPCCalls: simulatorStats.nodeRPCCalls });
776
800
  } catch (err: any) {
777
801
  throw this.#contextualizeError(
778
802
  err,
@@ -816,7 +840,13 @@ export class PXEService implements PXE {
816
840
  await this.synchronizer.sync();
817
841
  const syncTime = syncTimer.ms();
818
842
 
819
- const privateExecutionResult = await this.#executePrivate(txRequest, msgSender, scopes);
843
+ const contractFunctionSimulator = this.#getSimulatorForTx();
844
+ const privateExecutionResult = await this.#executePrivate(
845
+ contractFunctionSimulator,
846
+ txRequest,
847
+ msgSender,
848
+ scopes,
849
+ );
820
850
 
821
851
  const { publicInputs, executionSteps } = await this.#prove(
822
852
  txRequest,
@@ -883,14 +913,13 @@ export class PXEService implements PXE {
883
913
  revertReason: publicOutput.revertReason,
884
914
  }
885
915
  : {}),
886
- timings,
887
916
  });
888
917
 
889
- return TxSimulationResult.fromPrivateSimulationResultAndPublicOutput(
890
- privateSimulationResult,
891
- publicOutput,
918
+ const simulatorStats = contractFunctionSimulator.getStats();
919
+ return TxSimulationResult.fromPrivateSimulationResultAndPublicOutput(privateSimulationResult, publicOutput, {
892
920
  timings,
893
- );
921
+ nodeRPCCalls: simulatorStats.nodeRPCCalls,
922
+ });
894
923
  } catch (err: any) {
895
924
  throw this.#contextualizeError(
896
925
  err,
@@ -937,7 +966,13 @@ export class PXEService implements PXE {
937
966
  // TODO - Should check if `from` has the permission to call the view function.
938
967
  const functionCall = await this.#getFunctionCall(functionName, args, to);
939
968
  const functionTimer = new Timer();
940
- const executionResult = await this.#simulateUtility(functionCall, authwits ?? [], scopes);
969
+ const contractFunctionSimulator = this.#getSimulatorForTx();
970
+ const executionResult = await this.#simulateUtility(
971
+ contractFunctionSimulator,
972
+ functionCall,
973
+ authwits ?? [],
974
+ scopes,
975
+ );
941
976
  const functionTime = functionTimer.ms();
942
977
 
943
978
  const totalTime = totalTimer.ms();
@@ -951,7 +986,8 @@ export class PXEService implements PXE {
951
986
  unaccounted: totalTime - (syncTime + perFunction.reduce((acc, { time }) => acc + time, 0)),
952
987
  };
953
988
 
954
- return { result: executionResult, timings };
989
+ const simulationStats = contractFunctionSimulator.getStats();
990
+ return { result: executionResult, stats: { timings, nodeRPCCalls: simulationStats.nodeRPCCalls } };
955
991
  } catch (err: any) {
956
992
  const stringifiedArgs = args.map(arg => arg.toString()).join(', ');
957
993
  throw this.#contextualizeError(
@@ -1,11 +1,12 @@
1
1
  import { toBigIntBE } from '@aztec/foundation/bigint-buffer';
2
2
  import { Fr, Point } from '@aztec/foundation/fields';
3
3
  import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
4
- import type { NoteData } from '@aztec/simulator/client';
5
4
  import { AztecAddress } from '@aztec/stdlib/aztec-address';
6
5
  import { Note } from '@aztec/stdlib/note';
7
6
  import { TxHash } from '@aztec/stdlib/tx';
8
7
 
8
+ import type { NoteData } from '../../contract_function_simulator/oracle/typed_oracle.js';
9
+
9
10
  /**
10
11
  * A Note Data Access Object, representing a note that was committed to the note hash tree, holding all of the
11
12
  * information required to use it during execution and manage its state.
@@ -1 +0,0 @@
1
- {"version":3,"file":"pxe_oracle_interface.d.ts","sourceRoot":"","sources":["../../src/pxe_oracle_interface/pxe_oracle_interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,KAAK,EAAE,QAA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