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

Upgrade Staking contract #2473

Closed
Zodomo opened this issue Nov 13, 2024 · 1 comment
Closed

Upgrade Staking contract #2473

Zodomo opened this issue Nov 13, 2024 · 1 comment
Assignees

Comments

@Zodomo
Copy link
Contributor

Zodomo commented Nov 13, 2024

Problem to Solve

The Staking.sol contract was updated. Once the Go infrastructure that utilizes it is updated to support the changes, the contract on Omni needs to be upgraded.

Proposed Solution

Wait for the related Go to be updated (see #2467), and then run the staking upgrade routine that was updated in PR #2465.

@Zodomo Zodomo added this to the 1.1 - Mainnet Beta [Nov 20] milestone Nov 13, 2024
@Zodomo Zodomo self-assigned this Nov 13, 2024
@Zodomo
Copy link
Contributor Author

Zodomo commented Nov 14, 2024

Because the validators are still whitelisted, we can upgrade the contract. The primary concern was validator pubkeys that didn't exist on the curve. The signature check is just to prevent frontrunning. We can upgrade again to remove the deprecated createValidator function once the e2e/cli code is updated.

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