-
Notifications
You must be signed in to change notification settings - Fork 509
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
OZ L-11 #311
OZ L-11 #311
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.
also:
@inheritdoc BaseActionsRouter
function msgSender() public view override returns (address) {
return _getLocker();
}
src/base/EIP712_v4.sol
Outdated
/// @notice Returns the domain separator for the current chain. | ||
/// @dev Uses cached version if chainid is unchanged from construction. |
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.
can remove now that we're inheriting from the interface
src/lens/Quoter.sol
Outdated
function quoteExactInputSingle(QuoteExactSingleParams memory params) | ||
function quoteExactInputSingle(QuoteExactSingleParams calldata params) |
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.
in the OZ issue, i think we wanted memory on both implementation and interface. I think there were incidents in IQuoter that were using calldata.
Because we are redoing Quoter entirely, i dont think we need to change it back
Related Issue
OZ L-11 Discrepancies Between Interfaces and Implementation Contracts
https://defender.openzeppelin.com/v2/#/audit/43d4e491-c5b4-42ba-b0fc-7f5adc46a6b6/issues/L-11
Description of changes
fix discrepancies between interfaces and implementation contracts