-
Notifications
You must be signed in to change notification settings - Fork 1k
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
store boolean instead of address #493
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.
Looking good!! Just a couple of little things 😄 Nice to see the gas went down a bit with it too
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.
Just a couple more things! We're nearly there!
bc5c2f1
to
e3b5a9e
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.
lgtm!
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.
looks good! one tiny nit
src/test/PoolNestedActionsTest.sol
Outdated
(address locker) = manager.getLocker(); | ||
assertTrue(locker != address(this), "Locker wrong"); | ||
|
||
function _swap(address locker) internal { |
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.
super nit but this really is now the caller right? Seems like we renamed (which I like better!)
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!
Related Issue
Which issue does this pull request resolve?
store boolean for lock #487
Description of changes
Removes storing the locker address and now stores a boolean instead