Closed
Description
Summary of Bug
https://github.com/informalsystems/ibc-rs/blob/master/relayer/src/worker/packet.rs#L120
spawn_background_task(span, Some(Duration::from_millis(200)), move || {
if let Ok(cmd) = cmd_rx.try_recv() {
// infinity retry
retry_with_index(retry_strategy::worker_stubborn_strategy(), |index| {
handle_packet_cmd(
&mut is_first_run,
&link.lock().unwrap(),
clear_on_start,
clear_interval,
&path,
cmd.clone(),
index,
)
})
.map_err(|e| TaskError::Fatal(RunError::retry(e)))?;
}
Ok(Next::Continue)
})
Hermes will always clear the packet at a fixed height. When Hermes cannot build the packet proof at this height (the chain has been prune), Hermes will fall into an endless loop
Version
hermes 0.14.0
Steps to Reproduce
Acceptance Criteria
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate milestone (priority) applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Activity