anton-rs / kona

A suite of `no_std` components for the OP Stack state transition function and L2 chain derivation.
https://anton-rs.github.io/kona
MIT License
113 stars 26 forks source link

feat: Kona Execution Extension #211

Closed refcell closed 3 weeks ago

refcell commented 3 months ago

Description

Build an execution extension in upstream reth that validates the generated payload attributes from kona-derive.

The execution extension should live in reth's exex examples directory. It should accept the committed L1 Blocks and run the derivation pipeline over these blocks, producing payload attributes. With the generated payload attributes, it should query the engine api for the payload from a trusted node and compare the derived attributes. Comparing these values validates that kona-derive successfully and correctly built attributes.

Future work should include execution, block hashing, and validation with the trusted sequencer to effectively create a consensus client that follows the safe head. This client could be further extended to track the unsafe head by supporting peer connections, an rpc server, etc etc - comprising a feature-complete alternative to the op-node rollup or consensus client.

GrapeBaBa commented 2 months ago

@refcell @clabby I would like to take this one, I saw an ongoing PR in reth, how to promote this and add new features?

refcell commented 3 weeks ago

@refcell @clabby I would like to take this one, I saw an ongoing PR in reth, how to promote this and add new features?

Sorry for the late response here - will follow up in the Optimism Protocol R&D discord server.

refcell commented 3 weeks ago

This is now in https://github.com/paradigmxyz/op-rs