-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retrieve the block results that include the event with the exact attr…
…ibutes in query (#2870) * Debug packet stuck on apollo * Get the last block if multiple contain event * Remove debugs * Search for the most recent 10 blocks which match the packet query There should only be a single match for this query, but due to the fact that the indexer treat the query as a disjunction over all events in a block rather than a conjunction over a single event, we may end up with partial matches and therefore have to account for that by fetching multiple results and filter it down after the fact. * Order events by begin block, tx, end block * Update comments * Add changelog entries Co-authored-by: Anca Zamfir <anca@informal.systems>
- Loading branch information
1 parent
5cdae2b
commit c8309a9
Showing
4 changed files
with
64 additions
and
23 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/bug-fixes/2867-retrieve-begin-end-block.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Fix an issue where Hermes would sometimes fails to retrieve the | ||
begin/end block events because of a quirk of the Tendermint event indexer | ||
([#2867](https://github.com/informalsystems/ibc-rs/issues/2867)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Hermes tx CLIs that use the `packet_data_query_height` option now also clear | ||
begin/end block events ([#2868](https://github.com/informalsystems/ibc- | ||
rs/issues/2868)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters