diff --git a/yarn-project/aztec-node/src/aztec-node/server.ts b/yarn-project/aztec-node/src/aztec-node/server.ts index 02c55f4cbbb2..2d54c8be5c78 100644 --- a/yarn-project/aztec-node/src/aztec-node/server.ts +++ b/yarn-project/aztec-node/src/aztec-node/server.ts @@ -1153,6 +1153,10 @@ export class AztecNodeService implements AztecNode, AztecNodeAdmin, Traceable { blockNumber, }); + // Ensure world state is synced to the latest block before forking. + // Without this, the fork may be behind the archiver, causing lookups + // (e.g. L1-to-L2 message existence checks) to fail against stale state. + await this.#syncWorldState(); const merkleTreeFork = await this.worldStateSynchronizer.fork(); try { const config = PublicSimulatorConfig.from({