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

Reset watcher to previous indexed block on start #377

Merged
merged 6 commits into from
Nov 3, 2022

Conversation

prathamesh0
Copy link
Collaborator

@prathamesh0 prathamesh0 commented Oct 20, 2022

Part of cerc-io/watcher-ts#190 and #292

  • Get block from cache and save to db if not found
  • Reset watcher to previous indexed block before start
  • Implement changes at graft block height

@nikugogoi nikugogoi changed the title [WIP] Get block from cache and save to db if not found Reset watcher to previous indexed block before start Oct 21, 2022
@nikugogoi nikugogoi self-assigned this Oct 31, 2022
* Implement changes at graft block

* Implement workarounds to fix mismatches

* Add unique query for transaction table

* Apply where condition for id in inner subquery
@ashwinphatak ashwinphatak changed the title Reset watcher to previous indexed block before start Reset watcher to previous indexed block on start Nov 3, 2022
@ashwinphatak ashwinphatak merged commit da397dd into vulcanize:main Nov 3, 2022
@ashwinphatak ashwinphatak deleted the pm-fix-job-runner branch November 3, 2022 08:32
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.

3 participants