Skip to content

Commit f39adfd

Browse files
ericglauernestognw
andauthored
Use ERC20Bridgeable from Contracts 5.4.0 (#619)
Co-authored-by: ernestognw <[email protected]>
1 parent 374d325 commit f39adfd

40 files changed

+1730
-921
lines changed

.changeset/itchy-clouds-wait.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@openzeppelin/wizard': minor
3+
'@openzeppelin/wizard-common': patch
4+
---
5+
6+
**Breaking change**: Use ERC20Bridgeable from OpenZeppelin Contracts 5.4.0 instead of Community Contracts

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"devDependencies": {
3131
"@eslint/js": "^9.21.0",
3232
"concurrently": "^9.1.2",
33-
"eslint": "^9.21.0",
33+
"eslint": "^9.33.0",
3434
"eslint-config-prettier": "^10.1.1",
3535
"eslint-plugin-prettier": "^5.2.6",
36-
"eslint-plugin-unicorn": "^59.0.0",
36+
"eslint-plugin-unicorn": "^60.0.0",
3737
"prettier": "^3.5.3",
3838
"prettier-plugin-svelte": "^3.3.3",
3939
"typescript": "^5.7.3",

packages/common/src/ai/descriptions/solidity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const solidityERC20Descriptions = {
3030
flashmint:
3131
"Whether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.",
3232
crossChainBridging:
33-
'Whether to allow authorized bridge contracts to mint and burn tokens for cross-chain transfers. Options are to use custom bridges on any chain, or the SuperchainERC20 standard with the predeployed SuperchainTokenBridge. Emphasize that these features are experimental, not audited and are subject to change. The SuperchainERC20 feature is only available on chains in the Superchain, and requires deploying your contract to the same address on every chain in the Superchain.',
33+
'Whether to allow authorized bridge contracts to mint and burn tokens for cross-chain transfers. Options are to use custom bridges on any chain, or the SuperchainERC20 standard with the predeployed SuperchainTokenBridge. The SuperchainERC20 feature is only available on chains in the Superchain, and requires deploying your contract to the same address on every chain in the Superchain.',
3434
premintChainId: 'The chain ID of the network on which to premint tokens.',
3535
callback:
3636
'Whether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.',

packages/core/solidity/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"devDependencies": {
2525
"@openzeppelin/community-contracts": "https://github.com/OpenZeppelin/openzeppelin-community-contracts",
26-
"@openzeppelin/contracts": "^5.3.0",
27-
"@openzeppelin/contracts-upgradeable": "^5.3.0",
26+
"@openzeppelin/contracts": "^5.4.0",
27+
"@openzeppelin/contracts-upgradeable": "^5.4.0",
2828
"@types/node": "^20.0.0",
2929
"@types/semver": "^7.5.7",
3030
"ava": "^6.0.0",
@@ -36,4 +36,4 @@
3636
"ts-node": "^10.4.0",
3737
"typescript": "^5.0.0"
3838
}
39-
}
39+
}

0 commit comments

Comments
 (0)