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

Fix genesis block fetching for substreams #5548

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

YaroShkvorets
Copy link
Contributor

After #5337 substreams support is broken for some chains.

The issue is when fetching genesis block, we stream only block 0. For some chains genesis block number is 2 (EOS, WAX), 3 (Telos) or even 79123881 (Sei).

This PR fixes it by removing stop_block_num from the request, so the first block we receive is the genesis block no matter where it is.

@mangas mangas merged commit b074687 into graphprotocol:master Jul 17, 2024
7 checks passed
@YaroShkvorets YaroShkvorets deleted the yaro/fix_decode_genesis branch July 17, 2024 19:58
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

Successfully merging this pull request may close these issues.

None yet

3 participants