Update so cli.js test works

- Use websnark version that supports trusted setup
 - Fix cli.js
This commit is contained in:
Brian Li 2021-04-25 23:24:08 -07:00
parent d946cf0808
commit 3af3379688
4 changed files with 11 additions and 11 deletions

View file

@ -16,7 +16,7 @@ module.exports = function (deployer, network, accounts) {
const hasherInstance = await hasherContract.deployed()
await ERC20Tornado.link(hasherContract, hasherInstance.address)
let token = ERC20_TOKEN
if (token === '') {
if (token === '' || network === 'development') {
const tokenInstance = await deployer.deploy(ERC20Mock)
token = tokenInstance.address
}