mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
Performance improvements for the event query API (#7338)
A manual backport of #7319 and #7336.
This commit is contained in:
@@ -26,7 +26,7 @@ func TestExample(t *testing.T) {
|
||||
|
||||
ctx := context.Background()
|
||||
|
||||
subscription, err := s.Subscribe(ctx, "example-client", query.MustParse("abci.account.name='John'"))
|
||||
subscription, err := s.Subscribe(ctx, "example-client", query.MustCompile("abci.account.name='John'"))
|
||||
require.NoError(t, err)
|
||||
|
||||
events := []abci.Event{
|
||||
|
||||
Reference in New Issue
Block a user