From 226275f8c2f45b9a4aeec25dbc8966efb7df180b Mon Sep 17 00:00:00 2001 From: Danielius Dvareckas Date: Thu, 11 Apr 2024 16:16:48 +0300 Subject: [PATCH] client-sdk/modules: Fix missing client.EventDecoder Seems that V1 already integrated client.EventDecoder, the interface is just not complete. By adding client.EventDecoder we can pass it as a decoder in `func WatchEvents` --- client-sdk/go/modules/core/core.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client-sdk/go/modules/core/core.go b/client-sdk/go/modules/core/core.go index c6abc9dac3..1adb46c418 100644 --- a/client-sdk/go/modules/core/core.go +++ b/client-sdk/go/modules/core/core.go @@ -22,6 +22,8 @@ var ( // V1 is the v1 core module interface. type V1 interface { + client.EventDecoder + // Parameters queries the core module parameters. Parameters(ctx context.Context, round uint64) (*Parameters, error)