What if I find a bug in my published smart contract? What is the best way to resolve it? I guess I can't undo the contract and some folks can still use it?
Asked
Active
Viewed 407 times
0
-
You might find this an interesting read: https://medium.com/@tjayrush/smart-contracts-are-immutable-thats-amazing-and-it-sucks-e0fbc7b0ec16 – Thomas Jay Rush Jul 07 '18 at 16:51
-
you have to make it upgradable – Badr Bellaj Jul 07 '18 at 18:14
1 Answers
2
An already published contract. Realistically,(you could get a fork that makes the contract invalid similar to the DAO) nothing, but there are smart contract upgradability patters that you can develop around to offer some peace of mind and flexibility in fixing bugs of deployed contracts.
Vignesh Karthikeyan
- 1,950
- 1
- 12
- 40