From f7897571132f715152b4b2b84b2078fdf6d235a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Wed, 10 Jul 2024 21:33:11 -0400 Subject: [PATCH] bump substreams, prep release --- CHANGELOG.md | 15 +++++++++++++++ go.mod | 4 ++-- go.sum | 4 ++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fdf79..80499eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,21 @@ Operators, you should copy/paste content of this content straight to your projec If you were at `firehose-core` version `1.0.0` and are bumping to `1.1.0`, you should copy the content between those 2 version to your own repository, replacing placeholder value `fire{chain}` with your chain's own binary. +## v1.5.4 + +### Substreams bumped to v1.9.0 + +#### Important Substreams BUG FIX + +* Fix a bug introduced in v1.6.0 that could result in corrupted store "state" file if all + the "outputs" were already cached for a module in a given segment (rare occurence) +* We recommend clearing your substreams cache after this upgrade and re-processing or + validating your data if you use stores. + +#### Added + +* Expose a new intrinsic to modules: `skip_empty_output`, which causes the module output to be skipped if it has zero bytes. (Watch out, a protobuf object with all its default values will have zero bytes) +* Improve schedule order (faster time to first block) for substreams with multiple stages when starting mid-chain ## v1.5.3 diff --git a/go.mod b/go.mod index d90d358..77b847a 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,7 @@ require ( github.com/ShinyTrinkets/overseer v0.3.0 github.com/dustin/go-humanize v1.0.1 github.com/go-json-experiment/json v0.0.0-20231013223334-54c864be5b8d + github.com/hashicorp/go-multierror v1.1.1 github.com/iancoleman/strcase v0.3.0 github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 github.com/mostynb/go-grpc-compression v1.1.17 @@ -31,7 +32,7 @@ require ( github.com/streamingfast/payment-gateway v0.0.0-20240426151444-581e930c76e2 github.com/streamingfast/pbgo v0.0.6-0.20240430190514-722fe9d82e5d github.com/streamingfast/snapshotter v0.0.0-20230316190750-5bcadfde44d0 - github.com/streamingfast/substreams v1.8.0 + github.com/streamingfast/substreams v1.9.0 github.com/stretchr/testify v1.8.4 github.com/test-go/testify v1.1.4 go.uber.org/multierr v1.10.0 @@ -51,7 +52,6 @@ require ( github.com/felixge/httpsnoop v1.0.4 // indirect github.com/google/s2a-go v0.1.7 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/protocolbuffers/protoscope v0.0.0-20221109213918-8e7a6aafa2c9 // indirect github.com/sercand/kuberesolver/v5 v5.1.1 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect diff --git a/go.sum b/go.sum index 9fef7e0..7d3115f 100644 --- a/go.sum +++ b/go.sum @@ -630,8 +630,8 @@ github.com/streamingfast/shutter v1.5.0 h1:NpzDYzj0HVpSiDJVO/FFSL6QIK/YKOxY0gJAt github.com/streamingfast/shutter v1.5.0/go.mod h1:B/T6efqdeMGbGwjzPS1ToXzYZI4kDzI5/u4I+7qbjY8= github.com/streamingfast/snapshotter v0.0.0-20230316190750-5bcadfde44d0 h1:Y15G1Z4fpEdm2b+/70owI7TLuXadlqBtGM7rk4Hxrzk= github.com/streamingfast/snapshotter v0.0.0-20230316190750-5bcadfde44d0/go.mod h1:/Rnz2TJvaShjUct0scZ9kKV2Jr9/+KBAoWy4UMYxgv4= -github.com/streamingfast/substreams v1.8.0 h1:mVo6TTVRcwLB1TuFdZXI1GBVJnmREfJEt8sRFybWkLQ= -github.com/streamingfast/substreams v1.8.0/go.mod h1:XtL4RgQawes9/a9iM9d6bAABacfIuekY+jceszF7u2c= +github.com/streamingfast/substreams v1.9.0 h1:Jr74Lo+jSp7CmyK94mdqJ0LfCYKy1o7dvYcufDPX/rk= +github.com/streamingfast/substreams v1.9.0/go.mod h1:XtL4RgQawes9/a9iM9d6bAABacfIuekY+jceszF7u2c= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=