File Location(s)
relayer/src/message_relayers/eth_gear
Proposal
Instead of passing around large amount of unbounded/bounded/broadcast channels attempt to switch to Actix actors and use proper message-passing style.
Potential benefits:
- More maintenable code
- Less space for bugs in the code
- Easier time handling errors across actors
- Easier time on managing state of the relayer
Right now only eth-gear relayer is being worked on as part of this experiment. If the resulting refactor will improve code quality other relayers might be considered for refactoring too.
File Location(s)
relayer/src/message_relayers/eth_gear
Proposal
Instead of passing around large amount of unbounded/bounded/broadcast channels attempt to switch to Actix actors and use proper message-passing style.
Potential benefits:
Right now only eth-gear relayer is being worked on as part of this experiment. If the resulting refactor will improve code quality other relayers might be considered for refactoring too.