From 34cf357ca311ce88c7ecdbc9017363c03d556699 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 4 Feb 2025 10:01:46 +0000 Subject: [PATCH 1/2] chore: enable test Fix #10737 --- yarn-project/p2p/src/client/p2p_client.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yarn-project/p2p/src/client/p2p_client.test.ts b/yarn-project/p2p/src/client/p2p_client.test.ts index a2690fe2ae6..b68d7e6ce52 100644 --- a/yarn-project/p2p/src/client/p2p_client.test.ts +++ b/yarn-project/p2p/src/client/p2p_client.test.ts @@ -201,8 +201,7 @@ describe('In-Memory P2P Client', () => { }); describe('Chain prunes', () => { - // TODO(#10737) flake cc Maddiaa0 - it.skip('moves the tips on a chain reorg', async () => { + it('moves the tips on a chain reorg', async () => { blockSource.setProvenBlockNumber(0); await client.start(); From d2a58a6ca8c2b0051100ef04e76bbbfef9371ac2 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 4 Feb 2025 10:35:36 +0000 Subject: [PATCH 2/2] chore: promote log --- yarn-project/p2p/src/client/p2p_client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/p2p/src/client/p2p_client.ts b/yarn-project/p2p/src/client/p2p_client.ts index 0cb4a5b303d..5a87cb0d0ce 100644 --- a/yarn-project/p2p/src/client/p2p_client.ts +++ b/yarn-project/p2p/src/client/p2p_client.ts @@ -662,7 +662,7 @@ export class P2PClient blocks.map(async block => this.synchedBlockHashes.set(block.number, (await block.hash()).toString())), ); await this.synchedLatestBlockNumber.set(lastBlockNum); - this.log.debug(`Synched to latest block ${lastBlockNum}`); + this.log.verbose(`Synched to latest block ${lastBlockNum}`); await this.startServiceIfSynched(); }