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

update cache metadata after fetching live logs/blocks/txs #8

Closed
0xOlias opened this issue Oct 9, 2022 · 0 comments
Closed

update cache metadata after fetching live logs/blocks/txs #8

0xOlias opened this issue Oct 9, 2022 · 0 comments

Comments

@0xOlias
Copy link
Collaborator

0xOlias commented Oct 9, 2022

the cache metadata gets updated when the historical sync is complete. however, when fetching "live" logs/blocks/txns, they get added to the cache but the metadata never gets updated.

so, when the app rebuilds, it fetches all logs/blocks/txns since the end of the last historical sync despite the fact that the cache store already has all of the data.

this might require a slight remodel for how the cache metadata table(s). worth doing some research on this.

@0xOlias 0xOlias closed this as completed Oct 16, 2022
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

No branches or pull requests

1 participant