This commit is contained in:
Alexey 2021-02-05 20:41:20 +03:00
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)