-
Notifications
You must be signed in to change notification settings - Fork 410
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
Freeze Code ID Proposal #780
Comments
We have a field that controls who can instantiate a given CodeID, called If we allowed modifying that field by a gov proposal, that should satisfy your request, right? It would also allow making a restricted codeID free to instantiate by anyone, which is more a permissioned use-case, but nice that one concept can cover a range of uses. |
Yes! modifying that value through a gov proposal will totally work |
Thanks for bringing this up. I really like the idea of freezing a code id and releasing it. 💯 I don't have the steps to implement this well documented but as a start these are the high level steps, in case somebody want to give it a try already:
Implementation on the server side:
Client side:
Manual testing
|
I can probably work on this, how this proposal should be called? It's actually updating instantiation permissions so |
💪 great! |
|
With permissioned CosmWasm chains, it would be nice to freeze code ids from being instantiated.
Example: There is a security bug in a code id and a new one is deployed but you want to prevent the old one from being instantiated but at the same time keep previously instantiated contracts to keep running.
The text was updated successfully, but these errors were encountered: