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

[HAL-08] fix: prevent setting staking limit to deactivated operator #49

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

0xpanoramix
Copy link
Contributor

Description

This PR adds a check in setOperatorLimit that prevents setting a new staking limit for deactivated operators.

@0xpanoramix 0xpanoramix requested a review from mortimr August 8, 2022 19:58
@0xpanoramix 0xpanoramix self-assigned this Aug 8, 2022
Copy link
Contributor

@nmvalera nmvalera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@mortimr mortimr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0xpanoramix 0xpanoramix changed the title fix: prevent setting staking limit to deactivated operator [HAL-08] fix: prevent setting staking limit to deactivated operator Aug 10, 2022
@mortimr mortimr merged commit d4681c9 into master Aug 25, 2022
@mortimr mortimr deleted the fix/prevent-use-of-deactivated-operator branch August 25, 2022 15:22
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