Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge relayer improvements #436

Closed
shaspitz opened this issue Oct 16, 2024 · 2 comments
Closed

Bridge relayer improvements #436

shaspitz opened this issue Oct 16, 2024 · 2 comments

Comments

@shaspitz
Copy link
Contributor

shaspitz commented Oct 16, 2024

The standard bridge relayer implementation could benefit from the following features/improvements prior to mainnet:

  • Relayer tracks transfers using DB and marks transfers as complete in DB when the transferFinalized tx is included in a finalized destination block.
  • If a reorg happens on the destination chain, the finalizeTransfer transaction would need to be retried. This means the relayer must monitor each finalize transfer tx and make sure it gets into the finalized block (not "latest"), ie. confirm the txes are not reorged out.
  • Relayer shouldn't sync from block zero upon being restarted (DB helps with this).
  • Relayer should use keystore for signer.
  • Implement Backup RPCs for each chain
  • Bridge metrics
@shaspitz
Copy link
Contributor Author

CC @aloknerurkar this is my TODO w.r.t bridge from earlier this year, and may not yet be a comprehensive list

@aloknerurkar
Copy link
Collaborator

Completed #438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants