Skip to content

Commit

Permalink
Fixes some problematic logs, change how inject is called
Browse files Browse the repository at this point in the history
Fixes #28
  • Loading branch information
maoueh committed May 16, 2023
1 parent 71218cf commit 1b82c10
Show file tree
Hide file tree
Showing 17 changed files with 101 additions and 387 deletions.
2 changes: 1 addition & 1 deletion .sfreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ global:
release:
# You need a specialized goreleaser-cross image that contains WasmEdge (include/lib(s))
# for each supported platform. For now, we do not publish this image to a public
# docker registry. So you need to build it manually with
# Docker registry. So you need to build it manually with
#
# ./devel/docker/push.sh
#
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.1.0

### Highlights

We change the arguments accepted by `substreams-sink-kv inject` where now the first argument must be the endpoint to consume from. This was previously the provided through the flag `-e, --endpoint`. This has been done to aligned with other sinks supported by StreamingFast team.

Before:

```bash
# Implicit default endpoint
substreams-sink-kv inject <dsn> substreams.spkg

# Explicit endpoint
substreams-sink-kv inject -e mainnet.eth.streamingfast.io:443 <dsn> substreams.spkg
```

After:

```bash
substreams-sink-kv inject mainnet.eth.streamingfast.io:443 <dsn> substreams.spkg
```

### Changed

- **Breaking** Flag `-e, --endpoint` has been replaced by a mandatory positional argument instead, see highlights for upgrade procedure.

## v2.0.0

### Highlights
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ You can run `substreams-sink-kv` solely in `inject` or `serve` mode or both.
```bash
# Inject Mode
substreams-sink-kv inject -e "mainnet.eth.streamingfast.io:443" <kv_dsn> <substreams_spkg_path> <kv_out>
substreams-sink-kv inject mainnet.eth.streamingfast.io:443 <kv_dsn> <substreams_spkg_path> <kv_out>

# Serve Mode
substreams-sink-kv serve <kv_dsn> <substreams_spkg_path> --listen-addr=":9000"

# Inject and Serve Mode
substreams-sink-kv inject -e "mainnet.eth.streamingfast.io:443" <kv_dsn> <substreams_spkg_path> <kv_out> --listen-addr=":9000"
substreams-sink-kv inject mainnet.eth.streamingfast.io:443 <kv_dsn> <substreams_spkg_path> <kv_out> --listen-addr=":9000"
```

## Query Service
Expand Down
3 changes: 0 additions & 3 deletions bin/build.sh

This file was deleted.

244 changes: 0 additions & 244 deletions bin/release.sh

This file was deleted.

Loading

0 comments on commit 1b82c10

Please sign in to comment.