From e6937316d92f7ecff246b9c9357f809d7c2779f6 Mon Sep 17 00:00:00 2001 From: sol Date: Wed, 20 Nov 2024 01:12:21 +0900 Subject: [PATCH 1/2] Add network option --- docs/new/common/authentication.md | 3 ++- docs/new/common/packages.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/new/common/authentication.md b/docs/new/common/authentication.md index 203eaba4..3b1c19e1 100644 --- a/docs/new/common/authentication.md +++ b/docs/new/common/authentication.md @@ -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 ``` 2. Verify that the Substreams runs without errors, confirming that your authentication is successful. diff --git a/docs/new/common/packages.md b/docs/new/common/packages.md index 4dec119b..6f0a858a 100644 --- a/docs/new/common/packages.md +++ b/docs/new/common/packages.md @@ -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 ``` ### Creating a Package From b035cd45938ddd264c9664ad4300ca0be40dfd73 Mon Sep 17 00:00:00 2001 From: sol Date: Thu, 21 Nov 2024 02:18:59 +0900 Subject: [PATCH 2/2] up to date substreams cli --- docs/new/common/authentication.md | 2 +- docs/new/common/packages.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/new/common/authentication.md b/docs/new/common/authentication.md index 3b1c19e1..dfefcb90 100644 --- a/docs/new/common/authentication.md +++ b/docs/new/common/authentication.md @@ -58,7 +58,7 @@ 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 \ diff --git a/docs/new/common/packages.md b/docs/new/common/packages.md index 6f0a858a..67dbfed3 100644 --- a/docs/new/common/packages.md +++ b/docs/new/common/packages.md @@ -24,11 +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 \ - --network eth ``` ### Creating a Package