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

feat: eliminate the impact caused by l2-reorg by scanning finalized blocks only #12

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

bendanzhentan
Copy link
Contributor

To eliminate the impact caused by l2-reorg, the l2-scanner choose to only scan the finalized blocks. Once a l2-block has been finalized, it can be confirmed that it will not be reorg.

Previously, we configured Misc.ConfirmBlocks to eliminate L2 reorg impact, but finalized block tags are more robust. So this PR removes Misc.ConfirmBlocks also.

@bendanzhentan bendanzhentan changed the title feat: scan finalized blocks only feat: eliminate the impact caused by l2-reorg by scanning finalized blocks only Nov 28, 2023
To eliminate the impact caused by l2-reorg, the l2-scanner choose to
only scan the finalized blocks. Once a l2-block has been finalized, it
can be confirmed that it will not be reorg.

Previously, we configured Misc.ConfirmBlocks to eliminate L2 reorg impact, but
finalized block tags are more robust. So this PR removes
Misc.ConfirmBlocks also.
@bendanzhentan bendanzhentan changed the base branch from main to develop December 4, 2023 04:45
@bendanzhentan bendanzhentan changed the base branch from develop to fix-query-filter-failure-reason December 4, 2023 04:49
Copy link

@welkin22 welkin22 left a comment

Choose a reason for hiding this comment

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

LGTM

@bendanzhentan bendanzhentan changed the base branch from fix-query-filter-failure-reason to develop December 8, 2023 03:24
@bendanzhentan bendanzhentan merged commit d913da3 into develop Dec 8, 2023
2 checks passed
@bendanzhentan bendanzhentan deleted the avoid-l2-reorg-impact branch December 8, 2023 03:25
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