From c8bbbcc519489c6459b34597c0e8e8bd3905d667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Fri, 13 Sep 2024 14:36:29 -0400 Subject: [PATCH] bump codegen version to 1 --- cmd/substreams/init.go | 1 + docs/release-notes/change-log.md | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/substreams/init.go b/cmd/substreams/init.go index c60cb816..ab075f88 100644 --- a/cmd/substreams/init.go +++ b/cmd/substreams/init.go @@ -221,6 +221,7 @@ func runSubstreamsInitE(cmd *cobra.Command, args []string) error { } startMsg := &pbconvo.UserInput_Start{ GeneratorId: generatorID, + Version: 1, } if lastState.State != nil { startMsg.Hydrate = &pbconvo.UserInput_Hydrate{SavedState: string(lastState.State)} diff --git a/docs/release-notes/change-log.md b/docs/release-notes/change-log.md index 5d0531c2..95c1a4bf 100644 --- a/docs/release-notes/change-log.md +++ b/docs/release-notes/change-log.md @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### CLI * Add `substreams tools default-endpoint {network-name}` to help with auto-configuration tools +* Bump `substreams init` protocol version to "1" to be compatible with new codegen endpoint ## v1.10.2