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

Vault Upgrade Process #672

Closed
gregdhill opened this issue Jul 22, 2022 · 0 comments
Closed

Vault Upgrade Process #672

gregdhill opened this issue Jul 22, 2022 · 0 comments

Comments

@gregdhill
Copy link
Member

Ideal runtime upgrade process:

  1. Bump spec_version, compile and tag parachain
  2. Upgrade Vault client and tag
  3. Execute authorize_upgrade(code_hash)
  4. Execute some call to notify pending Vault upgrade
  5. Off-chain process downloads new release
  6. Execute enact_authorized_upgrade(code)
  7. Validation function is scheduled to apply on relay chain
  8. Off-chain process waits for new runtime and restarts

Related: interlay/interbtc-clients#310

We can also make use of this event to monitor when the upgrade has been applied.

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

1 participant