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
I would like to improve the tendermint_rpc::Query API in two ways which would be useful for Hermes:
Make the event_type and conditions fields of Query public. This would allow us to introspect, modify and evaluate queries on the Hermes side, something which we find ourselves needing right now to work around a behavior of the Tendermint indexer.
Add a fn key(&self) -> &str method to Condition which would return the key that this condition applies to. The use case is the same as (1), where we need to partition conditions by keys and only evaluate the relevant ones.
Definition of "done"
The two suggestions above are implemented.
The text was updated successfully, but these errors were encountered:
Description
I would like to improve the
tendermint_rpc::Query
API in two ways which would be useful for Hermes:event_type
andconditions
fields ofQuery
public. This would allow us to introspect, modify and evaluate queries on the Hermes side, something which we find ourselves needing right now to work around a behavior of the Tendermint indexer.fn key(&self) -> &str
method toCondition
which would return the key that this condition applies to. The use case is the same as (1), where we need to partition conditions by keys and only evaluate the relevant ones.Definition of "done"
The two suggestions above are implemented.
The text was updated successfully, but these errors were encountered: