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

Validate onchain operator ID against local operator ID #516

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

ian-shim
Copy link
Contributor

Why are these changes needed?

Suspend node if the registered operator ID onchain is different from the operator ID locally loaded from BLS key.

Checks

  • I've made sure the lint is passing in this PR.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, in that case, please comment that they are not relevant.
  • Testing Strategy
    • Unit tests
    • Integration tests
    • This PR is not tested :(

@ian-shim ian-shim force-pushed the check-operator-id branch from 30caec4 to 0dba4ab Compare April 24, 2024 01:07
@ian-shim ian-shim marked this pull request as ready for review April 24, 2024 01:16
@ian-shim ian-shim force-pushed the check-operator-id branch from 0dba4ab to cdc041a Compare April 24, 2024 02:00
node/node.go Outdated Show resolved Hide resolved
@ian-shim ian-shim force-pushed the check-operator-id branch from cdc041a to f97b609 Compare April 24, 2024 21:32
@ian-shim ian-shim force-pushed the check-operator-id branch from f97b609 to a18422e Compare April 24, 2024 21:53
@ian-shim ian-shim merged commit cb32efd into Layr-Labs:master Apr 25, 2024
5 checks passed
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.

3 participants