Skip to content

Commit

Permalink
rpc: Collect finalized_block_events in fetch_all_events (informal…
Browse files Browse the repository at this point in the history
…systems#4262)

* add finalized_block_events in fetch_all_events

* Add changelog entry

---------

Co-authored-by: Luca Joss <[email protected]>
  • Loading branch information
kyoodong and ljoss17 authored Dec 3, 2024
1 parent 00a0cf5 commit a5e3968
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Collect events from `finalized_block_events` when using `pull` mode
([\#4263](https://github.com/informalsystems/hermes/issues/4263))
2 changes: 2 additions & 0 deletions crates/relayer/src/event/source/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ async fn fetch_all_events(
events.append(end_block_events);
}

events.append(&mut response.finalize_block_events);

Ok(events)
}

Expand Down

0 comments on commit a5e3968

Please sign in to comment.