-
Notifications
You must be signed in to change notification settings - Fork 8
Add redemption assets to validators checker #129
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for redemption assets in the validators checker by introducing a new parameter to the getExitQueueMissingAssets function. The redemption assets are now included in the calculation of missing assets needed to cover exit queue tickets.
Key Changes
- Added
redemptionAssetsparameter togetExitQueueMissingAssetsfunction signature in the interface and implementation - Updated the missing assets calculation to initialize with redemption assets before adding legacy and queued share requirements
- Updated all test cases to pass the new redemption assets parameter (set to 0 in all tests)
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| contracts/interfaces/IValidatorsChecker.sol | Added redemptionAssets parameter to the getExitQueueMissingAssets function interface |
| contracts/validators/ValidatorsChecker.sol | Implemented redemption assets support in missing assets calculation and refactored control flow |
| test/EthValidatorsChecker.t.sol | Updated all test calls to include the new redemption assets parameter (set to 0) |
| test/gnosis/GnoValidatorsChecker.t.sol | Updated all test calls to include the new redemption assets parameter (set to 0) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Forge code coverage:
|
66e6f8a to
92eb8c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 37 out of 37 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 41 out of 41 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 132 out of 132 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 132 out of 132 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 148 out of 148 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 147 out of 147 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.