Skip to content

echonet: add OS CLI input builder for replayed cende blobs#14714

Draft
ron-starkware wants to merge 1 commit into
ron/echonet-os/block-commitments-stashfrom
ron/echonet-os/os-input-builder
Draft

echonet: add OS CLI input builder for replayed cende blobs#14714
ron-starkware wants to merge 1 commit into
ron/echonet-os/block-commitments-stashfrom
ron/echonet-os/os-input-builder

Conversation

@ron-starkware

Copy link
Copy Markdown
Contributor

New pure module that assembles the OsCliInput JSON consumed by
committer-and-os-cli's 'os run-os-stateless' from a cende blob:
central-object → executable-transaction conversion (V3 invoke /
deploy_account / declare + L1 handler), CentralBlockInfo → BlockInfo,
state-commitment-info decompression (base64+zstd, streaming
decompressor since the Rust frame omits the pledged content size), and
recovery of class_hashes_to_migrate's dropped class-hash keys by
reverse lookup of the v1 casm hash in initial_reads. Class maps are
left empty for the caller to fill from the class fetcher.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

New pure module that assembles the OsCliInput JSON consumed by
committer-and-os-cli's 'os run-os-stateless' from a cende blob:
central-object → executable-transaction conversion (V3 invoke /
deploy_account / declare + L1 handler), CentralBlockInfo → BlockInfo,
state-commitment-info decompression (base64+zstd, streaming
decompressor since the Rust frame omits the pledged content size), and
recovery of class_hashes_to_migrate's dropped class-hash keys by
reverse lookup of the v1 casm hash in initial_reads. Class maps are
left empty for the caller to fill from the class fetcher.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ron-starkware ron-starkware force-pushed the ron/echonet-os/block-commitments-stash branch from ff52036 to ecde641 Compare July 8, 2026 10:34
@ron-starkware ron-starkware force-pushed the ron/echonet-os/os-input-builder branch from ecb5e8b to d91df3f Compare July 8, 2026 10:34
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