Open clabby opened 11 months ago
https://github.com/ethereum-optimism/optimism/pull/7559 defines a new binary serialization format for the State and Memory structs, specifically for the snapshots. This should alleviate some of the pain in the Go <> Rust JSON interoperability (context: https://github.com/golang/go/issues/37711 - tl;dr golang does not marshal nil slices as [] in JSON by default.)
State
Memory
[]
Move the serialization of State and Memory over to this format once (or if) this PR is merged.
Overview
https://github.com/ethereum-optimism/optimism/pull/7559 defines a new binary serialization format for the
State
andMemory
structs, specifically for the snapshots. This should alleviate some of the pain in the Go <> Rust JSON interoperability (context: https://github.com/golang/go/issues/37711 - tl;dr golang does not marshal nil slices as[]
in JSON by default.)Move the serialization of
State
andMemory
over to this format once (or if) this PR is merged.