Improve logging when updating events

This commit is contained in:
Theo 2023-05-09 23:41:03 +03:00
parent 9d1f66eec0
commit ed422786c0

@ -22,6 +22,7 @@ async function main(type, netId) {
deployedBlock deployedBlock
}) })
console.log('Update events for', instance, nativeCurrency.toUpperCase(), `${type.toLowerCase()}s`)
console.log('cachedEvents count - ', cachedEvents.events.length) console.log('cachedEvents count - ', cachedEvents.events.length)
console.log('lastBlock - ', cachedEvents.lastBlock) console.log('lastBlock - ', cachedEvents.lastBlock)