You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: