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

client: Best Peer Selection for Snap Sync Stalls due to Peer Status Issue in Devp2p #3222

Open
scorbajio opened this issue Jan 9, 2024 · 1 comment

Comments

@scorbajio
Copy link
Contributor

When the client finishes synchronizing the cl skeleton chain, snap sync does not start as expected but rather falls into a defunct hanging state. From internal discussion, it seems like it's because of a peering status issue in devp2p since it currently doesn't update peer status, which causes issues in best peer selection:

[12-29|10:27:16] INFO ---------------------------------------------------------------
[12-29|10:27:16] INFO Synchronized cl (skeleton) at height=399690 hash=0xa723…f737 🎉
[12-29|10:27:16] INFO ---------------------------------------------------------------
[12-29|10:27:16] INFO ------------------------------------------------------------
[12-29|10:27:16] INFO Synchronized blockchain at height=399690 hash=0xa723…f737 🎉
[12-29|10:27:16] INFO ------------------------------------------------------------
[12-29|10:27:24] INFO 
[12-29|10:27:24] INFO [ CL ] New consensus payload received  number=399690 hash=0xa723…f737 parentHash=0x58ce…2ba3  status=ACCEPTED gasUsed=0 baseFee=7 txs=0 withdrawals=0 
[12-29|10:27:24] INFO [ CL ] New chain head set (forkchoice update) head=0xa723…f737 finalized=0xa125…28fa response=SYNCING 
[12-29|10:27:24] INFO 
[12-29|10:27:24] INFO [ EL ] SYNCED (snapsync target=undefined vm=299319 cl=el=399691 ) synchronized=true peers=5 
[12-29|10:27:24] INFO [ EL ] snapsync=?? 
[12-29|10:27:24] INFO [ EL ] vm=299319 hash=0x2feb…4c44 started=false 
@ScottyPoi
Copy link
Contributor

If you provide instructions on replicating the error, I will look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants