ithacaxyz / op-rs

Apache License 2.0
58 stars 6 forks source link

Tracking: Serialization Crate #19

Closed refcell closed 1 month ago

refcell commented 3 months ago

Description

A new crate, ser, for higher order OP type serialization + compression.

This should follow the pattern of kona-derive but invert the inputs and outputs such that a ser pipeline accepts L2 blocks and outputs batch data. A periphery manager can then construct tx candidates and pass them into Alloy which will efficiently handle nonce management and more.

Reference Draft: https://github.com/refcell/cabrinha/tree/main/crates/ser

### Tasks
- [ ] https://github.com/paradigmxyz/op-rs/issues/21
- [ ] https://github.com/paradigmxyz/op-rs/issues/20