From fb7e87c47681853ad51e3b1ab694dc18a2e51644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Fri, 5 Jul 2024 15:33:41 -0400 Subject: [PATCH] bump substreams to add skip_empty_output --- CHANGELOG.md | 4 ++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e780e73..6b13fe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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 + +* Substreams server: expose a new intrinsic to modules: `skip_empty_output`, which causes the module output to be skipped if it has zero bytes. + ## v2.6.3 * fix "hub" not recovering on certain disconnections in relayer/firehose/substreams (scenarios requiring full restart) diff --git a/go.mod b/go.mod index 62cf02e..d5e1869 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 github.com/streamingfast/pbgo v0.0.6-0.20240430190514-722fe9d82e5d github.com/streamingfast/shutter v1.5.0 - github.com/streamingfast/substreams v1.8.0 + github.com/streamingfast/substreams v1.8.3-0.20240705192109-d2835a5e7905 github.com/stretchr/testify v1.9.0 github.com/test-go/testify v1.1.4 github.com/tidwall/gjson v1.14.1 diff --git a/go.sum b/go.sum index 4b64757..045628d 100644 --- a/go.sum +++ b/go.sum @@ -644,8 +644,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.8.3-0.20240705192109-d2835a5e7905 h1:b9nYxdTL2UEW0aJuqWEpKBEV1nE+SS4+8BtDx83Udzk= +github.com/streamingfast/substreams v1.8.3-0.20240705192109-d2835a5e7905/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=