Skip to content

Commit 603dd71

Browse files
benesjanaztec-bot
authored andcommitted
chore: reverting accidentally merged AI slop (#22175)
1 parent 2a42665 commit 603dd71

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

yarn-project/txe/src/oracle/txe_oracle_top_level_context.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,6 @@ export class TXEOracleTopLevelContext implements IMiscOracle, ITxeExecutionOracl
327327
// empty scope list which acts as deny-all: no notes are visible and no keys are accessible.
328328
const effectiveScopes = from.isZero() ? [] : [from];
329329

330-
// For the sync step, we use all registered accounts as scopes. Note discovery during sync needs
331-
// broader key access (e.g. to compute nullifiers for notes belonging to any registered account),
332-
// while the private execution itself remains restricted to `effectiveScopes`.
333-
const syncScopes = from.isZero() ? [] : await this.keyStore.getAccounts();
334-
335330
// Sync notes before executing private function to discover notes from previous transactions
336331
const utilityExecutor = async (call: FunctionCall, execScopes: AztecAddress[]) => {
337332
await this.executeUtilityCall(call, execScopes, jobId);
@@ -344,7 +339,7 @@ export class TXEOracleTopLevelContext implements IMiscOracle, ITxeExecutionOracl
344339
utilityExecutor,
345340
blockHeader,
346341
jobId,
347-
syncScopes,
342+
effectiveScopes,
348343
);
349344

350345
const blockNumber = await this.getNextBlockNumber();

0 commit comments

Comments
 (0)