Skip to content

echonet: add class fetcher resolving classes for OS runs from the feeder gateway#14715

Draft
ron-starkware wants to merge 1 commit into
ron/echonet-os/os-input-builderfrom
ron/echonet-os/class-fetcher
Draft

echonet: add class fetcher resolving classes for OS runs from the feeder gateway#14715
ron-starkware wants to merge 1 commit into
ron/echonet-os/os-input-builderfrom
ron/echonet-os/class-fetcher

Conversation

@ron-starkware

Copy link
Copy Markdown
Contributor

The cende blob only carries the classes newly declared in its block,
but the OS executes against every class the block touches. Resolve the
rest from the mainnet feeder gateway with an on-PVC cache: Cairo 1 CASM
by compiled_class_hash (zero-valued sentinel entries in
initial_reads.compiled_class_hashes mark Cairo 0 classes), deprecated
v0 classes by class_hash, and Sierra-shaped v0 responses skipped since
the FGW's cairo-lang CASM serialization does not match the Rust schema.

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

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

@ron-starkware ron-starkware force-pushed the ron/echonet-os/os-input-builder branch from 9798e0a to e83103c Compare July 7, 2026 15:57
@ron-starkware ron-starkware force-pushed the ron/echonet-os/class-fetcher branch from a3b3550 to 03efa57 Compare July 7, 2026 15:57
@ron-starkware ron-starkware force-pushed the ron/echonet-os/os-input-builder branch from e83103c to cbf8228 Compare July 8, 2026 10:15
@ron-starkware ron-starkware force-pushed the ron/echonet-os/class-fetcher branch from 03efa57 to 8288965 Compare July 8, 2026 10:15
@ron-starkware ron-starkware force-pushed the ron/echonet-os/os-input-builder branch from cbf8228 to ecb5e8b Compare July 8, 2026 10:23
@ron-starkware ron-starkware force-pushed the ron/echonet-os/class-fetcher branch from 8288965 to 61d8a67 Compare July 8, 2026 10:23
…der gateway

The cende blob only carries the classes newly declared in its block,
but the OS executes against every class the block touches. Resolve the
rest from the mainnet feeder gateway with an on-PVC cache: Cairo 1 CASM
by compiled_class_hash (zero-valued sentinel entries in
initial_reads.compiled_class_hashes mark Cairo 0 classes), deprecated
v0 classes by class_hash, and Sierra-shaped v0 responses skipped since
the FGW's cairo-lang CASM serialization does not match the Rust schema.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ron-starkware ron-starkware force-pushed the ron/echonet-os/os-input-builder branch from ecb5e8b to d91df3f Compare July 8, 2026 10:34
@ron-starkware ron-starkware force-pushed the ron/echonet-os/class-fetcher branch from 61d8a67 to 0ab8534 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