-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/update to openzeppelin v5 #209
Conversation
also: - upgrade solidity to 0.8.21 - upgrade foundry
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.
Let's have a final decision on how to distribute dividends before merging.
Here are the reasons for an against this update:
Con:
|
Hey, just provided more information about how to adapt 5.0 to an ERC20Snapshot in OpenZeppelin/openzeppelin-contracts#4276 (comment). In case it's helpful 🙂 |
Thank you @ernestognw ! |
@CJentzsch and @malteish decided to stay with OZ v4.9 for the foreseeable future. The decision was based in part on the Snapshot removal, too. Some of the arguments were: 4.9 with Snapshots
5.0 with SnapshotVotes
|
This update came with several changes:
_beforeTokenTransfer()
is now called_update()
PaymentSplitter
was removed, so the corresponding tests have been disabledAlso, openzeppelin upgrades plugin was added in preparation for the next step.