-
Notifications
You must be signed in to change notification settings - Fork 182
[Cairo] with_components macro #703
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
Merged
ericglau
merged 59 commits into
OpenZeppelin:master
from
immrsd:cairo-with-components-macro
Nov 5, 2025
Merged
Changes from 56 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
175e032
Introduce set-macros module
immrsd 6a8a245
Support with_components macro in contract builder and pring logic
immrsd 36f4ed1
Update contracts generators
immrsd 1a4541d
Support macros in Vesting
immrsd 6b4caed
Support macros in set-upgradeable
immrsd 527ae44
Support macros in set-royalty-info
immrsd 05e440a
Support macros in set-access-control
immrsd 0c2c473
Support macros in Multisig
immrsd 67f64fd
Support macros in Governor
immrsd e1eb066
Support macros in ERC721
immrsd df39503
Support macros in ERC20
immrsd 062b79d
Support macros in ERC1155
immrsd 8082ccd
Support macros in Custom contract
immrsd 4df5fa8
Support macros in add-pausable
immrsd 6100d0b
Support macros in common-options
immrsd 88f14bd
Support macros in tests
immrsd a517606
Migrate Cairo-alpha test project to standalone OZ packages
immrsd b3dee92
Update Cairo-alpha test project generator script
immrsd bbb4381
Support macros subset option in Cairo-alpha CI workflow
immrsd ccbc8fd
Add UI control for macros section
immrsd a0f6bd0
Intergrate macros UI section into all UI controls
immrsd c16419c
Support macros in App.svelte
immrsd 2f369ab
Remove explicit copying of macros defaults obj
immrsd 099132d
Add changelog entry
immrsd ac9523d
Add check to printing logic
immrsd e9957ff
Add additional alias values for macros CLI params
immrsd 40efd2f
Fix comments in UI controls
immrsd b230314
Update Cairo-alpha test snapshots
immrsd a1b5752
Make macros disabled by default
immrsd 686f807
Support passing macros options to contract generators
immrsd 72e01ad
Update vesting test snapshots
immrsd 74d632b
Run formatter
immrsd 69b9eea
Merge master
immrsd 9f3a468
Fix empty enum struct issue
immrsd aa68391
Add function definitions for macro in Cairo-alpha
immrsd 42ffcbb
Add macros to Cairo-alpha function definitions for AI
immrsd 94decc2
Move Cairo-alpha tests to "with_components_off" folder, put into subf…
immrsd 7934af3
Add ava setting for snapshot files location, remove wrongfully genera…
immrsd 99bd314
Update test file refs for with_components_off tests
immrsd a025a4e
Add test cases for Account when with_components macro is enabled
immrsd bc3b0b8
Duplicate tests for when with_components macro is enabled
immrsd 5c9079c
Remove with_components enabled tests for Foo contract & component
immrsd 99af405
Fix issue with empty "with_components"
immrsd 4413f8e
Update ERC20 tests for enabled with_components
immrsd c06129e
Update ERC721 tests for enabled with_components
immrsd e47aaf8
Update ERC1155 tests for enabled with_components
immrsd dc2c78d
Update Governor tests for enabled with_components
immrsd 927ff08
Update Multisig tests for enabled with_components
immrsd 8b33efe
Update Vesting tests for enabled with_components
immrsd 97a6b27
Lint files
immrsd a567b73
Fix Cairo-alpha test project workflow code
immrsd 756d6bb
Add changeset
immrsd 71842f9
Fix namespace issues after merge
immrsd 5402c8f
Improve tooltip text in MacrosSection component
immrsd 8f323b0
Add help tooltip to macros section
immrsd 6ab91db
Update Cairo-alpha snapshots
immrsd edcb68e
Fix changelog entry
immrsd 08e8df6
Merge master
immrsd 5fcd5b5
Merge master
immrsd 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,5 @@ | ||
| --- | ||
| '@openzeppelin/wizard-common': patch | ||
| --- | ||
|
|
||
| Add macros descriptions for Cairo-alpha | ||
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
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.
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.