@aztec/pxe 0.0.1-commit.9372f48 → 0.0.1-commit.949a33fd8
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/dest/bin/check_oracle_version.js +4 -4
- package/dest/block_synchronizer/block_stream_source.d.ts +10 -0
- package/dest/block_synchronizer/block_stream_source.d.ts.map +1 -0
- package/dest/block_synchronizer/block_stream_source.js +37 -0
- package/dest/block_synchronizer/block_synchronizer.d.ts +9 -3
- package/dest/block_synchronizer/block_synchronizer.d.ts.map +1 -1
- package/dest/block_synchronizer/block_synchronizer.js +37 -11
- package/dest/config/index.d.ts +2 -2
- package/dest/config/index.d.ts.map +1 -1
- package/dest/config/index.js +8 -15
- package/dest/config/package_info.js +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.d.ts +63 -29
- package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.js +207 -75
- package/dest/contract_function_simulator/ephemeral_array_service.d.ts +28 -0
- package/dest/contract_function_simulator/ephemeral_array_service.d.ts.map +1 -0
- package/dest/contract_function_simulator/ephemeral_array_service.js +78 -0
- package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts +7 -7
- package/dest/contract_function_simulator/execution_tagging_index_cache.d.ts.map +1 -1
- package/dest/contract_function_simulator/execution_tagging_index_cache.js +19 -11
- package/dest/contract_function_simulator/index.d.ts +2 -1
- package/dest/contract_function_simulator/index.d.ts.map +1 -1
- package/dest/contract_function_simulator/index.js +1 -0
- package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts +4 -6
- package/dest/contract_function_simulator/noir-structs/event_validation_request.d.ts.map +1 -1
- package/dest/contract_function_simulator/noir-structs/event_validation_request.js +8 -10
- package/dest/contract_function_simulator/noir-structs/log_retrieval_request.d.ts +1 -1
- package/dest/contract_function_simulator/noir-structs/log_retrieval_request.js +1 -1
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts +2 -2
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.d.ts.map +1 -1
- package/dest/contract_function_simulator/noir-structs/log_retrieval_response.js +2 -4
- package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts +4 -7
- package/dest/contract_function_simulator/noir-structs/note_validation_request.d.ts.map +1 -1
- package/dest/contract_function_simulator/noir-structs/note_validation_request.js +6 -11
- package/dest/contract_function_simulator/oracle/interfaces.d.ts +63 -45
- package/dest/contract_function_simulator/oracle/interfaces.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/legacy_oracle_mappings.d.ts +9 -0
- package/dest/contract_function_simulator/oracle/legacy_oracle_mappings.d.ts.map +1 -0
- package/dest/contract_function_simulator/oracle/legacy_oracle_mappings.js +47 -0
- package/dest/contract_function_simulator/oracle/oracle.d.ts +76 -44
- package/dest/contract_function_simulator/oracle/oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/oracle.js +307 -103
- package/dest/contract_function_simulator/oracle/private_execution.js +5 -3
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +58 -84
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/private_execution_oracle.js +122 -96
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +126 -66
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +366 -134
- package/dest/contract_function_simulator/pick_notes.d.ts +1 -1
- package/dest/contract_function_simulator/pick_notes.d.ts.map +1 -1
- package/dest/contract_function_simulator/pick_notes.js +20 -3
- package/dest/contract_function_simulator/proxied_contract_data_source.d.ts +1 -1
- package/dest/contract_function_simulator/proxied_contract_data_source.d.ts.map +1 -1
- package/dest/contract_function_simulator/proxied_contract_data_source.js +3 -0
- package/dest/contract_logging.d.ts +27 -0
- package/dest/contract_logging.d.ts.map +1 -0
- package/dest/contract_logging.js +38 -0
- package/dest/contract_sync/contract_sync_service.d.ts +44 -0
- package/dest/contract_sync/contract_sync_service.d.ts.map +1 -0
- package/dest/contract_sync/contract_sync_service.js +116 -0
- package/dest/contract_sync/helpers.d.ts +28 -0
- package/dest/contract_sync/helpers.d.ts.map +1 -0
- package/dest/contract_sync/{index.js → helpers.js} +19 -13
- package/dest/debug/pxe_debug_utils.d.ts +14 -10
- package/dest/debug/pxe_debug_utils.d.ts.map +1 -1
- package/dest/debug/pxe_debug_utils.js +16 -15
- package/dest/entrypoints/client/bundle/index.d.ts +3 -1
- package/dest/entrypoints/client/bundle/index.d.ts.map +1 -1
- package/dest/entrypoints/client/bundle/index.js +2 -0
- package/dest/entrypoints/client/bundle/utils.d.ts +2 -2
- package/dest/entrypoints/client/bundle/utils.d.ts.map +1 -1
- package/dest/entrypoints/client/bundle/utils.js +11 -3
- package/dest/entrypoints/client/lazy/index.d.ts +3 -1
- package/dest/entrypoints/client/lazy/index.d.ts.map +1 -1
- package/dest/entrypoints/client/lazy/index.js +2 -0
- package/dest/entrypoints/client/lazy/utils.d.ts +2 -2
- package/dest/entrypoints/client/lazy/utils.d.ts.map +1 -1
- package/dest/entrypoints/client/lazy/utils.js +11 -3
- package/dest/entrypoints/pxe_creation_options.d.ts +3 -1
- package/dest/entrypoints/pxe_creation_options.d.ts.map +1 -1
- package/dest/entrypoints/pxe_creation_options.js +3 -1
- package/dest/entrypoints/server/index.d.ts +4 -3
- package/dest/entrypoints/server/index.d.ts.map +1 -1
- package/dest/entrypoints/server/index.js +3 -2
- package/dest/entrypoints/server/utils.d.ts +2 -2
- package/dest/entrypoints/server/utils.d.ts.map +1 -1
- package/dest/entrypoints/server/utils.js +11 -3
- package/dest/events/event_service.d.ts +3 -2
- package/dest/events/event_service.d.ts.map +1 -1
- package/dest/events/event_service.js +26 -5
- package/dest/events/private_event_filter_validator.d.ts +3 -2
- package/dest/events/private_event_filter_validator.d.ts.map +1 -1
- package/dest/events/private_event_filter_validator.js +15 -0
- package/dest/logs/log_service.d.ts +7 -7
- package/dest/logs/log_service.d.ts.map +1 -1
- package/dest/logs/log_service.js +34 -51
- package/dest/messages/message_context_service.d.ts +17 -0
- package/dest/messages/message_context_service.d.ts.map +1 -0
- package/dest/messages/message_context_service.js +36 -0
- package/dest/notes/note_service.d.ts +4 -4
- package/dest/notes/note_service.d.ts.map +1 -1
- package/dest/notes/note_service.js +17 -7
- package/dest/notes_filter.d.ts +24 -0
- package/dest/notes_filter.d.ts.map +1 -0
- package/dest/notes_filter.js +4 -0
- package/dest/oracle_version.d.ts +4 -3
- package/dest/oracle_version.d.ts.map +1 -1
- package/dest/oracle_version.js +20 -10
- package/dest/private_kernel/hints/compute_tx_expiration_timestamp.d.ts +4 -0
- package/dest/private_kernel/hints/compute_tx_expiration_timestamp.d.ts.map +1 -0
- package/dest/private_kernel/hints/{compute_tx_include_by_timestamp.js → compute_tx_expiration_timestamp.js} +12 -12
- package/dest/private_kernel/hints/index.d.ts +1 -1
- package/dest/private_kernel/hints/index.js +1 -1
- package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts +4 -3
- package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.d.ts.map +1 -1
- package/dest/private_kernel/hints/private_kernel_reset_private_inputs_builder.js +129 -68
- package/dest/private_kernel/hints/test_utils.d.ts +122 -0
- package/dest/private_kernel/hints/test_utils.d.ts.map +1 -0
- package/dest/private_kernel/hints/test_utils.js +203 -0
- package/dest/private_kernel/private_kernel_execution_prover.d.ts +1 -1
- package/dest/private_kernel/private_kernel_execution_prover.d.ts.map +1 -1
- package/dest/private_kernel/private_kernel_execution_prover.js +18 -13
- package/dest/private_kernel/private_kernel_oracle.d.ts +10 -6
- package/dest/private_kernel/private_kernel_oracle.d.ts.map +1 -1
- package/dest/private_kernel/private_kernel_oracle.js +19 -18
- package/dest/pxe.d.ts +85 -24
- package/dest/pxe.d.ts.map +1 -1
- package/dest/pxe.js +165 -84
- package/dest/storage/anchor_block_store/anchor_block_store.js +1 -1
- package/dest/storage/capsule_store/capsule_service.d.ts +21 -0
- package/dest/storage/capsule_store/capsule_service.d.ts.map +1 -0
- package/dest/storage/capsule_store/capsule_service.js +50 -0
- package/dest/storage/capsule_store/capsule_store.d.ts +9 -9
- package/dest/storage/capsule_store/capsule_store.d.ts.map +1 -1
- package/dest/storage/capsule_store/capsule_store.js +36 -28
- package/dest/storage/capsule_store/index.d.ts +2 -1
- package/dest/storage/capsule_store/index.d.ts.map +1 -1
- package/dest/storage/capsule_store/index.js +1 -0
- package/dest/storage/contract_store/contract_store.d.ts +42 -15
- package/dest/storage/contract_store/contract_store.d.ts.map +1 -1
- package/dest/storage/contract_store/contract_store.js +148 -70
- package/dest/storage/metadata.d.ts +1 -1
- package/dest/storage/metadata.js +1 -1
- package/dest/storage/note_store/note_store.d.ts +3 -3
- package/dest/storage/note_store/note_store.d.ts.map +1 -1
- package/dest/storage/note_store/note_store.js +6 -4
- package/dest/storage/private_event_store/private_event_store.d.ts +1 -1
- package/dest/storage/private_event_store/private_event_store.d.ts.map +1 -1
- package/dest/storage/private_event_store/private_event_store.js +3 -0
- package/dest/storage/private_event_store/stored_private_event.js +1 -1
- package/dest/storage/tagging_store/recipient_tagging_store.d.ts +6 -6
- package/dest/storage/tagging_store/recipient_tagging_store.d.ts.map +1 -1
- package/dest/storage/tagging_store/sender_tagging_store.d.ts +29 -28
- package/dest/storage/tagging_store/sender_tagging_store.d.ts.map +1 -1
- package/dest/storage/tagging_store/sender_tagging_store.js +141 -115
- package/dest/tagging/get_all_logs_by_tags.d.ts +1 -1
- package/dest/tagging/get_all_logs_by_tags.d.ts.map +1 -1
- package/dest/tagging/get_all_logs_by_tags.js +17 -3
- package/dest/tagging/index.d.ts +3 -3
- package/dest/tagging/index.d.ts.map +1 -1
- package/dest/tagging/index.js +1 -1
- package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts +4 -5
- package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.d.ts.map +1 -1
- package/dest/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.js +8 -22
- package/dest/tagging/recipient_sync/utils/find_highest_indexes.js +2 -2
- package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts +6 -7
- package/dest/tagging/recipient_sync/utils/load_logs_for_range.d.ts.map +1 -1
- package/dest/tagging/recipient_sync/utils/load_logs_for_range.js +12 -11
- package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts +4 -8
- package/dest/tagging/sender_sync/sync_sender_tagging_indexes.d.ts.map +1 -1
- package/dest/tagging/sender_sync/sync_sender_tagging_indexes.js +13 -7
- package/dest/tagging/sender_sync/utils/get_status_change_of_pending.d.ts +4 -3
- package/dest/tagging/sender_sync/utils/get_status_change_of_pending.d.ts.map +1 -1
- package/dest/tagging/sender_sync/utils/get_status_change_of_pending.js +20 -10
- package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts +5 -7
- package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.d.ts.map +1 -1
- package/dest/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.js +36 -24
- package/package.json +25 -16
- package/src/bin/check_oracle_version.ts +4 -4
- package/src/block_synchronizer/block_stream_source.ts +52 -0
- package/src/block_synchronizer/block_synchronizer.ts +39 -11
- package/src/config/index.ts +3 -9
- package/src/config/package_info.ts +1 -1
- package/src/contract_function_simulator/contract_function_simulator.ts +367 -136
- package/src/contract_function_simulator/ephemeral_array_service.ts +110 -0
- package/src/contract_function_simulator/execution_tagging_index_cache.ts +19 -14
- package/src/contract_function_simulator/index.ts +1 -0
- package/src/contract_function_simulator/noir-structs/event_validation_request.ts +9 -9
- package/src/contract_function_simulator/noir-structs/log_retrieval_request.ts +1 -1
- package/src/contract_function_simulator/noir-structs/log_retrieval_response.ts +2 -5
- package/src/contract_function_simulator/noir-structs/note_validation_request.ts +4 -10
- package/src/contract_function_simulator/oracle/interfaces.ts +91 -53
- package/src/contract_function_simulator/oracle/legacy_oracle_mappings.ts +104 -0
- package/src/contract_function_simulator/oracle/oracle.ts +387 -142
- package/src/contract_function_simulator/oracle/private_execution.ts +4 -4
- package/src/contract_function_simulator/oracle/private_execution_oracle.ts +154 -185
- package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +610 -165
- package/src/contract_function_simulator/pick_notes.ts +22 -3
- package/src/contract_function_simulator/proxied_contract_data_source.ts +8 -1
- package/src/contract_logging.ts +52 -0
- package/src/contract_sync/contract_sync_service.ts +176 -0
- package/src/contract_sync/{index.ts → helpers.ts} +22 -22
- package/src/debug/pxe_debug_utils.ts +48 -18
- package/src/entrypoints/client/bundle/index.ts +2 -0
- package/src/entrypoints/client/bundle/utils.ts +11 -4
- package/src/entrypoints/client/lazy/index.ts +2 -0
- package/src/entrypoints/client/lazy/utils.ts +11 -4
- package/src/entrypoints/pxe_creation_options.ts +7 -0
- package/src/entrypoints/server/index.ts +3 -2
- package/src/entrypoints/server/utils.ts +9 -10
- package/src/events/event_service.ts +30 -5
- package/src/events/private_event_filter_validator.ts +21 -1
- package/src/logs/log_service.ts +64 -92
- package/src/messages/message_context_service.ts +44 -0
- package/src/notes/note_service.ts +19 -8
- package/src/notes_filter.ts +24 -0
- package/src/oracle_version.ts +20 -10
- package/src/private_kernel/hints/{compute_tx_include_by_timestamp.ts → compute_tx_expiration_timestamp.ts} +13 -13
- package/src/private_kernel/hints/index.ts +1 -1
- package/src/private_kernel/hints/private_kernel_reset_private_inputs_builder.ts +164 -117
- package/src/private_kernel/hints/test_utils.ts +325 -0
- package/src/private_kernel/private_kernel_execution_prover.ts +18 -16
- package/src/private_kernel/private_kernel_oracle.ts +21 -21
- package/src/pxe.ts +305 -138
- package/src/storage/anchor_block_store/anchor_block_store.ts +1 -1
- package/src/storage/capsule_store/capsule_service.ts +90 -0
- package/src/storage/capsule_store/capsule_store.ts +44 -26
- package/src/storage/capsule_store/index.ts +1 -0
- package/src/storage/contract_store/contract_store.ts +181 -80
- package/src/storage/metadata.ts +1 -1
- package/src/storage/note_store/note_store.ts +9 -5
- package/src/storage/private_event_store/private_event_store.ts +4 -0
- package/src/storage/private_event_store/stored_private_event.ts +1 -1
- package/src/storage/tagging_store/recipient_tagging_store.ts +9 -5
- package/src/storage/tagging_store/sender_tagging_store.ts +185 -138
- package/src/tagging/get_all_logs_by_tags.ts +28 -4
- package/src/tagging/index.ts +2 -2
- package/src/tagging/recipient_sync/load_private_logs_for_sender_recipient_pair.ts +12 -25
- package/src/tagging/recipient_sync/utils/find_highest_indexes.ts +2 -2
- package/src/tagging/recipient_sync/utils/load_logs_for_range.ts +10 -15
- package/src/tagging/sender_sync/sync_sender_tagging_indexes.ts +23 -10
- package/src/tagging/sender_sync/utils/get_status_change_of_pending.ts +26 -11
- package/src/tagging/sender_sync/utils/load_and_store_new_tagging_indexes.ts +27 -26
- package/dest/contract_sync/index.d.ts +0 -23
- package/dest/contract_sync/index.d.ts.map +0 -1
- package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts +0 -4
- package/dest/private_kernel/hints/compute_tx_include_by_timestamp.d.ts.map +0 -1
|
@@ -45,11 +45,11 @@ import { Oracle } from './oracle.js';
|
|
|
45
45
|
appCircuitName: functionName
|
|
46
46
|
});
|
|
47
47
|
const contractClassLogs = privateExecutionOracle.getContractClassLogs();
|
|
48
|
-
const rawReturnValues = await privateExecutionOracle.
|
|
48
|
+
const rawReturnValues = await privateExecutionOracle.getHashPreimage(publicInputs.returnsHash);
|
|
49
49
|
const newNotes = privateExecutionOracle.getNewNotes();
|
|
50
50
|
const noteHashNullifierCounterMap = privateExecutionOracle.getNoteHashNullifierCounterMap();
|
|
51
51
|
const offchainEffects = privateExecutionOracle.getOffchainEffects();
|
|
52
|
-
const
|
|
52
|
+
const taggingIndexRanges = privateExecutionOracle.getUsedTaggingIndexRanges();
|
|
53
53
|
const nestedExecutionResults = privateExecutionOracle.getNestedExecutionResults();
|
|
54
54
|
let timerSubtractionList = nestedExecutionResults;
|
|
55
55
|
let witgenTime = duration;
|
|
@@ -59,7 +59,9 @@ import { Oracle } from './oracle.js';
|
|
|
59
59
|
timerSubtractionList = timerSubtractionList.flatMap((nested)=>nested.nestedExecutionResults ?? []);
|
|
60
60
|
}
|
|
61
61
|
log.debug(`Returning from call to ${contractAddress.toString()}:${functionSelector}`);
|
|
62
|
-
return new PrivateCallExecutionResult(artifact.bytecode, Buffer.from(artifact.verificationKey, 'base64'), partialWitness, publicInputs, newNotes, noteHashNullifierCounterMap, rawReturnValues, offchainEffects
|
|
62
|
+
return new PrivateCallExecutionResult(artifact.bytecode, Buffer.from(artifact.verificationKey, 'base64'), partialWitness, publicInputs, newNotes, noteHashNullifierCounterMap, rawReturnValues, offchainEffects.map((e)=>({
|
|
63
|
+
data: e.data
|
|
64
|
+
})), taggingIndexRanges, nestedExecutionResults, contractClassLogs, {
|
|
63
65
|
timings: {
|
|
64
66
|
witgen: witgenTime,
|
|
65
67
|
oracles: acirExecutionResult.oracles
|
|
@@ -1,48 +1,37 @@
|
|
|
1
1
|
import { Fr } from '@aztec/foundation/curves/bn254';
|
|
2
|
-
import type { KeyStore } from '@aztec/key-store';
|
|
3
|
-
import { type CircuitSimulator } from '@aztec/simulator/client';
|
|
4
2
|
import { type FunctionAbi, type FunctionCall, FunctionSelector, type NoteSelector } from '@aztec/stdlib/abi';
|
|
5
|
-
import type { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
6
3
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
7
|
-
import type { AztecNode } from '@aztec/stdlib/interfaces/client';
|
|
8
4
|
import { PrivateContextInputs } from '@aztec/stdlib/kernel';
|
|
9
|
-
import { type ContractClassLog, type
|
|
5
|
+
import { type ContractClassLog, type TaggingIndexRange } from '@aztec/stdlib/logs';
|
|
10
6
|
import { Tag } from '@aztec/stdlib/logs';
|
|
11
7
|
import { type NoteStatus } from '@aztec/stdlib/note';
|
|
12
|
-
import {
|
|
13
|
-
import type { AddressStore } from '../../storage/address_store/address_store.js';
|
|
14
|
-
import type { CapsuleStore } from '../../storage/capsule_store/capsule_store.js';
|
|
15
|
-
import type { ContractStore } from '../../storage/contract_store/contract_store.js';
|
|
16
|
-
import type { NoteStore } from '../../storage/note_store/note_store.js';
|
|
17
|
-
import type { PrivateEventStore } from '../../storage/private_event_store/private_event_store.js';
|
|
18
|
-
import type { RecipientTaggingStore } from '../../storage/tagging_store/recipient_tagging_store.js';
|
|
19
|
-
import type { SenderAddressBookStore } from '../../storage/tagging_store/sender_address_book_store.js';
|
|
8
|
+
import { CallContext, CountedContractClassLog, NoteAndSlot, PrivateCallExecutionResult, type TxContext } from '@aztec/stdlib/tx';
|
|
20
9
|
import type { SenderTaggingStore } from '../../storage/tagging_store/sender_tagging_store.js';
|
|
21
10
|
import type { ExecutionNoteCache } from '../execution_note_cache.js';
|
|
22
11
|
import { ExecutionTaggingIndexCache } from '../execution_tagging_index_cache.js';
|
|
23
12
|
import type { HashedValuesCache } from '../hashed_values_cache.js';
|
|
24
13
|
import type { IPrivateExecutionOracle, NoteData } from './interfaces.js';
|
|
25
|
-
import { UtilityExecutionOracle } from './utility_execution_oracle.js';
|
|
14
|
+
import { UtilityExecutionOracle, type UtilityExecutionOracleArgs } from './utility_execution_oracle.js';
|
|
15
|
+
/** Args for PrivateExecutionOracle constructor. */
|
|
16
|
+
export type PrivateExecutionOracleArgs = Omit<UtilityExecutionOracleArgs, 'contractAddress'> & {
|
|
17
|
+
argsHash: Fr;
|
|
18
|
+
txContext: TxContext;
|
|
19
|
+
callContext: CallContext;
|
|
20
|
+
/** Needed to trigger contract synchronization before nested calls */
|
|
21
|
+
utilityExecutor: (call: FunctionCall, scopes: AztecAddress[]) => Promise<void>;
|
|
22
|
+
executionCache: HashedValuesCache;
|
|
23
|
+
noteCache: ExecutionNoteCache;
|
|
24
|
+
taggingIndexCache: ExecutionTaggingIndexCache;
|
|
25
|
+
senderTaggingStore: SenderTaggingStore;
|
|
26
|
+
totalPublicCalldataCount?: number;
|
|
27
|
+
sideEffectCounter?: number;
|
|
28
|
+
senderForTags?: AztecAddress;
|
|
29
|
+
};
|
|
26
30
|
/**
|
|
27
31
|
* The execution oracle for the private part of a transaction.
|
|
28
32
|
*/
|
|
29
33
|
export declare class PrivateExecutionOracle extends UtilityExecutionOracle implements IPrivateExecutionOracle {
|
|
30
34
|
#private;
|
|
31
|
-
private readonly argsHash;
|
|
32
|
-
private readonly txContext;
|
|
33
|
-
private readonly callContext;
|
|
34
|
-
/** Header of a block whose state is used during private execution (not the block the transaction is included in). */
|
|
35
|
-
protected readonly anchorBlockHeader: BlockHeader;
|
|
36
|
-
/** Needed to trigger contract synchronization before nested calls */
|
|
37
|
-
private readonly utilityExecutor;
|
|
38
|
-
private readonly executionCache;
|
|
39
|
-
private readonly noteCache;
|
|
40
|
-
private readonly taggingIndexCache;
|
|
41
|
-
private readonly senderTaggingStore;
|
|
42
|
-
private totalPublicCalldataCount;
|
|
43
|
-
protected sideEffectCounter: number;
|
|
44
|
-
private senderForTags?;
|
|
45
|
-
private simulator?;
|
|
46
35
|
isPrivate: true;
|
|
47
36
|
/**
|
|
48
37
|
* New notes created during this execution.
|
|
@@ -55,15 +44,22 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
55
44
|
private newNotes;
|
|
56
45
|
private noteHashNullifierCounterMap;
|
|
57
46
|
private contractClassLogs;
|
|
58
|
-
private offchainEffects;
|
|
59
47
|
private nestedExecutionResults;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
48
|
+
private readonly argsHash;
|
|
49
|
+
private readonly txContext;
|
|
50
|
+
private readonly callContext;
|
|
51
|
+
private readonly utilityExecutor;
|
|
52
|
+
private readonly executionCache;
|
|
53
|
+
private readonly noteCache;
|
|
54
|
+
private readonly taggingIndexCache;
|
|
55
|
+
private readonly senderTaggingStore;
|
|
56
|
+
private totalPublicCalldataCount;
|
|
57
|
+
private readonly initialSideEffectCounter;
|
|
58
|
+
/** Sender for tags passed in at oracle construction time. Returned by `getSenderForTags` unless overridden. */
|
|
59
|
+
private readonly defaultSenderForTags;
|
|
60
|
+
/** Per-call sender-for-tags override, set by `setSenderForTags`. Takes precedence over `defaultSenderForTags`. */
|
|
61
|
+
private currentSenderForTags;
|
|
62
|
+
constructor(args: PrivateExecutionOracleArgs);
|
|
67
63
|
getPrivateContextInputs(): PrivateContextInputs;
|
|
68
64
|
/**
|
|
69
65
|
* Writes the function inputs to the initial witness.
|
|
@@ -81,15 +77,9 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
81
77
|
*/
|
|
82
78
|
getContractClassLogs(): CountedContractClassLog[];
|
|
83
79
|
/**
|
|
84
|
-
*
|
|
80
|
+
* Returns the tagging index ranges that were used in this execution (and that need to be stored in the db).
|
|
85
81
|
*/
|
|
86
|
-
|
|
87
|
-
data: Fr[];
|
|
88
|
-
}[];
|
|
89
|
-
/**
|
|
90
|
-
* Returns the pre-tags that were used in this execution (and that need to be stored in the db).
|
|
91
|
-
*/
|
|
92
|
-
getUsedPreTags(): PreTag[];
|
|
82
|
+
getUsedTaggingIndexRanges(): TaggingIndexRange[];
|
|
93
83
|
/**
|
|
94
84
|
* Return the nested execution results during this execution.
|
|
95
85
|
*/
|
|
@@ -101,10 +91,9 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
101
91
|
* for a tag in order to emit a log. Constrained tagging should not use this as there is no
|
|
102
92
|
* guarantee that the recipient knows about the sender, and hence about the shared secret.
|
|
103
93
|
*
|
|
104
|
-
*
|
|
105
|
-
* 'senderForTags' value (unless it is replaced).
|
|
94
|
+
* Returns `currentSenderForTags` if set (via `setSenderForTags`), otherwise `defaultSenderForTags`.
|
|
106
95
|
*/
|
|
107
|
-
|
|
96
|
+
getSenderForTags(): Promise<AztecAddress | undefined>;
|
|
108
97
|
/**
|
|
109
98
|
* Set the sender for tags.
|
|
110
99
|
*
|
|
@@ -112,31 +101,30 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
112
101
|
* for a tag in order to emit a log. Constrained tagging should not use this as there is no
|
|
113
102
|
* guarantee that the recipient knows about the sender, and hence about the shared secret.
|
|
114
103
|
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* value (unless it is replaced by another call to this setter).
|
|
104
|
+
* Overrides `defaultSenderForTags` for the remainder of this call. Each oracle instance is
|
|
105
|
+
* independent, so this has no effect on any other call in the execution.
|
|
118
106
|
*/
|
|
119
|
-
|
|
107
|
+
setSenderForTags(senderForTags: AztecAddress): Promise<void>;
|
|
120
108
|
/**
|
|
121
109
|
* Returns the next app tag for a given sender and recipient pair.
|
|
122
110
|
* @param sender - The address sending the log
|
|
123
111
|
* @param recipient - The address receiving the log
|
|
124
112
|
* @returns An app tag to be used in a log.
|
|
125
113
|
*/
|
|
126
|
-
|
|
114
|
+
getNextAppTagAsSender(sender: AztecAddress, recipient: AztecAddress): Promise<Tag>;
|
|
127
115
|
/**
|
|
128
116
|
* Store values in the execution cache.
|
|
129
117
|
* @param values - Values to store.
|
|
130
118
|
* @returns The hash of the values.
|
|
131
119
|
*/
|
|
132
|
-
|
|
120
|
+
setHashPreimage(values: Fr[], hash: Fr): void;
|
|
133
121
|
/**
|
|
134
122
|
* Gets values from the execution cache.
|
|
135
123
|
* @param hash - Hash of the values.
|
|
136
124
|
* @returns The values.
|
|
137
125
|
*/
|
|
138
|
-
|
|
139
|
-
|
|
126
|
+
getHashPreimage(hash: Fr): Promise<Fr[]>;
|
|
127
|
+
doesNullifierExist(innerNullifier: Fr): Promise<boolean>;
|
|
140
128
|
/**
|
|
141
129
|
* Gets some notes for a storage slot.
|
|
142
130
|
*
|
|
@@ -158,7 +146,7 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
158
146
|
* @param status - The status of notes to fetch.
|
|
159
147
|
* @returns Array of note data.
|
|
160
148
|
*/
|
|
161
|
-
|
|
149
|
+
getNotes(owner: AztecAddress | undefined, 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
150
|
/**
|
|
163
151
|
* Keep track of the new note created during execution.
|
|
164
152
|
* It can be used in subsequent calls (or transactions when chaining txs is possible).
|
|
@@ -170,29 +158,29 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
170
158
|
* @param noteHash - A hash of the new note.
|
|
171
159
|
* @returns
|
|
172
160
|
*/
|
|
173
|
-
|
|
161
|
+
notifyCreatedNote(owner: AztecAddress, storageSlot: Fr, randomness: Fr, noteTypeId: NoteSelector, noteItems: Fr[], noteHash: Fr, counter: number): void;
|
|
174
162
|
/**
|
|
175
163
|
* Adding a siloed nullifier into the current set of all pending nullifiers created
|
|
176
164
|
* within the current transaction/execution.
|
|
177
165
|
* @param innerNullifier - The pending nullifier to add in the list (not yet siloed by contract address).
|
|
178
166
|
* @param noteHash - A hash of the new note.
|
|
179
167
|
*/
|
|
180
|
-
|
|
168
|
+
notifyNullifiedNote(innerNullifier: Fr, noteHash: Fr, counter: number): Promise<void>;
|
|
181
169
|
/**
|
|
182
170
|
* Adding a siloed nullifier into the current set of all pending nullifiers created
|
|
183
171
|
* within the current transaction/execution.
|
|
184
172
|
* @param innerNullifier - The pending nullifier to add in the list (not yet siloed by contract address).
|
|
185
173
|
* @param noteHash - A hash of the new note.
|
|
186
174
|
*/
|
|
187
|
-
|
|
175
|
+
notifyCreatedNullifier(innerNullifier: Fr): Promise<void>;
|
|
188
176
|
/**
|
|
189
|
-
* Check if a nullifier has been emitted in the same transaction, i.e. if
|
|
177
|
+
* Check if a nullifier has been emitted in the same transaction, i.e. if notifyCreatedNullifier has been
|
|
190
178
|
* called for this inner nullifier from the contract with the specified address.
|
|
191
179
|
* @param innerNullifier - The inner nullifier to check.
|
|
192
180
|
* @param contractAddress - Address of the contract that emitted the nullifier.
|
|
193
181
|
* @returns A boolean indicating whether the nullifier is pending or not.
|
|
194
182
|
*/
|
|
195
|
-
|
|
183
|
+
isNullifierPending(innerNullifier: Fr, contractAddress: AztecAddress): Promise<boolean>;
|
|
196
184
|
/**
|
|
197
185
|
* Emit a contract class log.
|
|
198
186
|
* This fn exists because we only carry a poseidon hash through the kernels, and need to
|
|
@@ -200,7 +188,7 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
200
188
|
* @param log - The contract class log to be emitted.
|
|
201
189
|
* @param counter - The contract class log's counter.
|
|
202
190
|
*/
|
|
203
|
-
|
|
191
|
+
notifyCreatedContractClassLog(log: ContractClassLog, counter: number): void;
|
|
204
192
|
/**
|
|
205
193
|
* Calls a private function as a nested execution.
|
|
206
194
|
* @param targetContractAddress - The address of the contract to call.
|
|
@@ -210,30 +198,16 @@ export declare class PrivateExecutionOracle extends UtilityExecutionOracle imple
|
|
|
210
198
|
* @param isStaticCall - Whether the call is a static call.
|
|
211
199
|
* @returns The execution result.
|
|
212
200
|
*/
|
|
213
|
-
|
|
201
|
+
callPrivateFunction(targetContractAddress: AztecAddress, functionSelector: FunctionSelector, argsHash: Fr, sideEffectCounter: number, isStaticCall: boolean): Promise<{
|
|
214
202
|
endSideEffectCounter: Fr;
|
|
215
203
|
returnsHash: Fr;
|
|
216
204
|
}>;
|
|
217
|
-
/**
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
* @param isStaticCall - Whether the call is a static call.
|
|
223
|
-
*/
|
|
224
|
-
privateNotifyEnqueuedPublicFunctionCall(_targetContractAddress: AztecAddress, calldataHash: Fr, _sideEffectCounter: number, _isStaticCall: boolean): Promise<void>;
|
|
225
|
-
/**
|
|
226
|
-
* Verify relevant information when a public teardown function is set.
|
|
227
|
-
* @param targetContractAddress - The address of the contract to call.
|
|
228
|
-
* @param argsHash - The arguments hash to pass to the function.
|
|
229
|
-
* @param sideEffectCounter - The side effect counter at the start of the call.
|
|
230
|
-
* @param isStaticCall - Whether the call is a static call.
|
|
231
|
-
*/
|
|
232
|
-
privateNotifySetPublicTeardownFunctionCall(_targetContractAddress: AztecAddress, calldataHash: Fr, _sideEffectCounter: number, _isStaticCall: boolean): Promise<void>;
|
|
233
|
-
privateNotifySetMinRevertibleSideEffectCounter(minRevertibleSideEffectCounter: number): Promise<void>;
|
|
234
|
-
privateIsSideEffectCounterRevertible(sideEffectCounter: number): Promise<boolean>;
|
|
205
|
+
/** Validates the calldata preimage exists in the cache and checks cumulative calldata size is within limits. */
|
|
206
|
+
assertValidPublicCalldata(calldataHash: Fr): Promise<void>;
|
|
207
|
+
getTotalPublicCalldataCount(): number;
|
|
208
|
+
notifyRevertiblePhaseStart(minRevertibleSideEffectCounter: number): Promise<void>;
|
|
209
|
+
isExecutionInRevertiblePhase(sideEffectCounter: number): Promise<boolean>;
|
|
235
210
|
private deriveCallContext;
|
|
236
211
|
getDebugFunctionName(): Promise<string>;
|
|
237
|
-
utilityEmitOffchainEffect(data: Fr[]): Promise<void>;
|
|
238
212
|
}
|
|
239
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
213
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZV9leGVjdXRpb25fb3JhY2xlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udHJhY3RfZnVuY3Rpb25fc2ltdWxhdG9yL29yYWNsZS9wcml2YXRlX2V4ZWN1dGlvbl9vcmFjbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBSXBELE9BQU8sRUFDTCxLQUFLLFdBQVcsRUFFaEIsS0FBSyxZQUFZLEVBQ2pCLGdCQUFnQixFQUNoQixLQUFLLFlBQVksRUFFbEIsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQU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QUUxQjtDQUNGIn0=
|
|
@@ -1 +1 @@
|
|
|
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,gCAAgC,CAAC;
|
|
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,gCAAgC,CAAC;AAIpD,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,YAAY,EACjB,gBAAgB,EAChB,KAAK,YAAY,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,KAAK,gBAAgB,EAAuC,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACxH,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACzC,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAE9F,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,KAAK,0BAA0B,EAAE,MAAM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