mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 09:47:13 +01:00
update truffle; fix tests
This commit is contained in:
parent
78bd4175fa
commit
c559a79396
@ -52,7 +52,7 @@
|
|||||||
"prettier-plugin-solidity": "^1.0.0-beta.3",
|
"prettier-plugin-solidity": "^1.0.0-beta.3",
|
||||||
"snarkjs": "git+https://github.com/tornadocash/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
|
"snarkjs": "git+https://github.com/tornadocash/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
|
||||||
"solhint-plugin-prettier": "^0.0.5",
|
"solhint-plugin-prettier": "^0.0.5",
|
||||||
"truffle": "^5.1.65",
|
"truffle": "^5.1.67",
|
||||||
"truffle-flattener": "^1.4.2",
|
"truffle-flattener": "^1.4.2",
|
||||||
"web3": "^1.3.4",
|
"web3": "^1.3.4",
|
||||||
"web3-utils": "^1.3.4",
|
"web3-utils": "^1.3.4",
|
||||||
|
@ -299,7 +299,7 @@ contract('ETHTornado', (accounts) => {
|
|||||||
toFixedHex(input.refund),
|
toFixedHex(input.refund),
|
||||||
]
|
]
|
||||||
const error = await tornado.withdraw(proof, ...args, { from: relayer }).should.be.rejected
|
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 () => {
|
it('fee should be less or equal transfer value', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user