-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taiko updates #302
taiko updates #302
Conversation
wtfsayo
commented
May 31, 2024
- added taiko event watcher
- reconciliation every hour
- added taiko event watcher - reconciliation every hour
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple questions
if (!parsedLogsOP.length && !parsedLogsGnosis.length && !parsedLogsBase.length) { | ||
console.log('No New Redemptions'); | ||
if (!parsedLogsOP.length && !parsedLogsGnosis.length && !parsedLogsBase.length && !parsedLogsTaiko.length) { | ||
console.log('No New Redemptions',`pased logs for last: ${lastBlocksCount} blocks`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo "pased -> parsed"
@Cron(CronExpression.EVERY_HOUR) | ||
async reconciliation(){ | ||
console.log("Started Reconciliation at " + new Date().toLocaleString()); | ||
() => this.watchEvent(25000); | ||
console.log("Finished Reconciliation at " + new Date().toLocaleString()); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite understand this, is this just backup in case things are missed in the other check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes