• Sebastian Stammler's avatar
    op-node/rollup/derive: Add L2BlockToBlockRef · 0fd7076a
    Sebastian Stammler authored
    This is similar to PayloadToBlockRef but takes an interface instead that
    e.g. a types.Block fulfills. This way, we can directly extract L2BlockRefs
    from type.Blocks that have a valid L1 Info Deposit tx as first tx.
    
    A block could also be converted into an ExecutionPayload, but this would make an
    inefficient roundtrip, marshalling and unmarshalling all transactions.
    0fd7076a
Name
Last commit
Last update
..
derive Loading commit data...
driver Loading commit data...
sync Loading commit data...
output_root.go Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...