Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: re-enable p2p test #11706

Merged
merged 2 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions yarn-project/p2p/src/client/p2p_client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/client/p2p_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export class P2PClient<T extends P2PClientType = P2PClientType.Full>
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();
}

Expand Down