Skip to content

Commit

Permalink
Fixed merged-blocks help
Browse files Browse the repository at this point in the history
Fixes #29
  • Loading branch information
maoueh committed Mar 19, 2024
1 parent 0ed9515 commit 4a90acb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ If you were at `firehose-core` version `1.0.0` and are bumping to `1.1.0`, you s

## Unreleased

* Added `--substreams-tier2-max-concurrent-requests` to limit the number of concurrent requests to the tier2 substreams service.
* Added API Key authentication to `NewFirehoseFetchClient`.

* Fixed `tools check merged-blocks` examples using block range (range should be specified as `[<start>]?:[<end>]`).

* Added `--substreams-tier2-max-concurrent-requests` to limit the number of concurrent requests to the tier2 Substreams service.

## v1.2.4

Expand Down Expand Up @@ -49,7 +53,6 @@ If you were at `firehose-core` version `1.0.0` and are bumping to `1.1.0`, you s
and is expanded as is.

* Added `Beacon` to known list of Block model.
* Added api key authentication to `NewFirehoseFetchClient`

## v1.2.3

Expand Down
3 changes: 2 additions & 1 deletion cmd/tools/check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func NewCheckCommand[B firecore.Block](chain *firecore.Chain[B], rootLog *zap.Lo
"./sf-data/storage/merged-blocks"
"gs://<project>/<bucket>/<path>" -s
"s3://<project>/<bucket>/<path>" -f
"az://<project>/<bucket>/<path>" -r "10 000 - 1 000 000"
"az://<project>/<bucket>/<path>" -r ":1_000_000"
"az://<project>/<bucket>/<path>" -r "100_000:1_000_000"
`)

toolsCheckForksCmd.RunE = toolsCheckForksE
Expand Down
2 changes: 1 addition & 1 deletion cmd/tools/firehose/tools_download_from_firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewToolsDownloadFromFirehoseCmd[B firecore.Block](chain *firecore.Chain[B],
RunE: createToolsDownloadFromFirehoseE(chain, zlog),
Example: firecore.ExamplePrefixed(chain, "tools download-from-firehose", `
# Adjust <url> based on your actual network
mainnet.eth.streamingfast.io:443 1000 2000 ./output_dir
mainnet.eth.streamingfast.io:443 1000:2000 ./output_dir
`),
}

Expand Down

0 comments on commit 4a90acb

Please sign in to comment.