OCamlPro / freeton_wallet

The 'ft' tool is a multi-account terminal wallet for the Free TON blockchain. It is based on the freeton_ocaml_sdk.
https://ocamlpro.github.io/freeton_wallet
Other
14 stars 9 forks source link

Allow repairing and removing a switch if the container was accidentally removed #69

Open NoamDev opened 3 years ago

NoamDev commented 3 years ago

right now, there is no command to recreate a docker container if you accidentally removed it. (maybe it should be auto created?). also, if the container was removed, you cannot remove the switch, since it fails in docker container removal.

lefessan commented 3 years ago

Indeed, there is no command for the first one. Note that you can still recreate another switch with the same accounts using ft account copy from OLD_SWITCH. Anyway, if you removed the container, their states were removed.

I think you can use ft switch remove SWITCH -f, i.e. use -f to force container removal after docker failure