Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON-RPC 0.8.0: DEPRECATED_CAIRO_ENTRY_POINT.offset should be an integer #2506

Open
kkovaacs opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@kkovaacs
Copy link
Contributor

kkovaacs commented Jan 21, 2025

The 0.8.0-rc.2 specification has changed the definition of the offset property in DEPRECATED_CAIRO_ENTRY_POINT: starkware-libs/starknet-specs#257

Previously (including in the JSON-RPC 0.7 specification) this has been NUM_AS_HEX but now it's an integer.

Unfortunately we don't yet have SerializeForVersion for pathfinder_rpc::types::class::CairoContractClass, so it's not trivial to change the serialization format of the offset property.

@kkovaacs kkovaacs added this to the JSON-RPC 0.8.0 milestone Jan 21, 2025
@kkovaacs kkovaacs changed the title DEPRECATED_CAIRO_ENTRY_POINT.offset should be an integer JSON-RPC 0.8.0: DEPRECATED_CAIRO_ENTRY_POINT.offset should be an integer Jan 21, 2025
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

No branches or pull requests

1 participant