Skip to content

Commit

Permalink
client-sdk/modules: Fix missing client.EventDecoder
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
Dancia committed Apr 11, 2024
1 parent 1d141bc commit 226275f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client-sdk/go/modules/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 226275f

Please sign in to comment.