-
Notifications
You must be signed in to change notification settings - Fork 48
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
Upgrade to OpenZeppelin V5 #703
Conversation
When introducing a large change like this, it is important to explain the changes so that the PR reviewer has context. The change from |
Well, you created the issue sharing the relevant OpenZeppelin docs 😅, it says in the link shared all informations needed. I am going to share it again: https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v5.0.0 |
Yep, "sharing again" would have been useful in the PR comment so that I don't have to hop through two links and identify the ERC-721 changes. |
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.
Generally looks good to me except for that comment below.
Also: don't we need to change the pragma to >0.8.20
?
Compiling the code doesn't work with v0.8.19 (see my foundry-multibuild).
test/integration/concrete/flash-loan/flash-loan/flashLoan.t.sol
Outdated
Show resolved
Hide resolved
docs: document "_update" function test: check IERC20Errors custom error revert
missed it, we should |
ab6f1e6
to
5d8e989
Compare
I changed the pragma solidity to |
@andreivladbrg the PR looks good technically now but it might be worth reconsidering if we want to merge this on |
And it might also be worth holding off to upgrading to OpenZeppelin v5 until it gets a little more established in the industry, potential bugs are fixed, etc. |
as far as I know they'll start working on this in november, the change made in
agree with this |
That's correct but the engagement contracts specifically mention the v1.1.0 changes as specified in the
we should
Then maybe we should merge this PR on a |
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.
Changed the base branch to 2.2
. Merging now.
Closes #702