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

Setup Admin and Oracle Authority #15

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Setup Admin and Oracle Authority #15

merged 1 commit into from
Jan 10, 2024

Conversation

ebatsell
Copy link
Collaborator

Reworks the existing authorities to a more generic setup:
admin: for config field updates. This can be a multisig.
oracle_authority: for updates of history data. This has to be a hot wallet.

With the previous configuration, the stake_authority had the power to change itself. Because it had to be a hot wallet, it's much more likely to get compromised and could then update itself to an attacker's personal wallet with no recourse from the team. In this configuration, the admin multisig could set the oracle_authority to a new hot wallet if the current one has been compromised.

@ebatsell ebatsell marked this pull request as ready for review January 10, 2024 18:02
@ebatsell ebatsell merged commit 56373f9 into master Jan 10, 2024
2 checks passed
@ebatsell ebatsell deleted the update-authorities branch January 10, 2024 20:29
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