Open tynes opened 3 weeks ago
ExecutionPayload
objects, so I would definitely keep it as the payload format so that it is easiest to verify the signature. I think many consumers would prefer it be json encoded, but ssz encoding works as well. Maybe some inspiration from the Ethereum Beacon api can be taken, which supports both ssz and json responses.
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 modeSome 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.