Skip to content
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

Merged
merged 2 commits into from
Jun 1, 2024
Merged

taiko updates #302

merged 2 commits into from
Jun 1, 2024

Conversation

wtfsayo
Copy link
Contributor

@wtfsayo wtfsayo commented May 31, 2024

  • added taiko event watcher
  • reconciliation every hour

- added taiko event watcher
- reconciliation every hour
@wtfsayo wtfsayo requested a review from plor May 31, 2024 04:40
Copy link
Contributor

@plor plor left a 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`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo "pased -> parsed"

Comment on lines +233 to +239
@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());
}

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@wtfsayo wtfsayo merged commit 57a902a into develop Jun 1, 2024
@wtfsayo wtfsayo deleted the taiko-event-watcher branch June 1, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants