From 4b83b38043e7cf610fddeafb7457dac5125edf1e Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 3 Oct 2023 10:32:09 +0200 Subject: [PATCH] refactor: remove debug log in world state sync (#2613) Remove extra debug log. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). --- .../src/synchronizer/server_world_state_synchronizer.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/yarn-project/world-state/src/synchronizer/server_world_state_synchronizer.ts b/yarn-project/world-state/src/synchronizer/server_world_state_synchronizer.ts index 2c936fbe2641..feec721e2a30 100644 --- a/yarn-project/world-state/src/synchronizer/server_world_state_synchronizer.ts +++ b/yarn-project/world-state/src/synchronizer/server_world_state_synchronizer.ts @@ -218,7 +218,6 @@ export class ServerWorldStateSynchronizer implements WorldStateSynchronizer { const encoded = Buffer.from(hex.length % 2 === 1 ? '0' + hex : hex, 'hex'); await this.db.put(DB_KEY_BLOCK_NUMBER, encoded); - this.log.debug(`Committed current L2 block number ${this.currentL2BlockNum} to db`); } private async restoreCurrentL2BlockNumber() {