mirror of
https://github.com/tornadocash/tornado-trees.git
synced 2024-12-04 23:15:01 +01:00
fix test
This commit is contained in:
parent
34ee9dcb0d
commit
ed48bee1f6
@ -121,7 +121,9 @@ describe('TornadoTrees', function () {
|
|||||||
|
|
||||||
const filter = tornadoTrees.filters.DepositData()
|
const filter = tornadoTrees.filters.DepositData()
|
||||||
const migratedEvents = await tornadoTrees.queryFilter(filter)
|
const migratedEvents = await tornadoTrees.queryFilter(filter)
|
||||||
console.log('events', JSON.stringify(migratedEvents, null, 2))
|
migratedEvents.forEach((e, i) => {
|
||||||
|
expect(e.args.index).to.be.equal(i)
|
||||||
|
})
|
||||||
//
|
//
|
||||||
for (let i = 0; i < notes.length; i++) {
|
for (let i = 0; i < notes.length; i++) {
|
||||||
await register(notes[i], tornadoTrees, tornadoProxy)
|
await register(notes[i], tornadoTrees, tornadoProxy)
|
||||||
|
Loading…
Reference in New Issue
Block a user