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

Why there is block reorg? When reorg happen? #1650

Open
leo-xinwang opened this issue Jan 7, 2025 · 1 comment
Open

Why there is block reorg? When reorg happen? #1650

leo-xinwang opened this issue Jan 7, 2025 · 1 comment

Comments

@leo-xinwang
Copy link

For event log indexer, the reorg needs to be handled carefully otherwise events will be missing.

@boundless-forest
Copy link
Member

boundless-forest commented Jan 7, 2025

Chain reorgs are quite normal, it depends on many factors, including the network status of the validators, consensus mechanism, and the network latency. We can't predict the chain reorg, but we can handle it properly. The best practice is for indexers to handle reorg situations and correct data promptly. It is recommended to use the third party dedicated indexers instead of writing by yourself, such as Thegraph, as they have well-integrated reorg mechanisms.

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

2 participants