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

Spec suggests using wrong substream for fetching state information #723

Closed
vikinatora opened this issue Jun 7, 2024 · 2 comments
Closed
Assignees

Comments

@vikinatora
Copy link
Contributor

In the spec, it's said that /sync/2 is used for block requsests and state requests. However, that substream is only good for fetching block information. We tried countless ways of sending a state request but the response just didn't arrive. After lots of hours spent trying to find out why state requests don't work, we stumbled upon Kagome's code, where we found out there's another undocumented substream /state/2 that's used for making state requests.

We suggest adding this substream to the spec because it's not documented and changing the existing spec to point to the new substream for state requests.

@bhargavbh bhargavbh self-assigned this Jun 7, 2024
@bhargavbh
Copy link
Contributor

hi @vikinatora thanks for bringing this to our attention. We will look into it ASAP.

@bhargavbh
Copy link
Contributor

adressed in PR #724

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

No branches or pull requests

2 participants