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

Update docs: Add network flag #559

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

newinh
Copy link

@newinh newinh commented Nov 19, 2024

Summary

Added --netowork option unless it occurs error.

Error: network not set, please provide a network

Comment on lines 62 to +66
map_valid_balance_changes \
-e mainnet.eth.streamingfast.io:443 \
--start-block 10397553 \
--stop-block +10
--stop-block +10 \
--netowork eth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A better fix is actually to change the full invocation to:

substreams gui \
     erc20-balance-changes@latest \
     map_valid_balance_changes \
     --start-block 10397553 \
     --stop-block +10

This requires an up to date Substreams CLI.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works well!
b035cd4

Comment on lines 27 to 31
https://spkg.io/streamingfast/erc20-balance-changes-v1.1.0.spkg \
map_balance_changes \
-e mainnet.eth.streamingfast.io:443 \
--start-block 1397553
--start-block 1397553 \
--network eth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar changes for here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@newinh newinh requested a review from maoueh November 20, 2024 17:20
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.

2 participants