3

If I am testing a private blockchain and I want to reset it, and delete all contracts, etc., what needs to be deleted?

Is it enough to delete the .parity folder on every node?

3

With

parity --chain dev db kill

If you have your own config.json, it works the same:

parity --chain config.json db kill

Note, you have to do it on all nodes running that chain/config.

|improve this answer|||||
  • I did this. I also deleted the chains, signer, dapps, and cache directories under .parity/. I did this on all nodes. But the old contracts still show up as options to "Transfer" ETH to. – stone.212 Nov 21 '17 at 4:51
  • Ah, you have to clear your browser cache (local storage). – Afr Nov 21 '17 at 9:43
  • I did that and anyway, I don't allow any local storage to my browser. I just checked now and there are no applications that are permitted to use local storage on my browser. But I hit "clear now" anyway and the old contracts are still visible. – stone.212 Nov 21 '17 at 23:22
  • Then I have no idea what you are talking about. Maybe hit me up on Gitter and share some screenshots. – Afr Nov 23 '17 at 13:58
0

Answer:

Delete this file:

.parity/keys//address_book.json

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.