-
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
26b3b6c
bdda02b
6af083c
cbda775
56ac01b
1a021e9
f8d4b5f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,9 +61,9 @@ function format(upgradeable: false | 'uups' | 'transparent') { | |
} | ||
} | ||
|
||
for (const signer of [false, 'ERC7702', 'ECDSA', 'P256', 'RSA', 'Multisig', 'MultisigWeighted'] as const) { | ||
for (const signer of [false, 'ECDSA', 'EIP7702', 'P256', 'RSA', 'Multisig', 'MultisigWeighted'] as const) { | ||
for (const upgradeable of [false, 'uups', 'transparent'] as const) { | ||
if (signer === 'ERC7702' && !!upgradeable) continue; | ||
if (signer === 'EIP7702' && !!upgradeable) continue; | ||
|
||
Comment on lines
+64
to
67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major 🧩 Analysis chainEIP7702 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: #!/bin/bash
# Find any leftovers after the rename
rg -nP 'ERC7702|erc7702' Length of output: 2343 Remove all stale ERC7702 references
🤖 Prompt for AI Agents
|
||
let title = 'Account'; | ||
if (signer) { | ||
|
Large diffs are not rendered by default.
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]␊ | ||
|
Uh oh!
There was an error while loading. Please reload this page.