Skip to content

Commit

Permalink
add FilterLogs to multiversXChainMock
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmatudor committed Sep 18, 2024
1 parent e1261bf commit e85edca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions integrationTests/mock/multiversXChainMock.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,14 @@ func (mock *MultiversXChainMock) GetESDTTokenData(_ context.Context, _ sdkCore.A
}, nil
}

// FilterLogs -
func (mock *MultiversXChainMock) FilterLogs(ctx context.Context, filter *sdkCore.FilterQuery) ([]*transaction.Events, error) {
mock.mutState.RLock()
defer mock.mutState.RUnlock()

return []*transaction.Events{}, nil
}

// IsInterfaceNil -
func (mock *MultiversXChainMock) IsInterfaceNil() bool {
return mock == nil
Expand Down

0 comments on commit e85edca

Please sign in to comment.