Open koseoyoung opened 4 years ago
yup, there is some error in cli code. I have checked the logs also over tornado.cash when you provide note and withdrawal address. It generate a log over console that is different from the one in cli. That is basically the root attribute in input object. I had also change that and instead of simple root value i have added its hex but still transaction got reverted.
Conclusion: Code deployed over tornado.cash is different from cli over github
上部署的代码与在github上的cli不同
Did you find the same CLI generated?
For those not able to get it to work, here's a repo that updated the hash function to poseidon and then got all the tests to work: https://github.com/ChihChengLiang/poseidon-tornado.
Hi, I've been trying to run
./cli.js test
this command after setting up ganache and contract deployment. (followed all instructions) However, I kept having execution revert error. Do you have any idea why?The node version is v11.15.0