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

L2: Consider delaying the watcher to a few blocks back. #2187

Open
fkrause98 opened this issue Mar 10, 2025 · 0 comments
Open

L2: Consider delaying the watcher to a few blocks back. #2187

fkrause98 opened this issue Mar 10, 2025 · 0 comments

Comments

@fkrause98
Copy link
Contributor

fkrause98 commented Mar 10, 2025

Description

Ethereum has re-orgs and soft-forks (ommer blocks) frequently enough that we should consider it
something to be handled. This brings the issue that our watcher could believe that a wrong block has
the source of truth.

Solution

Make the watcher only consider blocks from a couple of numbers below the current eth_blockNumber.
My suggestion? 2 epochs should be enough ( 1 epoch = 32 blocks in mainnet). But we can discuss it before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant