-
Notifications
You must be signed in to change notification settings - Fork 12
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: support 1271 #254
feat: support 1271 #254
Conversation
@bonustrack ready for review |
@@ -26,7 +26,7 @@ contract ProxyFactory is IProxyFactory { | |||
return | |||
address( | |||
uint160( | |||
uint( | |||
uint256( |
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.
Any reason for this change? How is it related to 1271 and wouldn't this break compatibility with current deployment?
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.
uint
aliases to uint256
, but a lot of people say explicitly using uint256
allows for less ambiguous code :)
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.
But why do we need this in this PR? Seems completely unrelated, I'd rather have this within another PR.
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.
Because the linter yells at us. And since we have husky
, we can't commit if the linter isn't happy :D
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.
see initial comment : #254 (comment)
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 see, and these uint256 changes were done by the lint script?
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.
Some were, but the uint
was done manually I reckon
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.
Everything that is purely formatting is done automatically ; but those that change the code need to be manually done
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.
utACK
Closes https://github.com/snapshot-labs/workflow/issues/329
note: had to run
yarn prettier
because of the husky checks enforced upon committing...