-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Problem
The current implementation supports a one block ↔ one blob mapping, which does not align with the intended specification. According to the spec, the recover
function should be capable of handling multiple blobs as input and should be able to extract the squashed state diff from them.
Proposed Enhancements
-
Add versioning support
Enable compatibility with multiple StarkNet versions. -
Support multi-block to one-blob mapping
Allow a single blob to represent multiple blocks. -
Add tests for multi-block one-blob recovery
Use real data from mainnet/Sepolia to validate functionality. -
Support multi-block to multi-blob mapping
Handle multiple blobs representing multiple blocks collectively. -
Add tests for multi-block multi-blob recovery
Test using real data from mainnet/Sepolia to ensure correctness.
Other Information
some part of the code is already being implemented here: https://github.com/Mohiiit/orch-compression