Skip to content

refactor(eth-gear): Experiment with using Actix actors instead of raw channels #726

Description

@playX18

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions