update truffle; fix tests

This commit is contained in:
Alexey 2021-03-10 20:37:17 +04:00
parent 78bd4175fa
commit c559a79396
3 changed files with 5254 additions and 111 deletions

View File

@ -52,7 +52,7 @@
"prettier-plugin-solidity": "^1.0.0-beta.3",
"snarkjs": "git+https://github.com/tornadocash/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
"solhint-plugin-prettier": "^0.0.5",
"truffle": "^5.1.65",
"truffle": "^5.1.67",
"truffle-flattener": "^1.4.2",
"web3": "^1.3.4",
"web3-utils": "^1.3.4",

View File

@ -299,7 +299,7 @@ contract('ETHTornado', (accounts) => {
toFixedHex(input.refund),
]
const error = await tornado.withdraw(proof, ...args, { from: relayer }).should.be.rejected
error.reason.should.be.equal('verifier-input-gte-snark-scalar-field')
error.reason.should.be.equal('verifier-gte-snark-scalar-field')
})
it('fee should be less or equal transfer value', async () => {

5361
yarn.lock

File diff suppressed because it is too large Load Diff