Skip to content

feat: add zstd compression to ProofEngine persistence#9

Merged
frisitano merged 2 commits into
feat/eip8025from
feat/check-proof-storage-compression
Mar 19, 2026
Merged

feat: add zstd compression to ProofEngine persistence#9
frisitano merged 2 commits into
feat/eip8025from
feat/check-proof-storage-compression

Conversation

@frisitano
Copy link
Copy Markdown
Owner

ProofEngine persisted state was stored as raw SSZ without compression. Add zstd compression mirroring the established PersistedForkChoiceV28 pattern, using StoreConfig.compress_bytes()/decompress_bytes().

  • Add from_bytes/as_bytes/as_kv_store_op methods with StoreConfig param
  • Update persist_proof_engine to use compressed as_kv_store_op
  • Update load_proof_engine_state to read raw bytes and decompress
  • Add test_compressed_round_trip test

nova-tau-assistant and others added 2 commits March 19, 2026 00:32
ProofEngine persisted state was stored as raw SSZ without compression.
Add zstd compression mirroring the established PersistedForkChoiceV28
pattern, using StoreConfig.compress_bytes()/decompress_bytes().

- Add from_bytes/as_bytes/as_kv_store_op methods with StoreConfig param
- Update persist_proof_engine to use compressed as_kv_store_op
- Update load_proof_engine_state to read raw bytes and decompress
- Add test_compressed_round_trip test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@frisitano frisitano merged commit 4b22800 into feat/eip8025 Mar 19, 2026
20 of 22 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.

2 participants