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

Accounting oracle: remove an erroneous and excess check #692

Merged

Conversation

skozin
Copy link
Member

@skozin skozin commented Mar 17, 2023

The requirement for the number of exited validators to not decrease is already checked in the staking router, and it's compared per module which is a more strict check.

TODO:

  • Tests for the return value of StakingRouter.updateExitedValidatorsCountByStakingModule

@skozin skozin mentioned this pull request Mar 17, 2023
15 tasks
the requirement for the number of exited validators to not decrease is already checked in the staking router, and it's compared per module which is a more strict check
@skozin skozin force-pushed the fix/oracle-exited-validators-check branch from 58aa459 to f523e46 Compare March 17, 2023 13:26
Copy link
Contributor

@Psirex Psirex left a comment

Choose a reason for hiding this comment

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

LGTM. Especially liked the detailed comment about the validators' update process 👍🏻👍🏻👍🏻

contracts/0.8.9/StakingRouter.sol Show resolved Hide resolved
contracts/0.8.9/StakingRouter.sol Show resolved Hide resolved
@skozin skozin marked this pull request as ready for review March 20, 2023 14:33
@TheDZhon
Copy link
Contributor

TheDZhon commented Mar 20, 2023

Please consider fixing the conflicts with the target branch 🙏

UPD. resolved

Copy link
Contributor

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

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

Neat 👍

@TheDZhon TheDZhon merged commit 2bc6ea9 into fix/shapella-upgrade-beta3-to-rc Mar 21, 2023
@TheDZhon TheDZhon deleted the fix/oracle-exited-validators-check branch March 21, 2023 09:40
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.

4 participants