ethereum-optimism / optimism

Optimism is Ethereum, scaled.
https://optimism.io
MIT License
5.65k stars 3.27k forks source link

`op-node`: Unsafe Block RPC Endpoint #12590

Open tynes opened 3 weeks ago

tynes commented 3 weeks ago

It is useful for some applications to have reliable access to the signed unsafe blocks. An RPC method could be added to the op-node to fetch this data. This RPC method would only be enabled if the node is running in sequencer mode

Some open questions on what this could look like:

Ideally the unsafe blocks can be easily accessed via the p2p network, but its currently unreliable. https://github.com/ethereum-optimism/optimism/pull/11781 is an attempt to improve the p2p network, but it isn't ready for merge yet.

ncitron commented 3 weeks ago