diff --git a/.changelog/unreleased/improvements/ibc-relayer/4263-collect-events-finalize-block.md b/.changelog/unreleased/improvements/ibc-relayer/4263-collect-events-finalize-block.md new file mode 100644 index 0000000000..e7e78897cf --- /dev/null +++ b/.changelog/unreleased/improvements/ibc-relayer/4263-collect-events-finalize-block.md @@ -0,0 +1,2 @@ +- Collect events from `finalized_block_events` when using `pull` mode + ([\#4263](https://github.com/informalsystems/hermes/issues/4263)) \ No newline at end of file diff --git a/crates/relayer/src/event/source/rpc.rs b/crates/relayer/src/event/source/rpc.rs index 5a4b4be722..db64e2d111 100644 --- a/crates/relayer/src/event/source/rpc.rs +++ b/crates/relayer/src/event/source/rpc.rs @@ -381,6 +381,8 @@ async fn fetch_all_events( events.append(end_block_events); } + events.append(&mut response.finalize_block_events); + Ok(events) }