Skip to content

Define Serialization format with flat hierarchy.#6

Merged
codingminions merged 1 commit into
mainfrom
serialize_and_de_as_public_apis_for_the_module
May 19, 2026
Merged

Define Serialization format with flat hierarchy.#6
codingminions merged 1 commit into
mainfrom
serialize_and_de_as_public_apis_for_the_module

Conversation

@codingminions

Copy link
Copy Markdown
Owner

Context

  • The spec demands "smallest possible overhead" on the Serialize output.
  • The blob is what gets stored per paused sandbox, potentially in object storage for weeks. Format choices here have downstream consequences for cost and compatibility.

Decision

Flat repeated entries, no header, no trailer:

[uint64 big-endian block#][4096 bytes raw data]

Entries sorted ascending by block number. No duplicates.

@codingminions codingminions self-assigned this May 19, 2026
@codingminions codingminions merged commit 59d81da into main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant