Skip to content

Spec suggests using wrong substream for fetching state information #723

Closed
@vikinatora

Description

@vikinatora

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions