From f724b07d2e0603b33a2f195a71403caac56ed784 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Thu, 22 Aug 2024 10:34:00 +0100 Subject: [PATCH] fix: stop WorldStrateSynchronizer in prover node (#8126) Stop world state instance used by prover-node when node is shutdown --- yarn-project/prover-node/src/prover-node.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/yarn-project/prover-node/src/prover-node.ts b/yarn-project/prover-node/src/prover-node.ts index 50d8ad95c01..2c4c8049d00 100644 --- a/yarn-project/prover-node/src/prover-node.ts +++ b/yarn-project/prover-node/src/prover-node.ts @@ -67,6 +67,7 @@ export class ProverNode { await this.l2BlockSource.stop(); this.publisher.interrupt(); this.jobs.forEach(job => job.stop()); + await this.worldState.stop(); this.log.info('Stopped ProverNode'); }