Skip to content

Commit

Permalink
Add handling of channel upgrade timeout event in channel worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoss17 committed May 29, 2024
1 parent 7c56bc2 commit c74f9e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/relayer/src/worker/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ pub fn spawn_channel_worker<ChainA: ChainHandle, ChainB: ChainHandle>(
| IbcEventType::UpgradeTryChannel
| IbcEventType::UpgradeAckChannel
| IbcEventType::UpgradeConfirmChannel
| IbcEventType::UpgradeOpenChannel => retry_with_index(
| IbcEventType::UpgradeOpenChannel
| IbcEventType::UpgradeTimeoutChannel => retry_with_index(
channel_handshake_retry::default_strategy(max_block_times),
|index| match RelayChannel::restore_from_state(
chains.a.clone(),
Expand Down

0 comments on commit c74f9e5

Please sign in to comment.