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

[BREAKING] feat!: shared public key #571

Merged
merged 4 commits into from
Apr 13, 2022

Conversation

sander2
Copy link
Member

@sander2 sander2 commented Apr 11, 2022

With this change, the bitcoin public key is shared among all vaultids that share the same accountid.

Prior to calling register_vault, the vault must call update_public_key, which sets the public key in the new VaultBitcoinPublicKey map.

A note to downstream: the UpdatePublicKey event type has changed, as well as the register_vault and update_public_key functions.

Note to reviewer: this PR is neatly split up into separate commits which may be useful in reviewing. Please also check the migration carefully.

crates/vault-registry/src/lib.rs Outdated Show resolved Hide resolved
crates/vault-registry/src/types.rs Show resolved Hide resolved
standalone/runtime/tests/mock/nomination_testing_utils.rs Outdated Show resolved Hide resolved
@sander2 sander2 merged commit e762c3d into interlay:master Apr 13, 2022
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

Successfully merging this pull request may close these issues.

2 participants