-
Notifications
You must be signed in to change notification settings - Fork 8
Fix validators checker #128
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 fixes the ValidatorsChecker contracts by adding support for genesis vault pool escrow functionality. The changes ensure that genesis vaults properly account for assets held in their associated pool escrow contracts when calculating total vault assets.
- Adds
genesisVaultPoolEscrowparameter to ValidatorsChecker constructors - Updates asset calculation logic to include pool escrow balances for genesis vaults
- Updates deployment configurations with new ValidatorsChecker addresses
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| contracts/validators/ValidatorsChecker.sol | Adds pool escrow parameter to base constructor and stores it as immutable field |
| contracts/validators/GnoValidatorsChecker.sol | Implements genesis vault detection and includes pool escrow assets in GNO calculations |
| contracts/validators/EthValidatorsChecker.sol | Implements genesis vault detection and includes pool escrow ETH balance |
| test/gnosis/GnoValidatorsChecker.t.sol | Updates test constructor to pass pool escrow parameter |
| test/EthValidatorsChecker.t.sol | Updates test constructor to pass pool escrow parameter |
| script/UpgradeGnoNetwork.s.sol | Updates deployment script to include pool escrow parameter |
| script/UpgradeEthNetwork.s.sol | Updates deployment script to include pool escrow parameter |
| deployments/*.json | Updates ValidatorsChecker contract addresses across all networks |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Forge code coverage:
|
No description provided.