From 3231350ec639373d9affc6976febef5b600abec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Thu, 28 Sep 2023 15:27:24 -0400 Subject: [PATCH] fix an issue where sinkconfig schema would not be decoded correctly --- CHANGELOG.md | 6 ++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82cb06e..9e4b25a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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). +## v3.0.1 + +### Fixed + +* Fixed an issue where the schema encoded in the SinkConfig part of a manifest would not be encoded correctly, leading to garbled (base64) bytes being sent to the SQL server instead of the schema. + ## v3.0.0 ### Highlights diff --git a/go.mod b/go.mod index f6780ee..c242c86 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.15.0 github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 - github.com/streamingfast/substreams v1.1.15-0.20230927193646-391f24ae4ece + github.com/streamingfast/substreams v1.1.15-0.20230928192347-9b87d5038604 github.com/streamingfast/substreams-sink v0.3.3-0.20230901183759-218c1d9ec645 github.com/streamingfast/substreams-sink-database-changes v1.1.3 github.com/stretchr/testify v1.8.3 diff --git a/go.sum b/go.sum index bd30f15..9c1f1fc 100644 --- a/go.sum +++ b/go.sum @@ -1205,8 +1205,8 @@ github.com/streamingfast/pbgo v0.0.6-0.20221020131607-255008258d28 h1:wmQg8T0rIF github.com/streamingfast/pbgo v0.0.6-0.20221020131607-255008258d28/go.mod h1:huKwfgTGFIFZMKSVbD5TywClM7zAeBUG/zePZMqvXQQ= github.com/streamingfast/shutter v1.5.0 h1:NpzDYzj0HVpSiDJVO/FFSL6QIK/YKOxY0gJAtyaTOgs= github.com/streamingfast/shutter v1.5.0/go.mod h1:B/T6efqdeMGbGwjzPS1ToXzYZI4kDzI5/u4I+7qbjY8= -github.com/streamingfast/substreams v1.1.15-0.20230927193646-391f24ae4ece h1:aOk+zm2C/iPhHKZ7f8ZHt/emTyfTLoTHyZBFOVf0Uws= -github.com/streamingfast/substreams v1.1.15-0.20230927193646-391f24ae4ece/go.mod h1:iiEMYWgTIfcQItCW7tkKRGFCAPEAe1Rxj3vhw2bKKkY= +github.com/streamingfast/substreams v1.1.15-0.20230928192347-9b87d5038604 h1:UNOQ9FX5xI6Slq3jbfWPHIesv0P3GmEYHk93/MHbO6k= +github.com/streamingfast/substreams v1.1.15-0.20230928192347-9b87d5038604/go.mod h1:iiEMYWgTIfcQItCW7tkKRGFCAPEAe1Rxj3vhw2bKKkY= github.com/streamingfast/substreams-sink v0.3.3-0.20230901183759-218c1d9ec645 h1:ZbYLft0R5hJBLhMFAdp7noAD9YrKC+r0nsU7Z5IDcfM= github.com/streamingfast/substreams-sink v0.3.3-0.20230901183759-218c1d9ec645/go.mod h1:nBPwmsjz+CV0HT5Vmp0XTiu+RjP8CbdhD5u+uC3lo84= github.com/streamingfast/substreams-sink-database-changes v1.1.3 h1:rXeGb/V2mjC8FftumRkMQxG2jtdLfHdLx9UQVUtAqS8=