fix tests
This commit is contained in:
parent
aa16e436cd
commit
435f30900b
@ -138,12 +138,13 @@ contract('Miner', (accounts) => {
|
|||||||
toFixedHex(emptyTree.root()),
|
toFixedHex(emptyTree.root()),
|
||||||
)
|
)
|
||||||
|
|
||||||
tornadoTrees = await TornadoTrees.new(operator, operator, tornadoTreesV1.address, verifier, {
|
tornadoTrees = await TornadoTrees.new(operator, tornadoTreesV1.address, {
|
||||||
unprocessedDeposits: 0,
|
depositsFrom: 0,
|
||||||
unprocessedWithdrawals: 0,
|
depositsStep: 0,
|
||||||
depositsPerDay: 0,
|
withdrawalsFrom: 0,
|
||||||
withdrawalsPerDay: 0,
|
withdrawalsStep: 0,
|
||||||
})
|
})
|
||||||
|
await tornadoTrees.initialize(operator, verifier)
|
||||||
const swapExpectedAddr = await getNextAddr(accounts[0], 1)
|
const swapExpectedAddr = await getNextAddr(accounts[0], 1)
|
||||||
const minerExpectedAddr = await getNextAddr(accounts[0], 2)
|
const minerExpectedAddr = await getNextAddr(accounts[0], 2)
|
||||||
torn = await Torn.new(sender, thirtyDays, [
|
torn = await Torn.new(sender, thirtyDays, [
|
||||||
|
Loading…
Reference in New Issue
Block a user