-
Notifications
You must be signed in to change notification settings - Fork 177
[Solidity] Upgrade @openzeppelin/contracts to 5.5.0-rc.0 #681
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
Open
Amxx
wants to merge
7
commits into
master
Choose a base branch
from
solidity/dependencies/5.5.0-rc.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
26b3b6c
Upgrade @openzeppelin/contracts to 5.5.0-rc.0
Amxx bdda02b
fix
Amxx 6af083c
Update packages/core/solidity/package.json
Amxx cbda775
fix
Amxx 56ac01b
add changeset
Amxx 1a021e9
snap
Amxx f8d4b5f
Add evmVersion to zip hardhat config
ericglau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@openzeppelin/wizard': patch | ||
'@openzeppelin/wizard-common': patch | ||
'@openzeppelin/contracts-mcp': patch | ||
--- | ||
|
||
Update @openzeppelin/contracts and @openzeppelin/contracts-upgradeable dependencies to 5.5.0-rc.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -21,7 +21,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Footec {␊ | ||
|
@@ -33,7 +33,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
import {Bar} from "./Bar.sol";␊ | ||
|
@@ -47,7 +47,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
import {Bar} from "./Bar.sol";␊ | ||
|
@@ -62,7 +62,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
import {Bar} from "./Bar.sol";␊ | ||
|
@@ -77,7 +77,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
import {Bar} from "./Bar.sol";␊ | ||
|
@@ -93,7 +93,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -105,7 +105,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -125,7 +125,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -149,7 +149,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -162,7 +162,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -177,7 +177,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -192,7 +192,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
import {Bar} from "./Bar.sol";␊ | ||
|
@@ -209,7 +209,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -224,7 +224,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -240,7 +240,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -253,7 +253,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract Foo {␊ | ||
|
@@ -267,7 +267,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
contract FooBarBaz {␊ | ||
|
@@ -279,7 +279,7 @@ Generated by [AVA](https://avajs.dev). | |
> Snapshot 1 | ||
|
||
`// SPDX-License-Identifier: MIT␊ | ||
// Compatible with OpenZeppelin Contracts ^5.4.0␊ | ||
// Compatible with OpenZeppelin Contracts ^5.5.0-rc.0␊ | ||
pragma solidity ^0.8.27;␊ | ||
␊ | ||
/// @custom:security-contact [email protected]␊ | ||
|
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🛠️ Refactor suggestion | 🟠 Major
🧩 Analysis chain
EIP7702 rename + skip logic look correct; please confirm no stale ERC7702 references remain.
Matrix uses 'EIP7702' and correctly skips upgradeable combos. Run a quick sweep to catch any lingering keys, error paths, or UI bindings still using ERC7702/erc7702.
🏁 Script executed:
Length of output: 2343
Remove all stale ERC7702 references
Several artifacts still use
ERC7702
and must be updated toEIP7702
for consistency:🤖 Prompt for AI Agents