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

Incorrect event state due to to indexing issues on Etherscan/Blockscout backends #119

Open
rkalis opened this issue Apr 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rkalis
Copy link
Member

rkalis commented Apr 15, 2023

Today I noticed that BscScan especially has issues with returning logs for recent blocks. Combined with our local indexing of events, this can be problematic since there is no way to recover once BscScan gets back up to speed, because we have no indication that it "failed" earlier. I've reached out to the BscScan team to see what can be done about this. If that is not fruitful we just have to apply the same blockNumber - 50 calculation that we do for Covalent.

Since we don't know when this has occurred and who this affected we will need to add a Dexie migration for all Etherscan/Blockscan chains to clear all events at least since IndexedDB indexing went live, potentially just do a full clear.

@rkalis
Copy link
Member Author

rkalis commented Apr 16, 2023

Also, certain unreliable RPCs for smaller chains may some times run into issues. We should try to figure out if there's a way to detect this kind of behaviour and make sure it doesn't break things - or can recover if things do break.

@rkalis rkalis added the bug Something isn't working label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant