@aztec/pxe 0.0.0-test.0 → 0.0.1-commit.21caa21
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.
- package/README.md +5 -5
- package/dest/bin/check_oracle_version.d.ts +2 -0
- package/dest/bin/check_oracle_version.d.ts.map +1 -0
- package/dest/bin/check_oracle_version.js +39 -0
- package/dest/config/index.d.ts +11 -24
- package/dest/config/index.d.ts.map +1 -1
- package/dest/config/index.js +18 -33
- package/dest/config/package_info.d.ts +1 -1
- package/dest/config/package_info.js +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.d.ts +56 -0
- package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -0
- package/dest/contract_function_simulator/contract_function_simulator.js +300 -0
- package/dest/contract_function_simulator/execution_data_provider.d.ts +265 -0
- package/dest/contract_function_simulator/execution_data_provider.d.ts.map +1 -0
- package/dest/contract_function_simulator/execution_data_provider.js +14 -0
- package/dest/contract_function_simulator/execution_note_cache.d.ts +94 -0
- package/dest/contract_function_simulator/execution_note_cache.d.ts.map +1 -0
- package/dest/contract_function_simulator/execution_note_cache.js +190 -0
- package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts +16 -0
- package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts.map +1 -0
- package/dest/contract_function_simulator/execution_tagging_index_cache.js +26 -0
- package/dest/contract_function_simulator/hashed_values_cache.d.ts +28 -0
- package/dest/contract_function_simulator/hashed_values_cache.d.ts.map +1 -0
- package/dest/contract_function_simulator/hashed_values_cache.js +36 -0
- package/dest/contract_function_simulator/index.d.ts +14 -0
- package/dest/contract_function_simulator/index.d.ts.map +1 -0
- package/dest/contract_function_simulator/index.js +12 -0
- package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts +20 -0
- package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts.map +1 -0
- package/dest/contract_function_simulator/noir-structs/event_validation_request.js +37 -0
- package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts +15 -0
- package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts.map +1 -0
- package/dest/contract_function_simulator/noir-structs/log_retrieval_request.js +25 -0
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts +17 -0
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts.map +1 -0
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.js +65 -0
- package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts +23 -0
- package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts.map +1 -0
- package/dest/contract_function_simulator/noir-structs/note_validation_request.js +48 -0
- package/dest/contract_function_simulator/noir-structs/utility_context.d.ts +22 -0
- package/dest/contract_function_simulator/noir-structs/utility_context.d.ts.map +1 -0
- package/dest/contract_function_simulator/noir-structs/utility_context.js +33 -0
- package/dest/contract_function_simulator/oracle/index.d.ts +14 -0
- package/dest/contract_function_simulator/oracle/index.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/index.js +2 -0
- package/dest/contract_function_simulator/oracle/interfaces.d.ts +100 -0
- package/dest/contract_function_simulator/oracle/interfaces.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/interfaces.js +4 -0
- package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts +17 -0
- package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/message_load_oracle_inputs.js +24 -0
- package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts +24 -0
- package/dest/contract_function_simulator/oracle/note_packing_utils.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/note_packing_utils.js +50 -0
- package/dest/contract_function_simulator/oracle/oracle.d.ts +58 -0
- package/dest/contract_function_simulator/oracle/oracle.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/oracle.js +333 -0
- package/dest/contract_function_simulator/oracle/private_execution.d.ts +48 -0
- package/dest/contract_function_simulator/oracle/private_execution.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/private_execution.js +123 -0
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +231 -0
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/private_execution_oracle.js +428 -0
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +153 -0
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +265 -0
- package/dest/contract_function_simulator/pick_notes.d.ts +85 -0
- package/dest/contract_function_simulator/pick_notes.d.ts.map +1 -0
- package/dest/contract_function_simulator/pick_notes.js +51 -0
- package/dest/contract_function_simulator/proxied_contract_data_source.d.ts +6 -0
- package/dest/contract_function_simulator/proxied_contract_data_source.d.ts.map +1 -0
- package/dest/contract_function_simulator/proxied_contract_data_source.js +62 -0
- package/dest/contract_function_simulator/proxied_node.d.ts +9 -0
- package/dest/contract_function_simulator/proxied_node.d.ts.map +1 -0
- package/dest/contract_function_simulator/proxied_node.js +27 -0
- package/dest/contract_function_simulator/pxe_oracle_interface.d.ts +122 -0
- package/dest/contract_function_simulator/pxe_oracle_interface.d.ts.map +1 -0
- package/dest/contract_function_simulator/pxe_oracle_interface.js +694 -0
- package/dest/entrypoints/client/bundle/index.d.ts +5 -3
- package/dest/entrypoints/client/bundle/index.d.ts.map +1 -1
- package/dest/entrypoints/client/bundle/index.js +3 -2
- package/dest/entrypoints/client/bundle/utils.d.ts +10 -10
- package/dest/entrypoints/client/bundle/utils.d.ts.map +1 -1
- package/dest/entrypoints/client/bundle/utils.js +18 -12
- package/dest/entrypoints/client/lazy/index.d.ts +5 -3
- package/dest/entrypoints/client/lazy/index.d.ts.map +1 -1
- package/dest/entrypoints/client/lazy/index.js +3 -2
- package/dest/entrypoints/client/lazy/utils.d.ts +9 -9
- package/dest/entrypoints/client/lazy/utils.d.ts.map +1 -1
- package/dest/entrypoints/client/lazy/utils.js +17 -11
- package/dest/entrypoints/pxe_creation_options.d.ts +14 -0
- package/dest/entrypoints/pxe_creation_options.d.ts.map +1 -0
- package/dest/entrypoints/server/index.d.ts +6 -4
- package/dest/entrypoints/server/index.d.ts.map +1 -1
- package/dest/entrypoints/server/index.js +4 -3
- package/dest/entrypoints/server/utils.d.ts +8 -16
- package/dest/entrypoints/server/utils.d.ts.map +1 -1
- package/dest/entrypoints/server/utils.js +30 -35
- package/dest/error_enriching.d.ts +11 -0
- package/dest/error_enriching.d.ts.map +1 -0
- package/dest/{pxe_service/error_enriching.js → error_enriching.js} +26 -18
- package/dest/oracle_version.d.ts +3 -0
- package/dest/oracle_version.d.ts.map +1 -0
- package/dest/oracle_version.js +10 -0
- package/dest/private_kernel/hints/build_private_kernel_reset_private_inputs.d.ts +28 -0
- package/dest/private_kernel/hints/build_private_kernel_reset_private_inputs.d.ts.map +1 -0
- package/dest/private_kernel/hints/build_private_kernel_reset_private_inputs.js +271 -0
- package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts +4 -0
- package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts.map +1 -0
- package/dest/private_kernel/hints/compute_tx_include_by_timestamp.js +41 -0
- package/dest/private_kernel/hints/index.d.ts +3 -0
- package/dest/private_kernel/hints/index.d.ts.map +1 -0
- package/dest/{kernel_prover → private_kernel}/hints/index.js +1 -0
- package/dest/private_kernel/index.d.ts +3 -0
- package/dest/private_kernel/index.d.ts.map +1 -0
- package/dest/private_kernel/index.js +2 -0
- package/dest/private_kernel/private_kernel_execution_prover.d.ts +44 -0
- package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -0
- package/dest/private_kernel/private_kernel_execution_prover.js +286 -0
- package/dest/private_kernel/private_kernel_oracle.d.ts +62 -0
- package/dest/private_kernel/private_kernel_oracle.d.ts.map +1 -0
- package/dest/private_kernel/private_kernel_oracle.js +4 -0
- package/dest/private_kernel/private_kernel_oracle_impl.d.ts +45 -0
- package/dest/private_kernel/private_kernel_oracle_impl.d.ts.map +1 -0
- package/dest/{kernel_oracle/index.js → private_kernel/private_kernel_oracle_impl.js} +19 -9
- package/dest/pxe.d.ts +240 -0
- package/dest/pxe.d.ts.map +1 -0
- package/dest/pxe.js +771 -0
- package/dest/storage/address_data_provider/address_data_provider.d.ts +2 -4
- package/dest/storage/address_data_provider/address_data_provider.d.ts.map +1 -1
- package/dest/storage/address_data_provider/address_data_provider.js +0 -3
- package/dest/storage/address_data_provider/index.d.ts +1 -1
- package/dest/storage/capsule_data_provider/capsule_data_provider.d.ts +15 -6
- package/dest/storage/capsule_data_provider/capsule_data_provider.d.ts.map +1 -1
- package/dest/storage/capsule_data_provider/capsule_data_provider.js +85 -24
- package/dest/storage/capsule_data_provider/index.d.ts +1 -1
- package/dest/storage/contract_data_provider/contract_data_provider.d.ts +13 -58
- package/dest/storage/contract_data_provider/contract_data_provider.d.ts.map +1 -1
- package/dest/storage/contract_data_provider/contract_data_provider.js +89 -79
- package/dest/storage/contract_data_provider/index.d.ts +1 -2
- package/dest/storage/contract_data_provider/index.d.ts.map +1 -1
- package/dest/storage/contract_data_provider/index.js +0 -1
- package/dest/storage/contract_data_provider/private_functions_tree.d.ts +3 -42
- package/dest/storage/contract_data_provider/private_functions_tree.d.ts.map +1 -1
- package/dest/storage/contract_data_provider/private_functions_tree.js +9 -61
- package/dest/storage/index.d.ts +3 -4
- package/dest/storage/index.d.ts.map +1 -1
- package/dest/storage/index.js +2 -3
- package/dest/storage/metadata.d.ts +2 -0
- package/dest/storage/metadata.d.ts.map +1 -0
- package/dest/storage/metadata.js +1 -0
- package/dest/storage/note_data_provider/index.d.ts +2 -2
- package/dest/storage/note_data_provider/index.d.ts.map +1 -1
- package/dest/storage/note_data_provider/index.js +1 -1
- package/dest/storage/note_data_provider/note_data_provider.d.ts +73 -10
- package/dest/storage/note_data_provider/note_data_provider.d.ts.map +1 -1
- package/dest/storage/note_data_provider/note_data_provider.js +145 -83
- package/dest/storage/private_event_data_provider/private_event_data_provider.d.ts +37 -0
- package/dest/storage/private_event_data_provider/private_event_data_provider.d.ts.map +1 -0
- package/dest/storage/private_event_data_provider/private_event_data_provider.js +105 -0
- package/dest/storage/sync_data_provider/index.d.ts +1 -1
- package/dest/storage/sync_data_provider/sync_data_provider.d.ts +3 -5
- package/dest/storage/sync_data_provider/sync_data_provider.d.ts.map +1 -1
- package/dest/storage/sync_data_provider/sync_data_provider.js +2 -5
- package/dest/storage/tagging_data_provider/index.d.ts +1 -1
- package/dest/storage/tagging_data_provider/tagging_data_provider.d.ts +29 -7
- package/dest/storage/tagging_data_provider/tagging_data_provider.d.ts.map +1 -1
- package/dest/storage/tagging_data_provider/tagging_data_provider.js +48 -24
- package/dest/synchronizer/index.d.ts +1 -1
- package/dest/synchronizer/synchronizer.d.ts +8 -10
- package/dest/synchronizer/synchronizer.d.ts.map +1 -1
- package/dest/synchronizer/synchronizer.js +17 -19
- package/dest/tagging/constants.d.ts +2 -0
- package/dest/tagging/constants.d.ts.map +1 -0
- package/dest/tagging/constants.js +2 -0
- package/dest/tagging/index.d.ts +7 -0
- package/dest/tagging/index.d.ts.map +1 -0
- package/dest/tagging/index.js +5 -0
- package/dest/tagging/siloed_tag.d.ts +14 -0
- package/dest/tagging/siloed_tag.d.ts.map +1 -0
- package/dest/tagging/siloed_tag.js +20 -0
- package/dest/tagging/tag.d.ts +12 -0
- package/dest/tagging/tag.d.ts.map +1 -0
- package/dest/tagging/tag.js +17 -0
- package/dest/tagging/utils.d.ts +18 -0
- package/dest/tagging/utils.d.ts.map +1 -0
- package/dest/tagging/utils.js +24 -0
- package/package.json +37 -34
- package/src/bin/check_oracle_version.ts +50 -0
- package/src/config/index.ts +27 -55
- package/src/config/package_info.ts +1 -1
- package/src/contract_function_simulator/contract_function_simulator.ts +553 -0
- package/src/contract_function_simulator/execution_data_provider.ts +333 -0
- package/src/contract_function_simulator/execution_note_cache.ts +229 -0
- package/src/contract_function_simulator/execution_tagging_index_cache.ts +32 -0
- package/src/contract_function_simulator/hashed_values_cache.ts +47 -0
- package/src/contract_function_simulator/index.ts +13 -0
- package/src/contract_function_simulator/noir-structs/event_validation_request.ts +47 -0
- package/src/contract_function_simulator/noir-structs/log_retrieval_request.ts +27 -0
- package/src/contract_function_simulator/noir-structs/log_retrieval_response.ts +69 -0
- package/src/contract_function_simulator/noir-structs/note_validation_request.ts +61 -0
- package/src/contract_function_simulator/noir-structs/utility_context.ts +42 -0
- package/src/contract_function_simulator/oracle/index.ts +16 -0
- package/src/contract_function_simulator/oracle/interfaces.ts +170 -0
- package/src/contract_function_simulator/oracle/message_load_oracle_inputs.ts +23 -0
- package/src/contract_function_simulator/oracle/note_packing_utils.ts +54 -0
- package/src/contract_function_simulator/oracle/oracle.ts +583 -0
- package/src/contract_function_simulator/oracle/private_execution.ts +207 -0
- package/src/contract_function_simulator/oracle/private_execution_oracle.ts +633 -0
- package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +358 -0
- package/src/contract_function_simulator/pick_notes.ts +141 -0
- package/src/contract_function_simulator/proxied_contract_data_source.ts +66 -0
- package/src/contract_function_simulator/proxied_node.ts +33 -0
- package/src/contract_function_simulator/pxe_oracle_interface.ts +1008 -0
- package/src/entrypoints/client/bundle/index.ts +4 -2
- package/src/entrypoints/client/bundle/utils.ts +36 -36
- package/src/entrypoints/client/lazy/index.ts +4 -2
- package/src/entrypoints/client/lazy/utils.ts +36 -31
- package/src/entrypoints/{client/pxe_creation_options.ts → pxe_creation_options.ts} +4 -1
- package/src/entrypoints/server/index.ts +5 -3
- package/src/entrypoints/server/utils.ts +58 -50
- package/src/{pxe_service/error_enriching.ts → error_enriching.ts} +36 -27
- package/src/oracle_version.ts +11 -0
- package/src/{kernel_prover → private_kernel}/hints/build_private_kernel_reset_private_inputs.ts +158 -146
- package/src/private_kernel/hints/compute_tx_include_by_timestamp.ts +58 -0
- package/src/{kernel_prover → private_kernel}/hints/index.ts +1 -0
- package/src/private_kernel/index.ts +2 -0
- package/src/private_kernel/private_kernel_execution_prover.ts +431 -0
- package/src/{kernel_prover/proving_data_oracle.ts → private_kernel/private_kernel_oracle.ts} +17 -29
- package/src/{kernel_oracle/index.ts → private_kernel/private_kernel_oracle_impl.ts} +30 -15
- package/src/pxe.ts +1085 -0
- package/src/storage/address_data_provider/address_data_provider.ts +1 -7
- package/src/storage/capsule_data_provider/capsule_data_provider.ts +97 -30
- package/src/storage/contract_data_provider/contract_data_provider.ts +109 -93
- package/src/storage/contract_data_provider/index.ts +0 -1
- package/src/storage/contract_data_provider/private_functions_tree.ts +11 -75
- package/src/storage/index.ts +2 -4
- package/src/storage/metadata.ts +1 -0
- package/src/storage/note_data_provider/index.ts +1 -1
- package/src/storage/note_data_provider/note_data_provider.ts +176 -122
- package/src/storage/private_event_data_provider/private_event_data_provider.ts +143 -0
- package/src/storage/sync_data_provider/sync_data_provider.ts +4 -10
- package/src/storage/tagging_data_provider/tagging_data_provider.ts +58 -30
- package/src/synchronizer/synchronizer.ts +21 -22
- package/src/tagging/constants.ts +2 -0
- package/src/tagging/index.ts +6 -0
- package/src/tagging/siloed_tag.ts +22 -0
- package/src/tagging/tag.ts +16 -0
- package/src/tagging/utils.ts +31 -0
- package/dest/bin/index.d.ts +0 -3
- package/dest/bin/index.d.ts.map +0 -1
- package/dest/bin/index.js +0 -28
- package/dest/entrypoints/client/pxe_creation_options.d.ts +0 -11
- package/dest/entrypoints/client/pxe_creation_options.d.ts.map +0 -1
- package/dest/kernel_oracle/index.d.ts +0 -45
- package/dest/kernel_oracle/index.d.ts.map +0 -1
- package/dest/kernel_prover/hints/build_private_kernel_reset_private_inputs.d.ts +0 -28
- package/dest/kernel_prover/hints/build_private_kernel_reset_private_inputs.d.ts.map +0 -1
- package/dest/kernel_prover/hints/build_private_kernel_reset_private_inputs.js +0 -270
- package/dest/kernel_prover/hints/index.d.ts +0 -2
- package/dest/kernel_prover/hints/index.d.ts.map +0 -1
- package/dest/kernel_prover/index.d.ts +0 -3
- package/dest/kernel_prover/index.d.ts.map +0 -1
- package/dest/kernel_prover/index.js +0 -2
- package/dest/kernel_prover/kernel_prover.d.ts +0 -38
- package/dest/kernel_prover/kernel_prover.d.ts.map +0 -1
- package/dest/kernel_prover/kernel_prover.js +0 -217
- package/dest/kernel_prover/proving_data_oracle.d.ts +0 -73
- package/dest/kernel_prover/proving_data_oracle.d.ts.map +0 -1
- package/dest/kernel_prover/proving_data_oracle.js +0 -4
- package/dest/note_decryption_utils/add_public_values_to_payload.d.ts +0 -11
- package/dest/note_decryption_utils/add_public_values_to_payload.d.ts.map +0 -1
- package/dest/note_decryption_utils/add_public_values_to_payload.js +0 -47
- package/dest/pxe_http/index.d.ts +0 -2
- package/dest/pxe_http/index.d.ts.map +0 -1
- package/dest/pxe_http/index.js +0 -1
- package/dest/pxe_http/pxe_http_server.d.ts +0 -16
- package/dest/pxe_http/pxe_http_server.d.ts.map +0 -1
- package/dest/pxe_http/pxe_http_server.js +0 -27
- package/dest/pxe_oracle_interface/index.d.ts +0 -159
- package/dest/pxe_oracle_interface/index.d.ts.map +0 -1
- package/dest/pxe_oracle_interface/index.js +0 -692
- package/dest/pxe_oracle_interface/tagging_utils.d.ts +0 -17
- package/dest/pxe_oracle_interface/tagging_utils.d.ts.map +0 -1
- package/dest/pxe_oracle_interface/tagging_utils.js +0 -23
- package/dest/pxe_service/error_enriching.d.ts +0 -11
- package/dest/pxe_service/error_enriching.d.ts.map +0 -1
- package/dest/pxe_service/index.d.ts +0 -3
- package/dest/pxe_service/index.d.ts.map +0 -1
- package/dest/pxe_service/index.js +0 -2
- package/dest/pxe_service/pxe_service.d.ts +0 -111
- package/dest/pxe_service/pxe_service.d.ts.map +0 -1
- package/dest/pxe_service/pxe_service.js +0 -664
- package/dest/storage/auth_witness_data_provider/auth_witness_data_provider.d.ts +0 -11
- package/dest/storage/auth_witness_data_provider/auth_witness_data_provider.d.ts.map +0 -1
- package/dest/storage/auth_witness_data_provider/auth_witness_data_provider.js +0 -20
- package/dest/storage/auth_witness_data_provider/index.d.ts +0 -2
- package/dest/storage/auth_witness_data_provider/index.d.ts.map +0 -1
- package/dest/storage/auth_witness_data_provider/index.js +0 -1
- package/dest/storage/data_provider.d.ts +0 -4
- package/dest/storage/data_provider.d.ts.map +0 -1
- package/dest/storage/data_provider.js +0 -1
- package/dest/storage/note_data_provider/note_dao.d.ts +0 -106
- package/dest/storage/note_data_provider/note_dao.d.ts.map +0 -1
- package/dest/storage/note_data_provider/note_dao.js +0 -106
- package/dest/test/pxe_test_suite.d.ts +0 -3
- package/dest/test/pxe_test_suite.d.ts.map +0 -1
- package/dest/test/pxe_test_suite.js +0 -97
- package/src/bin/index.ts +0 -38
- package/src/kernel_prover/index.ts +0 -2
- package/src/kernel_prover/kernel_prover.ts +0 -351
- package/src/note_decryption_utils/add_public_values_to_payload.ts +0 -64
- package/src/pxe_http/index.ts +0 -1
- package/src/pxe_http/pxe_http_server.ts +0 -29
- package/src/pxe_oracle_interface/index.ts +0 -925
- package/src/pxe_oracle_interface/tagging_utils.ts +0 -32
- package/src/pxe_service/index.ts +0 -2
- package/src/pxe_service/pxe_service.ts +0 -949
- package/src/storage/auth_witness_data_provider/auth_witness_data_provider.ts +0 -34
- package/src/storage/auth_witness_data_provider/index.ts +0 -1
- package/src/storage/data_provider.ts +0 -3
- package/src/storage/note_data_provider/note_dao.ts +0 -162
- package/src/test/pxe_test_suite.ts +0 -111
- /package/dest/entrypoints/{client/pxe_creation_options.js → pxe_creation_options.js} +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { PRIVATE_CIRCUIT_PUBLIC_INPUTS_LENGTH, PRIVATE_CONTEXT_INPUTS_LENGTH } from '@aztec/constants';
|
|
2
|
+
import { Fr } from '@aztec/foundation/fields';
|
|
3
|
+
import { createLogger } from '@aztec/foundation/log';
|
|
4
|
+
import { Timer } from '@aztec/foundation/timer';
|
|
5
|
+
import { ProtocolContractAddress } from '@aztec/protocol-contracts';
|
|
6
|
+
import { ExecutionError, extractCallStack, resolveAssertionMessageFromError, witnessMapToFields } from '@aztec/simulator/client';
|
|
7
|
+
import { countArgumentsSize } from '@aztec/stdlib/abi';
|
|
8
|
+
import { DelayedPublicMutableValues, DelayedPublicMutableValuesWithHash } from '@aztec/stdlib/delayed-public-mutable';
|
|
9
|
+
import { PrivateCircuitPublicInputs } from '@aztec/stdlib/kernel';
|
|
10
|
+
import { PrivateCallExecutionResult } from '@aztec/stdlib/tx';
|
|
11
|
+
import { Oracle } from './oracle.js';
|
|
12
|
+
/**
|
|
13
|
+
* Execute a private function and return the execution result.
|
|
14
|
+
* This does not execute any kernel circuits; only the user functions.
|
|
15
|
+
*
|
|
16
|
+
* If this private function execution results in any nested private function calls,
|
|
17
|
+
* those nested calls are made via oracle calls to the `privateCallPrivateFunction` oracle,
|
|
18
|
+
* which in turn makes corresponding further calls to this function.
|
|
19
|
+
*/ export async function executePrivateFunction(simulator, privateExecutionOracle, artifact, contractAddress, functionSelector, log = createLogger('simulator:private_execution')) {
|
|
20
|
+
const functionName = await privateExecutionOracle.getDebugFunctionName();
|
|
21
|
+
log.verbose(`Executing private function ${functionName}`, {
|
|
22
|
+
contract: contractAddress
|
|
23
|
+
});
|
|
24
|
+
const initialWitness = privateExecutionOracle.getInitialWitness(artifact);
|
|
25
|
+
const acvmCallback = new Oracle(privateExecutionOracle);
|
|
26
|
+
const timer = new Timer();
|
|
27
|
+
const acirExecutionResult = await simulator.executeUserCircuit(initialWitness, artifact, acvmCallback.toACIRCallback()).catch((err)=>{
|
|
28
|
+
err.message = resolveAssertionMessageFromError(err, artifact);
|
|
29
|
+
throw new ExecutionError(err.message, {
|
|
30
|
+
contractAddress,
|
|
31
|
+
functionSelector
|
|
32
|
+
}, extractCallStack(err, artifact.debug), {
|
|
33
|
+
cause: err
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
const duration = timer.ms();
|
|
37
|
+
const partialWitness = acirExecutionResult.partialWitness;
|
|
38
|
+
const publicInputs = extractPrivateCircuitPublicInputs(artifact, partialWitness);
|
|
39
|
+
// TODO (alexg) estimate this size
|
|
40
|
+
const initialWitnessSize = witnessMapToFields(initialWitness).length * Fr.SIZE_IN_BYTES;
|
|
41
|
+
log.debug(`Ran external function ${contractAddress.toString()}:${functionSelector}`, {
|
|
42
|
+
circuitName: 'app-circuit',
|
|
43
|
+
duration,
|
|
44
|
+
eventName: 'circuit-witness-generation',
|
|
45
|
+
inputSize: initialWitnessSize,
|
|
46
|
+
outputSize: publicInputs.toBuffer().length,
|
|
47
|
+
appCircuitName: functionName
|
|
48
|
+
});
|
|
49
|
+
const contractClassLogs = privateExecutionOracle.getContractClassLogs();
|
|
50
|
+
const rawReturnValues = await privateExecutionOracle.privateLoadFromExecutionCache(publicInputs.returnsHash);
|
|
51
|
+
const noteHashLeafIndexMap = privateExecutionOracle.getNoteHashLeafIndexMap();
|
|
52
|
+
const newNotes = privateExecutionOracle.getNewNotes();
|
|
53
|
+
const noteHashNullifierCounterMap = privateExecutionOracle.getNoteHashNullifierCounterMap();
|
|
54
|
+
const offchainEffects = privateExecutionOracle.getOffchainEffects();
|
|
55
|
+
const preTags = privateExecutionOracle.getUsedPreTags();
|
|
56
|
+
const nestedExecutionResults = privateExecutionOracle.getNestedExecutionResults();
|
|
57
|
+
let timerSubtractionList = nestedExecutionResults;
|
|
58
|
+
let witgenTime = duration;
|
|
59
|
+
// Due to the recursive nature of execution, we have to subtract the time taken by nested calls
|
|
60
|
+
while(timerSubtractionList.length > 0){
|
|
61
|
+
witgenTime -= timerSubtractionList.reduce((acc, nested)=>acc + (nested.profileResult?.timings.witgen ?? 0), 0);
|
|
62
|
+
timerSubtractionList = timerSubtractionList.flatMap((nested)=>nested.nestedExecutionResults ?? []);
|
|
63
|
+
}
|
|
64
|
+
log.debug(`Returning from call to ${contractAddress.toString()}:${functionSelector}`);
|
|
65
|
+
return new PrivateCallExecutionResult(artifact.bytecode, Buffer.from(artifact.verificationKey, 'base64'), partialWitness, publicInputs, noteHashLeafIndexMap, newNotes, noteHashNullifierCounterMap, rawReturnValues, offchainEffects, preTags, nestedExecutionResults, contractClassLogs, {
|
|
66
|
+
timings: {
|
|
67
|
+
witgen: witgenTime,
|
|
68
|
+
oracles: acirExecutionResult.oracles
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get the private circuit public inputs from the partial witness.
|
|
74
|
+
* @param artifact - The function artifact
|
|
75
|
+
* @param partialWitness - The partial witness, result of simulating the function.
|
|
76
|
+
* @returns - The public inputs.
|
|
77
|
+
*/ export function extractPrivateCircuitPublicInputs(artifact, partialWitness) {
|
|
78
|
+
const parametersSize = countArgumentsSize(artifact) + PRIVATE_CONTEXT_INPUTS_LENGTH;
|
|
79
|
+
const returnsSize = PRIVATE_CIRCUIT_PUBLIC_INPUTS_LENGTH;
|
|
80
|
+
const returnData = [];
|
|
81
|
+
// Return values always appear in the witness after arguments.
|
|
82
|
+
for(let i = parametersSize; i < parametersSize + returnsSize; i++){
|
|
83
|
+
const returnedField = partialWitness.get(i);
|
|
84
|
+
if (returnedField === undefined) {
|
|
85
|
+
throw new Error(`Missing return value for index ${i}`);
|
|
86
|
+
}
|
|
87
|
+
returnData.push(Fr.fromString(returnedField));
|
|
88
|
+
}
|
|
89
|
+
return PrivateCircuitPublicInputs.fromFields(returnData);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Read the current class id of a contract from the execution data provider or AztecNode. If not found, class id
|
|
93
|
+
* from the instance is used.
|
|
94
|
+
* @param contractAddress - The address of the contract to read the class id for.
|
|
95
|
+
* @param instance - The instance of the contract.
|
|
96
|
+
* @param executionDataProvider - The execution data provider.
|
|
97
|
+
* @param blockNumber - The block number at which to load the DelayedPublicMutable storing the class id.
|
|
98
|
+
* @param timestamp - The timestamp at which to obtain the class id from the DelayedPublicMutable.
|
|
99
|
+
* @returns The current class id.
|
|
100
|
+
*/ export async function readCurrentClassId(contractAddress, instance, executionDataProvider, blockNumber, timestamp) {
|
|
101
|
+
const { delayedPublicMutableSlot } = await DelayedPublicMutableValuesWithHash.getContractUpdateSlots(contractAddress);
|
|
102
|
+
const delayedPublicMutableValues = await DelayedPublicMutableValues.readFromTree(delayedPublicMutableSlot, (slot)=>executionDataProvider.getPublicStorageAt(blockNumber, ProtocolContractAddress.ContractInstanceRegistry, slot));
|
|
103
|
+
let currentClassId = delayedPublicMutableValues.svc.getCurrentAt(timestamp)[0];
|
|
104
|
+
if (currentClassId.isZero()) {
|
|
105
|
+
currentClassId = instance.originalContractClassId;
|
|
106
|
+
}
|
|
107
|
+
return currentClassId;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Verify that the current class id of a contract obtained from AztecNode is the same as the one in the execution data
|
|
111
|
+
* provider (i.e. PXE).
|
|
112
|
+
* @param contractAddress - The address of the contract to verify class id for.
|
|
113
|
+
* @param executionDataProvider - The execution data provider.
|
|
114
|
+
* @param header - The header of the block at which to verify the current class id. If not provided, the anchor block
|
|
115
|
+
* header of the execution data provider is used.
|
|
116
|
+
*/ export async function verifyCurrentClassId(contractAddress, executionDataProvider, header) {
|
|
117
|
+
header = header ?? await executionDataProvider.getAnchorBlockHeader();
|
|
118
|
+
const instance = await executionDataProvider.getContractInstance(contractAddress);
|
|
119
|
+
const currentClassId = await readCurrentClassId(contractAddress, instance, executionDataProvider, header.globalVariables.blockNumber, header.globalVariables.timestamp);
|
|
120
|
+
if (!instance.currentContractClassId.equals(currentClassId)) {
|
|
121
|
+
throw new Error(`Contract ${contractAddress} is outdated, current class id is ${currentClassId}, local class id is ${instance.currentContractClassId}`);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { Fr } from '@aztec/foundation/fields';
|
|
2
|
+
import { type CircuitSimulator } from '@aztec/simulator/client';
|
|
3
|
+
import { type FunctionAbi, FunctionSelector, type NoteSelector } from '@aztec/stdlib/abi';
|
|
4
|
+
import type { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
5
|
+
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
6
|
+
import { PrivateContextInputs } from '@aztec/stdlib/kernel';
|
|
7
|
+
import type { ContractClassLog, PreTag } from '@aztec/stdlib/logs';
|
|
8
|
+
import { type NoteStatus } from '@aztec/stdlib/note';
|
|
9
|
+
import { type BlockHeader, CallContext, Capsule, CountedContractClassLog, NoteAndSlot, PrivateCallExecutionResult, type TxContext } from '@aztec/stdlib/tx';
|
|
10
|
+
import { Tag } from '../../tagging/tag.js';
|
|
11
|
+
import type { ExecutionDataProvider } from '../execution_data_provider.js';
|
|
12
|
+
import type { ExecutionNoteCache } from '../execution_note_cache.js';
|
|
13
|
+
import { ExecutionTaggingIndexCache } from '../execution_tagging_index_cache.js';
|
|
14
|
+
import type { HashedValuesCache } from '../hashed_values_cache.js';
|
|
15
|
+
import type { IPrivateExecutionOracle, NoteData } from './interfaces.js';
|
|
16
|
+
import { UtilityExecutionOracle } from './utility_execution_oracle.js';
|
|
17
|
+
/**
|
|
18
|
+
* The execution oracle for the private part of a transaction.
|
|
19
|
+
*/
|
|
20
|
+
export declare class PrivateExecutionOracle extends UtilityExecutionOracle implements IPrivateExecutionOracle {
|
|
21
|
+
#private;
|
|
22
|
+
private readonly argsHash;
|
|
23
|
+
private readonly txContext;
|
|
24
|
+
private readonly callContext;
|
|
25
|
+
/** Header of a block whose state is used during private execution (not the block the transaction is included in). */
|
|
26
|
+
protected readonly anchorBlockHeader: BlockHeader;
|
|
27
|
+
private readonly executionCache;
|
|
28
|
+
private readonly noteCache;
|
|
29
|
+
private readonly taggingIndexCache;
|
|
30
|
+
private totalPublicCalldataCount;
|
|
31
|
+
protected sideEffectCounter: number;
|
|
32
|
+
private senderForTags?;
|
|
33
|
+
private simulator?;
|
|
34
|
+
isPrivate: true;
|
|
35
|
+
/**
|
|
36
|
+
* New notes created during this execution.
|
|
37
|
+
* It's possible that a note in this list has been nullified (in the same or other executions) and doesn't exist in
|
|
38
|
+
* the ExecutionNoteCache and the final proof data. But we still include those notes in the execution result because
|
|
39
|
+
* their commitments are still in the public inputs of this execution.
|
|
40
|
+
* This information is only for references (currently used for tests), and is not used for any sort of constrains.
|
|
41
|
+
* Users can also use this to get a clearer idea of what's happened during a simulation.
|
|
42
|
+
*/
|
|
43
|
+
private newNotes;
|
|
44
|
+
/**
|
|
45
|
+
* Notes from previous transactions that are returned to the oracle call `getNotes` during this execution.
|
|
46
|
+
* The mapping maps from the unique siloed note hash to the index for notes created in private executions.
|
|
47
|
+
* It maps from siloed note hash to the index for notes created by public functions.
|
|
48
|
+
*
|
|
49
|
+
* They are not part of the ExecutionNoteCache and being forwarded to nested contexts via `extend()`
|
|
50
|
+
* because these notes are meant to be maintained on a per-call basis
|
|
51
|
+
* They should act as references for the read requests output by an app circuit via public inputs.
|
|
52
|
+
*/
|
|
53
|
+
private noteHashLeafIndexMap;
|
|
54
|
+
private noteHashNullifierCounterMap;
|
|
55
|
+
private contractClassLogs;
|
|
56
|
+
private offchainEffects;
|
|
57
|
+
private nestedExecutionResults;
|
|
58
|
+
constructor(argsHash: Fr, txContext: TxContext, callContext: CallContext,
|
|
59
|
+
/** Header of a block whose state is used during private execution (not the block the transaction is included in). */
|
|
60
|
+
anchorBlockHeader: BlockHeader,
|
|
61
|
+
/** List of transient auth witnesses to be used during this simulation */
|
|
62
|
+
authWitnesses: AuthWitness[], capsules: Capsule[], executionCache: HashedValuesCache, noteCache: ExecutionNoteCache, taggingIndexCache: ExecutionTaggingIndexCache, executionDataProvider: ExecutionDataProvider, totalPublicCalldataCount?: number, sideEffectCounter?: number, log?: import("@aztec/foundation/log").Logger, scopes?: AztecAddress[], senderForTags?: AztecAddress | undefined, simulator?: CircuitSimulator | undefined);
|
|
63
|
+
getPrivateContextInputs(): PrivateContextInputs;
|
|
64
|
+
/**
|
|
65
|
+
* Writes the function inputs to the initial witness.
|
|
66
|
+
* @param abi - The function ABI.
|
|
67
|
+
* @returns The initial witness.
|
|
68
|
+
*/
|
|
69
|
+
getInitialWitness(abi: FunctionAbi): Map<number, string>;
|
|
70
|
+
/**
|
|
71
|
+
* The KernelProver will use this to fully populate witnesses and provide hints to the kernel circuit
|
|
72
|
+
* regarding which note hash each settled read request corresponds to.
|
|
73
|
+
*/
|
|
74
|
+
getNoteHashLeafIndexMap(): Map<bigint, bigint>;
|
|
75
|
+
/**
|
|
76
|
+
* Get the data for the newly created notes.
|
|
77
|
+
*/
|
|
78
|
+
getNewNotes(): NoteAndSlot[];
|
|
79
|
+
getNoteHashNullifierCounterMap(): Map<number, number>;
|
|
80
|
+
/**
|
|
81
|
+
* Return the contract class logs emitted during this execution.
|
|
82
|
+
*/
|
|
83
|
+
getContractClassLogs(): CountedContractClassLog[];
|
|
84
|
+
/**
|
|
85
|
+
* Return the offchain effects emitted during this execution.
|
|
86
|
+
*/
|
|
87
|
+
getOffchainEffects(): {
|
|
88
|
+
data: Fr[];
|
|
89
|
+
}[];
|
|
90
|
+
/**
|
|
91
|
+
* Returns the pre tags that were used in this execution (and that need to be stored in the db).
|
|
92
|
+
*/
|
|
93
|
+
getUsedPreTags(): PreTag[];
|
|
94
|
+
/**
|
|
95
|
+
* Return the nested execution results during this execution.
|
|
96
|
+
*/
|
|
97
|
+
getNestedExecutionResults(): PrivateCallExecutionResult[];
|
|
98
|
+
/**
|
|
99
|
+
* Get the sender for tags.
|
|
100
|
+
*
|
|
101
|
+
* This unconstrained value is used as the sender when computing an unconstrained shared secret
|
|
102
|
+
* for a tag in order to emit a log. Constrained tagging should not use this as there is no
|
|
103
|
+
* guarantee that the recipient knows about the sender, and hence about the shared secret.
|
|
104
|
+
*
|
|
105
|
+
* The value persists through nested calls, meaning all calls down the stack will use the same
|
|
106
|
+
* 'senderForTags' value (unless it is replaced).
|
|
107
|
+
*/
|
|
108
|
+
privateGetSenderForTags(): Promise<AztecAddress | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Set the sender for tags.
|
|
111
|
+
*
|
|
112
|
+
* This unconstrained value is used as the sender when computing an unconstrained shared secret
|
|
113
|
+
* for a tag in order to emit a log. Constrained tagging should not use this as there is no
|
|
114
|
+
* guarantee that the recipient knows about the sender, and hence about the shared secret.
|
|
115
|
+
*
|
|
116
|
+
* Account contracts typically set this value before calling other contracts. The value persists
|
|
117
|
+
* through nested calls, meaning all calls down the stack will use the same 'senderForTags'
|
|
118
|
+
* value (unless it is replaced by another call to this setter).
|
|
119
|
+
*/
|
|
120
|
+
privateSetSenderForTags(senderForTags: AztecAddress): Promise<void>;
|
|
121
|
+
/**
|
|
122
|
+
* Returns the next app tag for a given sender and recipient pair.
|
|
123
|
+
* @param sender - The address sending the log
|
|
124
|
+
* @param recipient - The address receiving the log
|
|
125
|
+
* @returns An app tag to be used in a log.
|
|
126
|
+
*/
|
|
127
|
+
privateGetNextAppTagAsSender(sender: AztecAddress, recipient: AztecAddress): Promise<Tag>;
|
|
128
|
+
/**
|
|
129
|
+
* Store values in the execution cache.
|
|
130
|
+
* @param values - Values to store.
|
|
131
|
+
* @returns The hash of the values.
|
|
132
|
+
*/
|
|
133
|
+
privateStoreInExecutionCache(values: Fr[], hash: Fr): void;
|
|
134
|
+
/**
|
|
135
|
+
* Gets values from the execution cache.
|
|
136
|
+
* @param hash - Hash of the values.
|
|
137
|
+
* @returns The values.
|
|
138
|
+
*/
|
|
139
|
+
privateLoadFromExecutionCache(hash: Fr): Promise<Fr[]>;
|
|
140
|
+
utilityCheckNullifierExists(innerNullifier: Fr): Promise<boolean>;
|
|
141
|
+
/**
|
|
142
|
+
* Gets some notes for a storage slot.
|
|
143
|
+
*
|
|
144
|
+
* @remarks
|
|
145
|
+
* Check for pending notes with matching slot.
|
|
146
|
+
* Real notes coming from DB will have a leafIndex which
|
|
147
|
+
* represents their index in the note hash tree.
|
|
148
|
+
*
|
|
149
|
+
* @param storageSlot - The storage slot.
|
|
150
|
+
* @param numSelects - The number of valid selects in selectBy and selectValues.
|
|
151
|
+
* @param selectBy - An array of indices of the fields to selects.
|
|
152
|
+
* @param selectValues - The values to match.
|
|
153
|
+
* @param selectComparators - The comparators to match by.
|
|
154
|
+
* @param sortBy - An array of indices of the fields to sort.
|
|
155
|
+
* @param sortOrder - The order of the corresponding index in sortBy. (1: DESC, 2: ASC, 0: Do nothing)
|
|
156
|
+
* @param limit - The number of notes to retrieve per query.
|
|
157
|
+
* @param offset - The starting index for pagination.
|
|
158
|
+
* @param status - The status of notes to fetch.
|
|
159
|
+
* @returns Array of note data.
|
|
160
|
+
*/
|
|
161
|
+
utilityGetNotes(storageSlot: Fr, numSelects: number, selectByIndexes: number[], selectByOffsets: number[], selectByLengths: number[], selectValues: Fr[], selectComparators: number[], sortByIndexes: number[], sortByOffsets: number[], sortByLengths: number[], sortOrder: number[], limit: number, offset: number, status: NoteStatus): Promise<NoteData[]>;
|
|
162
|
+
/**
|
|
163
|
+
* Keep track of the new note created during execution.
|
|
164
|
+
* It can be used in subsequent calls (or transactions when chaining txs is possible).
|
|
165
|
+
* @param contractAddress - The contract address.
|
|
166
|
+
* @param storageSlot - The storage slot.
|
|
167
|
+
* @param randomness - The randomness injected into the note.
|
|
168
|
+
* @param noteTypeId - The type ID of the note.
|
|
169
|
+
* @param noteItems - The items to be included in a Note.
|
|
170
|
+
* @param noteHash - A hash of the new note.
|
|
171
|
+
* @returns
|
|
172
|
+
*/
|
|
173
|
+
privateNotifyCreatedNote(storageSlot: Fr, randomness: Fr, noteTypeId: NoteSelector, noteItems: Fr[], noteHash: Fr, counter: number): void;
|
|
174
|
+
/**
|
|
175
|
+
* Adding a siloed nullifier into the current set of all pending nullifiers created
|
|
176
|
+
* within the current transaction/execution.
|
|
177
|
+
* @param innerNullifier - The pending nullifier to add in the list (not yet siloed by contract address).
|
|
178
|
+
* @param noteHash - A hash of the new note.
|
|
179
|
+
*/
|
|
180
|
+
privateNotifyNullifiedNote(innerNullifier: Fr, noteHash: Fr, counter: number): Promise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* Adding a siloed nullifier into the current set of all pending nullifiers created
|
|
183
|
+
* within the current transaction/execution.
|
|
184
|
+
* @param innerNullifier - The pending nullifier to add in the list (not yet siloed by contract address).
|
|
185
|
+
* @param noteHash - A hash of the new note.
|
|
186
|
+
*/
|
|
187
|
+
privateNotifyCreatedNullifier(innerNullifier: Fr): Promise<void>;
|
|
188
|
+
/**
|
|
189
|
+
* Emit a contract class log.
|
|
190
|
+
* This fn exists because we only carry a poseidon hash through the kernels, and need to
|
|
191
|
+
* keep the preimage in ts for later.
|
|
192
|
+
* @param log - The contract class log to be emitted.
|
|
193
|
+
* @param counter - The contract class log's counter.
|
|
194
|
+
*/
|
|
195
|
+
privateNotifyCreatedContractClassLog(log: ContractClassLog, counter: number): void;
|
|
196
|
+
/**
|
|
197
|
+
* Calls a private function as a nested execution.
|
|
198
|
+
* @param targetContractAddress - The address of the contract to call.
|
|
199
|
+
* @param functionSelector - The function selector of the function to call.
|
|
200
|
+
* @param argsHash - The arguments hash to pass to the function.
|
|
201
|
+
* @param sideEffectCounter - The side effect counter at the start of the call.
|
|
202
|
+
* @param isStaticCall - Whether the call is a static call.
|
|
203
|
+
* @returns The execution result.
|
|
204
|
+
*/
|
|
205
|
+
privateCallPrivateFunction(targetContractAddress: AztecAddress, functionSelector: FunctionSelector, argsHash: Fr, sideEffectCounter: number, isStaticCall: boolean): Promise<{
|
|
206
|
+
endSideEffectCounter: Fr;
|
|
207
|
+
returnsHash: Fr;
|
|
208
|
+
}>;
|
|
209
|
+
/**
|
|
210
|
+
* Verify relevant information when a public function is enqueued.
|
|
211
|
+
* @param targetContractAddress - The address of the contract to call.
|
|
212
|
+
* @param calldataHash - The hash of the function selector and arguments.
|
|
213
|
+
* @param sideEffectCounter - The side effect counter at the start of the call.
|
|
214
|
+
* @param isStaticCall - Whether the call is a static call.
|
|
215
|
+
*/
|
|
216
|
+
privateNotifyEnqueuedPublicFunctionCall(_targetContractAddress: AztecAddress, calldataHash: Fr, _sideEffectCounter: number, _isStaticCall: boolean): Promise<void>;
|
|
217
|
+
/**
|
|
218
|
+
* Verify relevant information when a public teardown function is set.
|
|
219
|
+
* @param targetContractAddress - The address of the contract to call.
|
|
220
|
+
* @param argsHash - The arguments hash to pass to the function.
|
|
221
|
+
* @param sideEffectCounter - The side effect counter at the start of the call.
|
|
222
|
+
* @param isStaticCall - Whether the call is a static call.
|
|
223
|
+
*/
|
|
224
|
+
privateNotifySetPublicTeardownFunctionCall(_targetContractAddress: AztecAddress, calldataHash: Fr, _sideEffectCounter: number, _isStaticCall: boolean): Promise<void>;
|
|
225
|
+
privateNotifySetMinRevertibleSideEffectCounter(minRevertibleSideEffectCounter: number): Promise<void>;
|
|
226
|
+
privateIsSideEffectCounterRevertible(sideEffectCounter: number): Promise<boolean>;
|
|
227
|
+
private deriveCallContext;
|
|
228
|
+
getDebugFunctionName(): Promise<string>;
|
|
229
|
+
utilityEmitOffchainEffect(data: Fr[]): Promise<void>;
|
|
230
|
+
}
|
|
231
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV9leGVjdXRpb25fb3JhY2xlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udHJhY3RfZnVuY3Rpb25fc2ltdWxhdG9yL29yYWNsZS9wcml2YXRlX2V4ZWN1dGlvbl9vcmFjbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRzlDLE9BQU8sRUFBRSxLQUFLLGdCQUFnQixFQUFpQixNQUFNLHlCQUF5QixDQUFDO0FBQy9FLE9BQU8sRUFDTCxLQUFLLFdBQVcsRUFFaEIsZ0JBQWdCLEVBQ2hCLEtBQUssWUFBWSxFQUVsQixNQUFNLG1CQUFtQixDQUFDO0FBQzNCLE9BQU8sS0FBSyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzlELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUUzRCxP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1
|
+
{"version":3,"file":"private_execution_oracle.d.ts","sourceRoot":"","sources":["../../../src/contract_function_simulator/oracle/private_execution_oracle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAG9C,OAAO,EAAE,KAAK,gBAAgB,EAAiB,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EACL,KAAK,WAAW,EAEhB,gBAAgB,EAChB,KAAK,YAAY,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAA+B,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAChG,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EACX,OAAO,EACP,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,sBAAuB,YAAW,uBAAuB;;IA4BjG,OAAO,CAAC,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