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 Dec 6, 2024
1 parent f8569d8 commit 83a5255
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 83a5255

Please sign in to comment.