Skip to content

Commit

Permalink
prepare v1.3.4, bump substreams
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Mar 2, 2023
1 parent ac15346 commit 01b2c69
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,36 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). See [MAINTAINERS.md](./MAINTAINERS.md)
for instructions to keep up to date.

## UNRELEASED
## v1.3.4

### Highlights

#### Fixed the 'upgrade-merged-blocks' from v2 to v3

Blocks that were migrated from v2 to v3 using the 'upgrade-merged-blocks' should now be considered invalid.
The upgrade mechanism did not correctly fix the "caller" on DELEGATECALLs when these calls were nested under another DELEGATECALL.

You should run the `upgrade-merged-blocks` again if you previously used 'v2' blocks that were upgraded to 'v3'.

#### Backoff mechanism for bursts

This mechanism uses a leaky-bucket mechanism, allowing an initial burst of X connections, allowing a new connection every Y seconds or whenever an existing connection closes.

Use `--firehose-rate-limit-bucket-size=50` and `--firehose-rate-limit-bucket-fill-rate=1s` to allow 50 connections instantly, and another connection every second.
Note that when the server is above the limit, it waits 500ms before it returns codes.Unavailable to the client, forcing a minimal back-off.

### Fixed

* Substreams `RpcCall` object are now validated before being performed to ensure they are correct.
* Substreams `RpcCall` JSON-RPC code `-32602` is now treated as a deterministic error (invalid request).
* `tools compare-blocks` now correctly handle segment health reporting and properly prints all differences with `-diff`.
* `tools compare-blocks` now ignores 'unknown fields' in the protobuf message, unless `--include-unknown-fields=true`
* `tools compare-blocks` now ignores when a block bundle contains the 'last block of previous bundle' (a now-deprecated feature)

### Added

* support for "requester pays" buckets on Google Storage in url, ex: `gs://my-bucket/path?project=my-project-id`
* substreams were also bumped to current March 1st develop HEAD

## v1.3.3

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ require (
github.com/streamingfast/sf-tools v0.0.0-20230116200621-b84f19a2e142
github.com/streamingfast/shutter v1.5.0
github.com/streamingfast/snapshotter v0.0.0-20220413132715-3f71bf33f0ea
github.com/streamingfast/substreams v0.2.1-0.20230210193501-986ae7d801c2
github.com/streamingfast/substreams v0.2.1-0.20230301190247-04e14183d833
github.com/stretchr/testify v1.8.0
github.com/test-go/testify v1.1.4
github.com/tidwall/gjson v1.14.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ github.com/streamingfast/snapshotter v0.0.0-20220413132715-3f71bf33f0ea h1:urZ/9
github.com/streamingfast/snapshotter v0.0.0-20220413132715-3f71bf33f0ea/go.mod h1:DdwE8twv+VjF/6AGqL5JSfS3/Pc59pPxaKJmIu9Y/T4=
github.com/streamingfast/substreams v0.2.1-0.20230210193501-986ae7d801c2 h1:UOpijqITsNL3p00xBw0kWrBUrcF8DdUZps5XtBxEXJs=
github.com/streamingfast/substreams v0.2.1-0.20230210193501-986ae7d801c2/go.mod h1:pj5DE2S5HNNlg/D1IpisZQ9702PxvoHqtepHnMq99R0=
github.com/streamingfast/substreams v0.2.1-0.20230301190247-04e14183d833 h1:vzLADv56TYCznL8ANnGASuNBLhVm2EZgbypQQmxWnCQ=
github.com/streamingfast/substreams v0.2.1-0.20230301190247-04e14183d833/go.mod h1:pj5DE2S5HNNlg/D1IpisZQ9702PxvoHqtepHnMq99R0=
github.com/streamingfast/wasmtime-go/v4 v4.0.0-freemem h1:4K7+NCbxg5X/RqwjfemMLExSP6Zwr1MpDGwiFmXfFHs=
github.com/streamingfast/wasmtime-go/v4 v4.0.0-freemem/go.mod h1:rOffzhrBM87FuXgj23Ss35uFDahjAauERq60QpyCzpE=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down

0 comments on commit 01b2c69

Please sign in to comment.