-
Notifications
You must be signed in to change notification settings - Fork 37
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
Make OpenZeppelin account contracts deployed by hardhat Upgradable #326
Comments
I'd love to fix this issue😊 |
We've implemented a Cairo v0.11 proxy which uses
Actually, anything which helps to pinpoint the scope of this issue is much appreciated😊 |
When you say you've implemented it, do you mean that you've written a smart contract yourself? Or reused something from the OpenZeppelin repo?
I'm ok with you creating a complete PR only when starknet 0.11 becomes live. Perhaps for now it can be a draft PR which instead of testing on starknet-devnet or testing on alpha-goerli (https://alpha4.starknet.io/) tests on the integration network (https://external.integration.starknet.io/). But I'm also ok with temporarily pausing this issue.
I'm ok with this approach if you don't think there is a better way.
Yes, you can upgrade to OZ v0.6.1 |
We reused the OpenZeppelin proxy and merely added an |
Surely OpenZeppelin isn't already working on this functionality? Maybe this: OpenZeppelin/cairo-contracts#583 A problem with writing our own account classes is that we (or someone) will have to declare them on all testnets and mainnets. |
I overlooked this PR when doing my research. Thanks for making me aware of this. You're certainly right. That's the way to go. I'll use the integration network for testing and open a draft PR in the upcoming days. |
Since to migrating to cairo v1 after the starknet regenesis, we will need the account contract to be upgradable.
The text was updated successfully, but these errors were encountered: