Skip to content

Commit

Permalink
Change filtersI DecodeSubKey to include logger and run make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
ilija42 committed Jan 24, 2025
1 parent 98e23a0 commit 53174c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pkg/solana/logpoller/log_poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type filtersI interface {
GetFiltersToBackfill() []Filter
MarkFilterBackfilled(ctx context.Context, filterID int64) error
MatchingFiltersForEncodedEvent(event ProgramEvent) iter.Seq[Filter]
DecodeSubKey(ctx context.Context, raw []byte, ID int64, subKeyPath []string) (any, error)
DecodeSubKey(ctx context.Context, lggr logger.SugaredLogger, raw []byte, ID int64, subKeyPath []string) (any, error)
IncrementSeqNum(filterID int64) int64
}

Expand Down
30 changes: 16 additions & 14 deletions pkg/solana/logpoller/mock_filters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 53174c0

Please sign in to comment.