Skip to content

Commit 8a4840e

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents a10f142 + 607dd0c commit 8a4840e

File tree

93 files changed

+11756
-4382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+11756
-4382
lines changed

.changeset/kind-poems-pull.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openzeppelin/wizard-common': patch
3+
---
4+
5+
Update Solidity Account prompt

.changeset/lovely-groups-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openzeppelin/wizard': patch
3+
---
4+
5+
Remove all initializers from non-upgradeable accounts.

.changeset/odd-ants-hunt.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/contracts-mcp': minor
4+
---
5+
6+
Add constructors for `SignerECDSA`, `SignerP256`, `SignerRSA`, `SignerERC7702`, `SignerERC7913`, `MultiSignerERC7913` and `MultiSignerERC7913Weighted`

.changeset/sad-nails-smash.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/contracts-mcp': minor
4+
---
5+
6+
Enable upgradeability for `AccountERC7579`, `AccountERC7579Hooked`, `SignerECDSA`, `SignerP256`, `SignerRSA`, `SignerERC7702`, `SignerERC7913` and `MultiSignerERC7913`

.changeset/sour-hats-grow.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/contracts-mcp': minor
4+
---
5+
6+
**Breaking change**: Use `Account`, `AccountERC7579`, `AccountERC7579Hooked`, `ERC7812`, `ERC7739Utils`, `ERC7913Utils`, `AbstractSigner`, `SignerECDSA`, `SignerP256`, `SignerRSA`, `SignerERC7702`, `SignerERC7913`, `MultiSignerERC7913`, and `MultiSignerERC7913Weighted` from OpenZeppelin Contracts 5.4.0 instead of Community Contracts

.changeset/swift-eels-repair.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@openzeppelin/wizard-cairo': minor
3+
'@openzeppelin/wizard-common': patch
4+
'@openzeppelin/contracts-mcp': patch
5+
---
6+
7+
Support decimals customization for ERC20 Cairo contracts

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
working-directory: packages/ui
112112
- name: Run tests
113113
if: matrix.variant == 'default'
114-
run: yarn test '**/*.test.ts' '!**/*.compile.test.ts'
114+
run: yarn test '**/*.test.ts' '**/test.ts' '!**/*.compile.test.ts'
115115
working-directory: packages/core/${{matrix.package}}
116116

117117
- name: Get list of changed files

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
"@types/node": "^20.0.0",
2222
"typescript": "^5.0.0"
2323
}
24-
}
24+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const cairoRoyaltyInfoDescriptions = {
3636

3737
export const cairoERC20Descriptions = {
3838
premint: 'The number of tokens to premint for the deployer.',
39+
decimals: 'The number of decimals to use for the contract. Defaults to 18.',
3940
votes:
4041
"Whether to keep track of historical balances for voting in on-chain governance, with a way to delegate one's voting power to a trusted account.",
4142
};

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ export const solidityPrompts = {
88
Stablecoin:
99
'Make a stablecoin token that uses the ERC-20 standard. Experimental, some features are not audited and are subject to change.',
1010
RWA: 'Make a real-world asset token that uses the ERC-20 standard. Experimental, some features are not audited and are subject to change.',
11-
Account:
12-
'Make an account contract that follows the ERC-4337 standard. Experimental, some features are not audited and are subject to change.',
11+
Account: 'Make an account contract that follows the ERC-4337 standard.',
1312
Governor: 'Make a contract to implement governance, such as for a DAO.',
1413
Custom: 'Make a custom smart contract.',
1514
};

0 commit comments

Comments
 (0)