-
Notifications
You must be signed in to change notification settings - Fork 193
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
Feat: LidoLocator behind Proxy #539
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.
Thank you for the outstanding speed of delivery 🚀
Left some suggestions
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.
LGTM 👍
Though please have a look at the proposed improvements
|
||
// See contracts/COMPILERS.md | ||
// solhint-disable-next-line | ||
pragma solidity 0.4.24||0.8.9; |
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.
function withdrawalQueue() external view returns(address); | ||
function withdrawalVault() external view returns(address); | ||
function coreComponents() external view returns( | ||
address, |
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.
we can document return var names in the interface file I believe
This PR includes a new contract: Proxied LidoLocator. All addresses are immutable to avoid storage-read operations for gas efficiency. Whenever Locator needs changing, simply upgrade the implementation.