Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Enable force-overwrite of contract code at AccountId #11445

Closed
cmichi opened this issue May 18, 2022 · 0 comments · Fixed by #11451
Closed

Enable force-overwrite of contract code at AccountId #11445

cmichi opened this issue May 18, 2022 · 0 comments · Fixed by #11451

Comments

@cmichi
Copy link
Contributor

cmichi commented May 18, 2022

The pallet-contracts should have functionality that enables sudo/governance to force-overwrite the contract code of a particular AccountId. AFAIK this is not a simple set_storage(account_id, new_code), but more involved.

There will eventually be some mishap with a contract on some chain, we'll have to introduce this sooner or later anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant