Skip to content
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

Update OpenZeppelin contracts to 0.9.0 #352

Open
mikiw opened this issue Feb 19, 2024 · 5 comments · May be fixed by #493
Open

Update OpenZeppelin contracts to 0.9.0 #352

mikiw opened this issue Feb 19, 2024 · 5 comments · May be fixed by #493
Assignees
Labels
On hold waiting for more info or other features

Comments

@mikiw
Copy link
Contributor

mikiw commented Feb 19, 2024

https://github.com/OpenZeppelin/cairo-contracts/blob/v0.9.0/src/token/erc20/erc20.cairo

remember about removing the #[key] keyword from the event in erc20 contracts so it is not indexed
(related to #356)

@mikiw mikiw self-assigned this Feb 19, 2024
@mikiw
Copy link
Contributor Author

mikiw commented Feb 21, 2024

Seems that the current OZ wizard doesn't support the mintable feature for v0.9.0.

Due to this problem and the urgency of key attribute comments, this will need to be handled in 2 separate PRs.

Changing status to on hold.

@mikiw mikiw assigned mikiw and unassigned mikiw Feb 21, 2024
@mikiw mikiw added the On hold waiting for more info or other features label Feb 21, 2024
@FabijanC
Copy link
Contributor

Perhaps UDC can also be updated with this issue

@ivpavici
Copy link
Contributor

ivpavici commented Apr 8, 2024

v0.11 came out in the meantime!

@FabijanC
Copy link
Contributor

FabijanC commented May 20, 2024

v0.13 is out:
https://github.com/OpenZeppelin/cairo-contracts/releases/tag/v0.13.0

@mikiw mikiw linked a pull request Jun 14, 2024 that will close this issue
10 tasks
@mikiw
Copy link
Contributor Author

mikiw commented Jun 19, 2024

Seems that the update of UDC requires a version of starknet.rs that supports the selector "deploy_contract" (0.13.0 cairo1) instead of "deployContract" (0.5.0 cairo0)

https://github.com/xJonathanLEI/starknet-rs/blob/36ec1d681fc2917ca4857d14ce262ed7c2b60a7a/starknet-contract/src/factory.rs#L16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On hold waiting for more info or other features
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

3 participants