Skip to content
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

Merged
merged 3 commits into from
Jan 8, 2025
Merged

feat: support 1271 #254

merged 3 commits into from
Jan 8, 2025

Conversation

pscott
Copy link
Collaborator

@pscott pscott commented Dec 20, 2024

Closes https://github.com/snapshot-labs/workflow/issues/329

note: had to run yarn prettier because of the husky checks enforced upon committing...

@pscott
Copy link
Collaborator Author

pscott commented Jan 8, 2025

@bonustrack ready for review

@@ -26,7 +26,7 @@ contract ProxyFactory is IProxyFactory {
return
address(
uint160(
uint(
uint256(
Copy link
Member

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?

Copy link
Collaborator Author

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 :)

Copy link
Member

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.

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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)

Copy link
Member

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?

Copy link
Collaborator Author

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

Copy link
Collaborator Author

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

Copy link
Member

@bonustrack bonustrack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@pscott pscott merged commit 8e5c1dd into main Jan 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants