Skip to content

Commit

Permalink
Add MockEventFilterer and its go generate directive
Browse files Browse the repository at this point in the history
  • Loading branch information
IronGauntlets committed Nov 22, 2024
1 parent e4203e3 commit 1519d46
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
1 change: 1 addition & 0 deletions blockchain/event_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (

var errChunkSizeReached = errors.New("chunk size reached")

//go:generate mockgen -destination=../mocks/mock_event_filterer.go -package=mocks github.com/NethermindEth/juno/blockchain EventFilterer
type EventFilterer interface {
io.Closer

Expand Down
113 changes: 113 additions & 0 deletions mocks/mock_event_filterer.go

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

0 comments on commit 1519d46

Please sign in to comment.