I want to sorta "undeploy" smart contract as it was not deployed ever. If it is possible, I hope it will cleanup account's RAM. And I'm not talking about freezing .
1 Answer
cleos set contract --help
Specifically you want --clear
You are required to manually clear the contract tables if you no longer want the data. Clearing a contract with existing data will not remove the RAM used to store the data in tables.
-
Basically I look at this docs thought I know it can be old ), I should make a habit to look more at --help. Thank you. Commented Oct 8, 2019 at 11:27