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
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/new/common/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ To ensure that your authentication is set up correctly, you can run a test Subst
map_valid_balance_changes \
-e mainnet.eth.streamingfast.io:443 \
--start-block 10397553 \
--stop-block +10
--stop-block +10 \
--netowork eth
Comment on lines 62 to +66
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

```

2. Verify that the Substreams runs without errors, confirming that your authentication is successful.
Expand Down
3 changes: 2 additions & 1 deletion docs/new/common/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ substreams gui \
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.

```

### Creating a Package
Expand Down