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

[Bridges SDK] Relayer automated runtime compatibility check #6071

Open
2 tasks
acatangiu opened this issue Oct 15, 2024 · 0 comments
Open
2 tasks

[Bridges SDK] Relayer automated runtime compatibility check #6071

acatangiu opened this issue Oct 15, 2024 · 0 comments
Labels
T15-bridges This PR/Issue is related to bridges.

Comments

@acatangiu
Copy link
Contributor

Description

Bridge relayers read storage from multiple chains (AHs, BHs, Relays, Ethereum, etc), and use storage proofs to submit to other chains.
To guarantee compatibility, we currently use runtime version guards to make sure relayers don't operate on newer runtimes (newer than the ones they were compiled agains).

The problem with this approach is that relayer operators need to update and redeploy the relayer stack for each chain runtime upgrade, and because runtime upgrades are asynchronous, this operational overhead is significant.

This issue is to track a solution for minimizing this operational overhead. One idea to do so is to develop smarter relayers that can run compatibility checks for "newer" runtimes, and only request manual update+redeployment when they do detect some compatibility problem.

@acatangiu acatangiu added the T15-bridges This PR/Issue is related to bridges. label Oct 15, 2024
@acatangiu acatangiu changed the title [Bridge SDK] Relayer automated runtime compatibility check [Bridges SDK] Relayer automated runtime compatibility check Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T15-bridges This PR/Issue is related to bridges.
Projects
Status: Todo
Development

No branches or pull requests

1 participant