Skip to content

Commit

Permalink
chore: review feedback improvements
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Olshansky <[email protected]>
  • Loading branch information
bryanchriswhite and Olshansk authored Nov 7, 2023
1 parent daf3668 commit 71c407c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/testclient/testeventsquery/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/pokt-network/poktroll/pkg/observable/channel"
)

// NewLocalnetClient creates and returns a new events query client that configured
// NewLocalnetClient creates and returns a new events query client that's configured
// for use with the localnet sequencer. Any options provided are applied to the client.
func NewLocalnetClient(t *testing.T, opts ...client.EventsQueryClientOption) client.EventsQueryClient {
t.Helper()
Expand All @@ -28,7 +28,7 @@ func NewLocalnetClient(t *testing.T, opts ...client.EventsQueryClientOption) cli

// NewOneTimeEventsQuery creates a mock of the EventsQueryClient which expects
// a single call to the EventsBytes method. It returns a mock client whose event
// bytes method always constructs a new observable. query is the query string
// bytes method always constructs a new observable. query is the query string
// for which event bytes subscription is expected to be for.
// The caller can simulate blockchain events by sending on publishCh, the value
// of which is set to the publish channel of the events bytes observable publish
Expand All @@ -54,7 +54,7 @@ func NewOneTimeEventsQuery(
return eventsQueryClient
}

// NewOneTimeTxEventsQueryClient creates a mock of the Events that expects to to
// NewOneTimeTxEventsQueryClient creates a mock of the Events that expects
// a single call to the EventsBytes method where the query is for transaction
// events for sender address matching that of the given key.
// The caller can simulate blockchain events by sending on publishCh, the value
Expand Down

0 comments on commit 71c407c

Please sign in to comment.