From 7028911da0a46170b5d21f6883d0726866188743 Mon Sep 17 00:00:00 2001 From: benesjan Date: Tue, 31 Mar 2026 08:06:27 +0000 Subject: [PATCH] chore: reverting accidentally merged AI slop --- .../txe/src/oracle/txe_oracle_top_level_context.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/yarn-project/txe/src/oracle/txe_oracle_top_level_context.ts b/yarn-project/txe/src/oracle/txe_oracle_top_level_context.ts index 7a1bde67222..d5b01754c8e 100644 --- a/yarn-project/txe/src/oracle/txe_oracle_top_level_context.ts +++ b/yarn-project/txe/src/oracle/txe_oracle_top_level_context.ts @@ -327,11 +327,6 @@ export class TXEOracleTopLevelContext implements IMiscOracle, ITxeExecutionOracl // empty scope list which acts as deny-all: no notes are visible and no keys are accessible. const effectiveScopes = from.isZero() ? [] : [from]; - // For the sync step, we use all registered accounts as scopes. Note discovery during sync needs - // broader key access (e.g. to compute nullifiers for notes belonging to any registered account), - // while the private execution itself remains restricted to `effectiveScopes`. - const syncScopes = from.isZero() ? [] : await this.keyStore.getAccounts(); - // Sync notes before executing private function to discover notes from previous transactions const utilityExecutor = async (call: FunctionCall, execScopes: AztecAddress[]) => { await this.executeUtilityCall(call, execScopes, jobId); @@ -344,7 +339,7 @@ export class TXEOracleTopLevelContext implements IMiscOracle, ITxeExecutionOracl utilityExecutor, blockHeader, jobId, - syncScopes, + effectiveScopes, ); const blockNumber = await this.getNextBlockNumber();