-
Notifications
You must be signed in to change notification settings - Fork 51
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
GrandPa warp sync times out on github CI #1562
Comments
You've set |
I was able to reproduce it with |
Thanks! What happens is that when we connect to peers, their finalized block is equal to the block of the checkpoint in the chain spec. So while this is obviously not the correct fix, adding a In principle, the nodes we're connected to should at some point finalize another block and send a commit message to smoldot, which would make smoldot start the warp syncing, but for some reason they don't and I'm not sure why. |
I vaguely remember fixing a |
Hey, thanks for looking into this! I managed to reproduce this in a new PR which uses the git-dependency smoldot from the latest branch with this commit. Logs are available at: https://github.com/paritytech/subxt/actions/runs/7488555076/job/20383286368?pr=1355
Let me know if I could provide more details, thanks 🙏 |
This was actually not true. The checkpoint contains everything needed to start syncing properly, so there's no need to do any warp sync at all. The issue is actually that the warp sync code is basically in the middle of a refactoring. This issue would be fixed by #1109, as it basically consists in finishing that refactoring, but that issue is non-trivial. It's not clear to me from the top of my head whether a temporary intermediary fix is easy or not. |
We have recently encountered a few subxt github CI timeouts with the light client.
GrandPa warp sync seems to be idle at the same block until the CI times out our testing.
This is happening in a flaky manner and could be reproduced by paritytech/subxt#1346.
Smoldot version is 0.15 and smoldot-light is 0.13 (from Cargo.toml).
The test connects the smoldot client to the polkadot network from a freshly downloaded chainSpec; then performs a few subscriptions and method requests.
Logs reported by the subxt test:
Logs extracted from: https://github.com/paritytech/subxt/actions/runs/7447975422/job/20261334692?pr=1346
Let me know if I could provide more details here, thanks! 🙏
The text was updated successfully, but these errors were encountered: