Skip to content

Commit 6b38bc5

Browse files
AztecBotnchamo
authored andcommitted
fix: resolve cherry-pick conflicts from #23007
- yarn-project/end-to-end/src/fixtures/setup.ts: Insert pxeCreationOptions field at the equivalent position (end of SetupOptions, after walletMinFeePadding) since skipInitialSequencer doesn't exist on this branch. - yarn-project/pxe/src/contract_function_simulator/oracle/private_execution_oracle.ts: Add 'hooks: this.hooks,' to the args passed when constructing the child PrivateExecutionOracle, between simulator and l2TipsStore (as in #23007). this.hooks resolves via inherited protected field on UtilityExecutionOracle.
1 parent 212c01a commit 6b38bc5

4 files changed

Lines changed: 3 additions & 19 deletions

File tree

yarn-project/end-to-end/src/fixtures/setup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ export type SetupOptions = {
203203
l1ContractsArgs?: Partial<DeployAztecL1ContractsArgs>;
204204
/** Wallet minimum fee padding multiplier (defaults to 0.5, which is 50% padding). */
205205
walletMinFeePadding?: number;
206+
/** Options forwarded to PXE creation (e.g. execution hooks). */
207+
pxeCreationOptions?: PXECreationOptions;
206208
} & Partial<AztecNodeConfig>;
207209

208210
/** Context for an end-to-end test as returned by the `setup` function */

yarn-project/end-to-end/src/fixtures/setup.ts.rej

Lines changed: 0 additions & 10 deletions
This file was deleted.

yarn-project/pxe/src/contract_function_simulator/oracle/private_execution_oracle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ export class PrivateExecutionOracle extends UtilityExecutionOracle implements IP
581581
log: this.logger,
582582
senderForTags: this.defaultSenderForTags,
583583
simulator: this.simulator,
584+
hooks: this.hooks,
584585
l2TipsStore: this.l2TipsStore,
585586
});
586587

yarn-project/pxe/src/contract_function_simulator/oracle/private_execution_oracle.ts.rej

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)