-
Notifications
You must be signed in to change notification settings - Fork 907
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
Audit Changes for v1.4.1-2
#812
Conversation
Pull Request Test Coverage Report for Build 10510138697Details
💛 - Coveralls |
To maintain consistency, should we also rename this variable:
From Update: Made that change, please let me know if it should be reverted. |
* @notice Returns a list of Safe owners. | ||
* @return Array of Safe owners. | ||
*/ | ||
function getOwners() internal view returns (address[] memory) { |
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.
I wonder if we need to add unit tests for this? From a FV perspective we could in theory prove that the two always return the same. May be overkill for the audit PR, but might be nice to include on main
.
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 could add that to the PR created for main
. Won't prefer adding it to this one as you mentioned.
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, some small nits and an open question about how best to test the getOwners
method.
This PR makes the changes based on Certora's audit report for the Safe Migration Contracts. Changes are only made to the
SafeToL2Migration
contract. Most of the changes are related to reducing gas consumption, typos and comments.