Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace public header fields with getters This will make it easier to keep a somewhat consistent Rust API even as we add or change various fields in the underlying representation of the header. * WIP upgradable types * v2 * merge origin/main * cargo sort * block impls * remove unused imports * export types * group imports * v3 header * lint * remove v2 header definition * move crates to workspace * remove types from sequencer crate * group imports * serialization * fix test * fix deserialization * cargo sort * lint * fix payload::empty() * fix: visit_map deserialization * use serde_json map * cargo sort * fix ResolvableChainConfigOrVersion deserialization * move out traits and errors * fix imports * move errors into impls * remove ResolvableChainConfig and generic parameters from EitherOrVersion * remove committable trait implementation for v1 Header * add comments for VersionedHeader * remove StructFields enum * add reference tests for v1, v2, and v3 header * move reference_tests to types crate * fix: v2 and v3 reference test * fix comments * add comments for Header::genesis() * add comments for Header::create panic * add comment for global error issue * add comment for global error issue * build genesis header for the current sequencer version * version sub-directories for data dir * move messages.json and messages.bin to data dir * update data readme * cargo update * include sub dirs binaries in gitignore --------- Co-authored-by: Jeb Bearer <[email protected]>
- Loading branch information