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

Add upgrades to presets #964

Merged

Conversation

andrew-fleming
Copy link
Collaborator

@andrew-fleming andrew-fleming commented Apr 9, 2024

Fixes #921.

PR Checklist

Copy link
Member

@ericnordelo ericnordelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! I like the interfaces file inside the presets folder. I Left two small suggestions.

Any reason why this is still a draft?

src/presets/erc721.cairo Show resolved Hide resolved
src/presets/erc721.cairo Outdated Show resolved Hide resolved
src/tests/upgrades/test_upgradeable.cairo Show resolved Hide resolved
andrew-fleming and others added 3 commits April 12, 2024 13:01
Co-authored-by: Eric Nordelo <eric.nordelo39@gmail.com>
@andrew-fleming
Copy link
Collaborator Author

Any reason why this is still a draft?

@ericnordelo yeah, I'm deploying them all to sepolia to double check that they function as they should

Copy link
Member

@ericnordelo ericnordelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, left some small suggestions.

Let's not forget to update the KNOWN_ORDER names in the script that updates the class hashes

docs/modules/ROOT/pages/api/erc20.adoc Show resolved Hide resolved
docs/modules/ROOT/pages/api/erc721.adoc Show resolved Hide resolved
docs/modules/ROOT/pages/api/erc1155.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/api/account.adoc Show resolved Hide resolved
src/presets/interfaces/account.cairo Outdated Show resolved Hide resolved
Copy link
Member

@ericnordelo ericnordelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andrew-fleming andrew-fleming merged commit 061cab2 into OpenZeppelin:main Apr 16, 2024
6 checks passed
@andrew-fleming andrew-fleming deleted the add-upgrades-to-presets branch April 16, 2024 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make presets upgradeable
2 participants