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
135 stars 45 forks source link

feat(client): `ecrecover` fallthrough #226

Closed clabby closed 3 months ago

clabby commented 5 months ago

Overview

Implement SignedRecoverable from kona-derive for OpTxEnvelope and TxEnvelope in the client program so that signature recovery is offloaded to the host program. k256 seems to work well on asterisc, but not cannon.

This can be done through the l1-precompile hint route: https://specs.optimism.io/fault-proof/index.html#l1-precompile-precompile--inputbytes

clabby commented 3 months ago

Closing this as stale; This was removed in #400