You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add flag to rrly -c loop_config.toml listen ibc-0 command to specify which events to listen for.
Problem Definition
We are often not interested in NewBlock events, and would like to filter them out to only keep Tx events.
Proposal
USAGE:
hermes listen <OPTIONS>
DESCRIPTION:
Listen to and display IBC events emitted by a chain
POSITIONAL ARGUMENTS:
chain_id Identifier of the chain to listen for events from
FLAGS:
-e, --event EVENT Add an event type to listen for, can be repeated. Listen for all events by default (available: Tx, NewBlock)
Listen for default events:
$ hermes listen ibc-0
[info ] Listening for events `NewBlock, Tx` on 'ibc-0'...
Listen for NewBlock event only:
$ hermes listen ibc-0 -e NewBlock
[info ] Listening for events `NewBlock` on 'ibc-0'...
Listen for NewBlock and Tx events:
$ hermes listen ibc-0 -e NewBlock -e Tx
[info ] Listening for events `NewBlock, Tx` on 'ibc-0'...
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate milestone (priority) applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
romac
changed the title
Add option to listen command to filter the NewBlock events
Add option to specify which events to listen for in listen command
Apr 7, 2021
Crate
ibc-relayer-cli
Summary
Add flag to
rrly -c loop_config.toml listen ibc-0
command to specify which events to listen for.Problem Definition
We are often not interested in
NewBlock
events, and would like to filter them out to only keepTx
events.Proposal
Listen for default events:
Listen for
NewBlock
event only:Listen for
NewBlock
andTx
events:For Admin Use
The text was updated successfully, but these errors were encountered: