Relay for all paths defined in the configuration #748
Labels
I: logic
Internal: related to the relaying logic
O: new-feature
Objective: cause to add a new feature or support
Milestone
Crate
ibc-relayer
,ibc-relayer-cli
Summary
The
start-multi
command should relay packets and channel events for all paths defined in the configuration.Problem Definition
Despite its name, the
start-multi
command only relay packets and channel events for a single path between two chains.We would instead like to have it relay between all paths defined in the configuration, as a first step towards a passive relayer.
Proposal
Initially, the
start-multi
command will spawn a supervisor per path defined in the configuration.Specific care must be taken in the case when multiple paths exists, where the supervisor needs to filter out some events that may not be relevant to it.
For example, if two paths
A(ibc0 -> ibc1)
andB(ibc0 -> ibc2)
exist, the supervisor forB
must ensure that it discards the events emitted byibc0
which are only relevant to workerB
because they target the chainibc2
.For Admin Use
The text was updated successfully, but these errors were encountered: