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

[BUG] Unhandled Reorg on Blast Sepolia hangs and eventually causes RPC errors #1212

Open
ind-igo opened this issue Nov 2, 2024 · 1 comment

Comments

@ind-igo
Copy link

ind-igo commented Nov 2, 2024

Running Ponder on blast sepolia on two different instances got the following error.

Screenshot 2024-11-02 at 1 14 54 PM

First instance was restarted and has not had any issue since.

The second instance stayed running (to get more info on bug). Eventually encounters InvalidInputRpcError:

Screenshot 2024-11-02 at 3 32 00 PM
@typedarray
Copy link
Collaborator

Thanks for reporting. This could be a Ponder bug, but my best guess is that the RPC provider had intermittent outage/instability. If you run this curl request:

curl -X POST https://sepolia.blast.io \
-H "Content-Type: application/json" \
-d '{
    "jsonrpc": "2.0",
    "method": "eth_getBlockByHash",
    "params": [
        "0xb5a5ff05569d3aeedf7ffc9179784ab3d3488c0fc150e0abe317a2d752ff3d08",
        true
    ],
    "id": 1
}'

It returns a block at height 12905654. However, the explorer shows a different canonical block at that height.

Hard to say in retrospect because explorers don't often store forked blocks / reorgs for L2s, but it kinda looks like there was a large reorg as the initial error suggests. Will give this some more thought.

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