ChainSafe/chainbridge-core

Add check if relayer is registered on the bridge contract before relayer starts

Closed this issue · 1 comments

Based on incident investigation, before relayer starts, there should be a check if the relayer is registered on the chainbridge contract.

Implementation details

Call bridge contract -> Display error if not registered

Testing details

Add unit tests

Acceptance Criteria

  • Add check if relayer is registered on startup
  • Add unit tests
  • Manually test with our stagging setup