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 all commits
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
5 changes: 3 additions & 2 deletions docs/new/common/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ To ensure that your authentication is set up correctly, you can run a test Subst

```bash
substreams gui \
https://spkg.io/streamingfast/erc20-balance-changes-v1.2.0.spkg \
erc20-balance-changes@latest \
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
4 changes: 2 additions & 2 deletions docs/new/common/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ You can easily run a Substreams package by inputting the `.spkg` file in the CLI

```bash
substreams gui \
https://spkg.io/streamingfast/erc20-balance-changes-v1.1.0.spkg \
erc20-balance-changes@latest \
map_balance_changes \
-e mainnet.eth.streamingfast.io:443 \
--start-block 1397553
--start-block 1397553 \
```

### Creating a Package
Expand Down