@aztec/pxe 4.0.0-devnet.1-patch.0 → 4.0.0-devnet.1-patch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dest/contract_function_simulator/contract_function_simulator.d.ts +51 -28
- package/dest/contract_function_simulator/contract_function_simulator.d.ts.map +1 -1
- package/dest/contract_function_simulator/contract_function_simulator.js +165 -57
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts +34 -36
- package/dest/contract_function_simulator/oracle/private_execution_oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/private_execution_oracle.js +62 -17
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts +28 -11
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.d.ts.map +1 -1
- package/dest/contract_function_simulator/oracle/utility_execution_oracle.js +20 -22
- package/dest/entrypoints/client/bundle/utils.d.ts +1 -1
- package/dest/entrypoints/client/bundle/utils.d.ts.map +1 -1
- package/dest/entrypoints/client/bundle/utils.js +9 -1
- package/dest/entrypoints/client/lazy/utils.d.ts +1 -1
- package/dest/entrypoints/client/lazy/utils.d.ts.map +1 -1
- package/dest/entrypoints/client/lazy/utils.js +9 -1
- package/dest/entrypoints/server/utils.js +9 -1
- package/dest/pxe.d.ts +52 -21
- package/dest/pxe.d.ts.map +1 -1
- package/dest/pxe.js +31 -27
- package/package.json +16 -16
- package/src/contract_function_simulator/contract_function_simulator.ts +314 -117
- package/src/contract_function_simulator/oracle/private_execution_oracle.ts +81 -93
- package/src/contract_function_simulator/oracle/utility_execution_oracle.ts +56 -19
- package/src/entrypoints/client/bundle/utils.ts +9 -1
- package/src/entrypoints/client/lazy/utils.ts +9 -1
- package/src/entrypoints/server/utils.ts +7 -7
- package/src/pxe.ts +84 -58
package/dest/pxe.d.ts
CHANGED
|
@@ -16,6 +16,50 @@ export type PackedPrivateEvent = InTx & {
|
|
|
16
16
|
packedEvent: Fr[];
|
|
17
17
|
eventSelector: EventSelector;
|
|
18
18
|
};
|
|
19
|
+
/** Options for PXE.profileTx. */
|
|
20
|
+
export type ProfileTxOpts = {
|
|
21
|
+
/** The profiling mode to use. */
|
|
22
|
+
profileMode: 'full' | 'execution-steps' | 'gates';
|
|
23
|
+
/** If true, proof generation is skipped during profiling. Defaults to true. */
|
|
24
|
+
skipProofGeneration?: boolean;
|
|
25
|
+
};
|
|
26
|
+
/** Options for PXE.simulateTx. */
|
|
27
|
+
export type SimulateTxOpts = {
|
|
28
|
+
/** Whether to simulate the public part of the transaction. */
|
|
29
|
+
simulatePublic: boolean;
|
|
30
|
+
/** If false, this function throws if the transaction is unable to be included in a block at the current state. */
|
|
31
|
+
skipTxValidation?: boolean;
|
|
32
|
+
/** If false, fees are enforced. */
|
|
33
|
+
skipFeeEnforcement?: boolean;
|
|
34
|
+
/** State overrides for the simulation, such as contract instances and artifacts. */
|
|
35
|
+
overrides?: SimulationOverrides;
|
|
36
|
+
/** The accounts whose notes we can access in this call. Defaults to all. */
|
|
37
|
+
scopes?: AztecAddress[];
|
|
38
|
+
};
|
|
39
|
+
/** Options for PXE.simulateUtility. */
|
|
40
|
+
export type SimulateUtilityOpts = {
|
|
41
|
+
/** The authentication witnesses required for the function call. */
|
|
42
|
+
authwits?: AuthWitness[];
|
|
43
|
+
/** The accounts whose notes we can access in this call. Defaults to all. */
|
|
44
|
+
scopes?: AztecAddress[];
|
|
45
|
+
};
|
|
46
|
+
/** Args for PXE.create. */
|
|
47
|
+
export type PXECreateArgs = {
|
|
48
|
+
/** The Aztec node to connect to. */
|
|
49
|
+
node: AztecNode;
|
|
50
|
+
/** The key-value store for persisting PXE state. */
|
|
51
|
+
store: AztecAsyncKVStore;
|
|
52
|
+
/** The prover for generating private kernel proofs. */
|
|
53
|
+
proofCreator: PrivateKernelProver;
|
|
54
|
+
/** The circuit simulator for executing ACIR circuits. */
|
|
55
|
+
simulator: CircuitSimulator;
|
|
56
|
+
/** Provider for protocol contract artifacts and instances. */
|
|
57
|
+
protocolContractsProvider: ProtocolContractsProvider;
|
|
58
|
+
/** PXE configuration options. */
|
|
59
|
+
config: PXEConfig;
|
|
60
|
+
/** Optional logger instance or string suffix for the logger name. */
|
|
61
|
+
loggerOrSuffix?: string | Logger;
|
|
62
|
+
};
|
|
19
63
|
/**
|
|
20
64
|
* Private eXecution Environment (PXE) is a library used by wallets to simulate private phase of transactions and to
|
|
21
65
|
* manage private state of users.
|
|
@@ -51,7 +95,7 @@ export declare class PXE {
|
|
|
51
95
|
*
|
|
52
96
|
* @returns A promise that resolves PXE is ready to be used.
|
|
53
97
|
*/
|
|
54
|
-
static create(node
|
|
98
|
+
static create({ node, store, proofCreator, simulator, protocolContractsProvider, config, loggerOrSuffix }: PXECreateArgs): Promise<PXE>;
|
|
55
99
|
/**
|
|
56
100
|
* Returns the block header up to which the PXE has synced.
|
|
57
101
|
* @returns The synced block header
|
|
@@ -151,14 +195,11 @@ export declare class PXE {
|
|
|
151
195
|
proveTx(txRequest: TxExecutionRequest): Promise<TxProvingResult>;
|
|
152
196
|
/**
|
|
153
197
|
* Profiles a transaction, reporting gate counts (unless disabled) and returns an execution trace.
|
|
154
|
-
*
|
|
155
|
-
* @param txRequest - An authenticated tx request ready for simulation
|
|
156
|
-
* @param msgSender - (Optional) The message sender to use for the simulation.
|
|
157
|
-
* @param skipTxValidation - (Optional) If false, this function throws if the transaction is unable to be included in a block at the current state.
|
|
198
|
+
* @param txRequest - An authenticated tx request ready for simulation.
|
|
158
199
|
* @returns A trace of the program execution with gate counts.
|
|
159
200
|
* @throws If the code for the functions executed in this transaction have not been made available via `addContracts`.
|
|
160
201
|
*/
|
|
161
|
-
profileTx(txRequest: TxExecutionRequest, profileMode
|
|
202
|
+
profileTx(txRequest: TxExecutionRequest, { profileMode, skipProofGeneration }: ProfileTxOpts): Promise<TxProfileResult>;
|
|
162
203
|
/**
|
|
163
204
|
* Simulates a transaction based on the provided preauthenticated execution request.
|
|
164
205
|
* This will run a local simulation of private execution (and optionally of public as well), run the
|
|
@@ -170,29 +211,19 @@ export declare class PXE {
|
|
|
170
211
|
* In that case, the transaction returned is only potentially ready to be sent to the network for execution.
|
|
171
212
|
*
|
|
172
213
|
*
|
|
173
|
-
* @param txRequest - An authenticated tx request ready for simulation
|
|
174
|
-
* @param simulatePublic - Whether to simulate the public part of the transaction.
|
|
175
|
-
* @param skipTxValidation - (Optional) If false, this function throws if the transaction is unable to be included in a block at the current state.
|
|
176
|
-
* @param skipFeeEnforcement - (Optional) If false, fees are enforced.
|
|
177
|
-
* @param overrides - (Optional) State overrides for the simulation, such as msgSender, contract instances and artifacts.
|
|
178
|
-
* @param scopes - (Optional) The accounts whose notes we can access in this call. Currently optional and will default to all.
|
|
214
|
+
* @param txRequest - An authenticated tx request ready for simulation.
|
|
179
215
|
* @returns A simulated transaction result object that includes public and private return values.
|
|
180
216
|
* @throws If the code for the functions executed in this transaction have not been made available via `addContracts`.
|
|
181
217
|
* Also throws if simulatePublic is true and public simulation reverts.
|
|
182
218
|
*
|
|
183
219
|
* TODO(#7456) Prevent msgSender being defined here for the first call
|
|
184
220
|
*/
|
|
185
|
-
simulateTx(txRequest: TxExecutionRequest, simulatePublic
|
|
221
|
+
simulateTx(txRequest: TxExecutionRequest, { simulatePublic, skipTxValidation, skipFeeEnforcement, overrides, scopes }: SimulateTxOpts): Promise<TxSimulationResult>;
|
|
186
222
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
223
|
+
* Simulates the execution of a contract utility function.
|
|
189
224
|
* @param call - The function call containing the function details, arguments, and target contract address.
|
|
190
|
-
* @param authwits - (Optional) The authentication witnesses required for the function call.
|
|
191
|
-
* @param scopes - (Optional) The accounts whose notes we can access in this call. Currently optional and will
|
|
192
|
-
* default to all.
|
|
193
|
-
* @returns The result of the utility function call, structured based on the function ABI.
|
|
194
225
|
*/
|
|
195
|
-
simulateUtility(call: FunctionCall, authwits
|
|
226
|
+
simulateUtility(call: FunctionCall, { authwits, scopes }?: SimulateUtilityOpts): Promise<UtilitySimulationResult>;
|
|
196
227
|
/**
|
|
197
228
|
* Returns the private events given search parameters.
|
|
198
229
|
* @param eventSelector - Event selector to search for.
|
|
@@ -212,4 +243,4 @@ export declare class PXE {
|
|
|
212
243
|
*/
|
|
213
244
|
stop(): Promise<void>;
|
|
214
245
|
}
|
|
215
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
246
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHhlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcHhlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFakUsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BELE9BQU8sRUFBRSxLQUFLLE1BQU0sRUFBcUMsTUFBTSx1QkFBdUIsQ0FBQztBQUl2RixPQUFPLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXpELE9BQU8sRUFBRSxLQUFLLHlCQUF5QixFQUF5QixNQUFNLDJCQUEyQixDQUFDO0FBQ2xHLE9BQU8sS0FBSyxFQUFFLGdCQUFnQixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDaEUsT0FBTyxFQUNMLEtBQUssZ0JBQWdCLEVBQ3JCLGFBQWEsRUFDYixZQUFZLEVBR2IsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQUFPLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM5RCxPQUFPLEtBQUssRUFBRSxZQUFZLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNoRSxPQUFPLEVBQ0wsZUFBZSxFQUNmLEtBQUssMkJBQTJCLEVBQ2hDLEtBQUssY0FBYyxFQUdwQixNQUFNLHdCQUF3QixDQ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AkB,GACzB,OAAO,CAAC,kBAAkB,EAAE,CAAC,CA6B/B;IAED;;OAEG;IACI,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAE3B;CACF"}
|
package/dest/pxe.js
CHANGED
|
@@ -84,11 +84,12 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
84
84
|
* can be contacted.
|
|
85
85
|
*
|
|
86
86
|
* @returns A promise that resolves PXE is ready to be used.
|
|
87
|
-
*/ static async create(node, store, proofCreator, simulator, protocolContractsProvider, config, loggerOrSuffix) {
|
|
87
|
+
*/ static async create({ node, store, proofCreator, simulator, protocolContractsProvider, config, loggerOrSuffix }) {
|
|
88
88
|
// Extract bindings from the logger, or use empty bindings if a string suffix is provided.
|
|
89
89
|
const bindings = loggerOrSuffix && typeof loggerOrSuffix !== 'string' ? loggerOrSuffix.getBindings() : undefined;
|
|
90
90
|
const log = !loggerOrSuffix || typeof loggerOrSuffix === 'string' ? createLogger(loggerOrSuffix ? `pxe:service:${loggerOrSuffix}` : `pxe:service`) : loggerOrSuffix;
|
|
91
|
-
const
|
|
91
|
+
const info = await node.getNodeInfo();
|
|
92
|
+
const proverEnabled = config.proverEnabled !== undefined ? config.proverEnabled : info.realProofs;
|
|
92
93
|
const addressStore = new AddressStore(store);
|
|
93
94
|
const privateEventStore = new PrivateEventStore(store);
|
|
94
95
|
const contractStore = new ContractStore(store);
|
|
@@ -117,14 +118,26 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
117
118
|
debugUtils.setPXEHelpers(pxe.#putInJobQueue.bind(pxe), pxe.#getSimulatorForTx.bind(pxe), pxe.#simulateUtility.bind(pxe));
|
|
118
119
|
pxe.jobQueue.start();
|
|
119
120
|
await pxe.#registerProtocolContracts();
|
|
120
|
-
const info = await node.getNodeInfo();
|
|
121
121
|
log.info(`Started PXE connected to chain ${info.l1ChainId} version ${info.rollupVersion}`);
|
|
122
122
|
return pxe;
|
|
123
123
|
}
|
|
124
124
|
// Internal methods
|
|
125
125
|
#getSimulatorForTx(overrides) {
|
|
126
126
|
const proxyContractStore = ProxiedContractStoreFactory.create(this.contractStore, overrides?.contracts);
|
|
127
|
-
return new ContractFunctionSimulator(
|
|
127
|
+
return new ContractFunctionSimulator({
|
|
128
|
+
contractStore: proxyContractStore,
|
|
129
|
+
noteStore: this.noteStore,
|
|
130
|
+
keyStore: this.keyStore,
|
|
131
|
+
addressStore: this.addressStore,
|
|
132
|
+
aztecNode: BenchmarkedNodeFactory.create(this.node),
|
|
133
|
+
senderTaggingStore: this.senderTaggingStore,
|
|
134
|
+
recipientTaggingStore: this.recipientTaggingStore,
|
|
135
|
+
senderAddressBookStore: this.senderAddressBookStore,
|
|
136
|
+
capsuleStore: this.capsuleStore,
|
|
137
|
+
privateEventStore: this.privateEventStore,
|
|
138
|
+
simulator: this.simulator,
|
|
139
|
+
contractSyncService: this.contractSyncService
|
|
140
|
+
});
|
|
128
141
|
}
|
|
129
142
|
#contextualizeError(err, ...context) {
|
|
130
143
|
let contextStr = '';
|
|
@@ -181,9 +194,13 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
181
194
|
try {
|
|
182
195
|
const anchorBlockHeader = await this.anchorBlockStore.getBlockHeader();
|
|
183
196
|
await this.contractSyncService.ensureContractSynced(contractAddress, functionSelector, (privateSyncCall)=>this.#simulateUtility(contractFunctionSimulator, privateSyncCall, [], undefined, jobId), anchorBlockHeader, jobId);
|
|
184
|
-
const result = await contractFunctionSimulator.run(txRequest,
|
|
185
|
-
|
|
186
|
-
|
|
197
|
+
const result = await contractFunctionSimulator.run(txRequest, {
|
|
198
|
+
contractAddress,
|
|
199
|
+
selector: functionSelector,
|
|
200
|
+
anchorBlockHeader,
|
|
201
|
+
scopes,
|
|
202
|
+
jobId
|
|
203
|
+
});
|
|
187
204
|
this.log.debug(`Private simulation completed for ${contractAddress.toString()}:${functionSelector}`);
|
|
188
205
|
return result;
|
|
189
206
|
} catch (err) {
|
|
@@ -498,13 +515,10 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
498
515
|
}
|
|
499
516
|
/**
|
|
500
517
|
* Profiles a transaction, reporting gate counts (unless disabled) and returns an execution trace.
|
|
501
|
-
*
|
|
502
|
-
* @param txRequest - An authenticated tx request ready for simulation
|
|
503
|
-
* @param msgSender - (Optional) The message sender to use for the simulation.
|
|
504
|
-
* @param skipTxValidation - (Optional) If false, this function throws if the transaction is unable to be included in a block at the current state.
|
|
518
|
+
* @param txRequest - An authenticated tx request ready for simulation.
|
|
505
519
|
* @returns A trace of the program execution with gate counts.
|
|
506
520
|
* @throws If the code for the functions executed in this transaction have not been made available via `addContracts`.
|
|
507
|
-
*/ profileTx(txRequest, profileMode, skipProofGeneration = true) {
|
|
521
|
+
*/ profileTx(txRequest, { profileMode, skipProofGeneration = true }) {
|
|
508
522
|
// We disable concurrent profiles for consistency with simulateTx.
|
|
509
523
|
return this.#putInJobQueue(async (jobId)=>{
|
|
510
524
|
const totalTimer = new Timer();
|
|
@@ -567,18 +581,13 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
567
581
|
* In that case, the transaction returned is only potentially ready to be sent to the network for execution.
|
|
568
582
|
*
|
|
569
583
|
*
|
|
570
|
-
* @param txRequest - An authenticated tx request ready for simulation
|
|
571
|
-
* @param simulatePublic - Whether to simulate the public part of the transaction.
|
|
572
|
-
* @param skipTxValidation - (Optional) If false, this function throws if the transaction is unable to be included in a block at the current state.
|
|
573
|
-
* @param skipFeeEnforcement - (Optional) If false, fees are enforced.
|
|
574
|
-
* @param overrides - (Optional) State overrides for the simulation, such as msgSender, contract instances and artifacts.
|
|
575
|
-
* @param scopes - (Optional) The accounts whose notes we can access in this call. Currently optional and will default to all.
|
|
584
|
+
* @param txRequest - An authenticated tx request ready for simulation.
|
|
576
585
|
* @returns A simulated transaction result object that includes public and private return values.
|
|
577
586
|
* @throws If the code for the functions executed in this transaction have not been made available via `addContracts`.
|
|
578
587
|
* Also throws if simulatePublic is true and public simulation reverts.
|
|
579
588
|
*
|
|
580
589
|
* TODO(#7456) Prevent msgSender being defined here for the first call
|
|
581
|
-
*/ simulateTx(txRequest, simulatePublic, skipTxValidation = false, skipFeeEnforcement = false, overrides, scopes) {
|
|
590
|
+
*/ simulateTx(txRequest, { simulatePublic, skipTxValidation = false, skipFeeEnforcement = false, overrides, scopes }) {
|
|
582
591
|
// We disable concurrent simulations since those might execute oracles which read and write to the PXE stores (e.g.
|
|
583
592
|
// to the capsules), and we need to prevent concurrent runs from interfering with one another (e.g. attempting to
|
|
584
593
|
// delete the same read value, or reading values that another simulation is currently modifying).
|
|
@@ -613,7 +622,7 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
613
622
|
let publicInputs;
|
|
614
623
|
let executionSteps = [];
|
|
615
624
|
if (skipKernels) {
|
|
616
|
-
({ publicInputs, executionSteps } = await generateSimulatedProvingResult(privateExecutionResult, (addr, sel)=>this.contractStore.getDebugFunctionName(addr, sel)));
|
|
625
|
+
({ publicInputs, executionSteps } = await generateSimulatedProvingResult(privateExecutionResult, (addr, sel)=>this.contractStore.getDebugFunctionName(addr, sel), this.node));
|
|
617
626
|
} else {
|
|
618
627
|
// Kernel logic, plus proving of all private functions and kernels.
|
|
619
628
|
({ publicInputs, executionSteps } = await this.#prove(txRequest, this.proofCreator, privateExecutionResult, {
|
|
@@ -678,14 +687,9 @@ import { SenderTaggingStore } from './storage/tagging_store/sender_tagging_store
|
|
|
678
687
|
});
|
|
679
688
|
}
|
|
680
689
|
/**
|
|
681
|
-
*
|
|
682
|
-
*
|
|
690
|
+
* Simulates the execution of a contract utility function.
|
|
683
691
|
* @param call - The function call containing the function details, arguments, and target contract address.
|
|
684
|
-
|
|
685
|
-
* @param scopes - (Optional) The accounts whose notes we can access in this call. Currently optional and will
|
|
686
|
-
* default to all.
|
|
687
|
-
* @returns The result of the utility function call, structured based on the function ABI.
|
|
688
|
-
*/ simulateUtility(call, authwits, scopes) {
|
|
692
|
+
*/ simulateUtility(call, { authwits, scopes } = {}) {
|
|
689
693
|
// We disable concurrent simulations since those might execute oracles which read and write to the PXE stores (e.g.
|
|
690
694
|
// to the capsules), and we need to prevent concurrent runs from interfering with one another (e.g. attempting to
|
|
691
695
|
// delete the same read value, or reading values that another simulation is currently modifying).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/pxe",
|
|
3
|
-
"version": "4.0.0-devnet.1-patch.
|
|
3
|
+
"version": "4.0.0-devnet.1-patch.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"typedocOptions": {
|
|
6
6
|
"entryPoints": [
|
|
@@ -70,19 +70,19 @@
|
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@aztec/bb-prover": "4.0.0-devnet.1-patch.
|
|
74
|
-
"@aztec/bb.js": "4.0.0-devnet.1-patch.
|
|
75
|
-
"@aztec/builder": "4.0.0-devnet.1-patch.
|
|
76
|
-
"@aztec/constants": "4.0.0-devnet.1-patch.
|
|
77
|
-
"@aztec/ethereum": "4.0.0-devnet.1-patch.
|
|
78
|
-
"@aztec/foundation": "4.0.0-devnet.1-patch.
|
|
79
|
-
"@aztec/key-store": "4.0.0-devnet.1-patch.
|
|
80
|
-
"@aztec/kv-store": "4.0.0-devnet.1-patch.
|
|
81
|
-
"@aztec/noir-protocol-circuits-types": "4.0.0-devnet.1-patch.
|
|
82
|
-
"@aztec/noir-types": "4.0.0-devnet.1-patch.
|
|
83
|
-
"@aztec/protocol-contracts": "4.0.0-devnet.1-patch.
|
|
84
|
-
"@aztec/simulator": "4.0.0-devnet.1-patch.
|
|
85
|
-
"@aztec/stdlib": "4.0.0-devnet.1-patch.
|
|
73
|
+
"@aztec/bb-prover": "4.0.0-devnet.1-patch.1",
|
|
74
|
+
"@aztec/bb.js": "4.0.0-devnet.1-patch.1",
|
|
75
|
+
"@aztec/builder": "4.0.0-devnet.1-patch.1",
|
|
76
|
+
"@aztec/constants": "4.0.0-devnet.1-patch.1",
|
|
77
|
+
"@aztec/ethereum": "4.0.0-devnet.1-patch.1",
|
|
78
|
+
"@aztec/foundation": "4.0.0-devnet.1-patch.1",
|
|
79
|
+
"@aztec/key-store": "4.0.0-devnet.1-patch.1",
|
|
80
|
+
"@aztec/kv-store": "4.0.0-devnet.1-patch.1",
|
|
81
|
+
"@aztec/noir-protocol-circuits-types": "4.0.0-devnet.1-patch.1",
|
|
82
|
+
"@aztec/noir-types": "4.0.0-devnet.1-patch.1",
|
|
83
|
+
"@aztec/protocol-contracts": "4.0.0-devnet.1-patch.1",
|
|
84
|
+
"@aztec/simulator": "4.0.0-devnet.1-patch.1",
|
|
85
|
+
"@aztec/stdlib": "4.0.0-devnet.1-patch.1",
|
|
86
86
|
"koa": "^2.16.1",
|
|
87
87
|
"koa-router": "^13.1.1",
|
|
88
88
|
"lodash.omit": "^4.5.0",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"viem": "npm:@aztec/viem@2.38.2"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@aztec/merkle-tree": "4.0.0-devnet.1-patch.
|
|
95
|
-
"@aztec/noir-test-contracts.js": "4.0.0-devnet.1-patch.
|
|
94
|
+
"@aztec/merkle-tree": "4.0.0-devnet.1-patch.1",
|
|
95
|
+
"@aztec/noir-test-contracts.js": "4.0.0-devnet.1-patch.1",
|
|
96
96
|
"@jest/globals": "^30.0.0",
|
|
97
97
|
"@types/jest": "^30.0.0",
|
|
98
98
|
"@types/lodash.omit": "^4.5.7",
|