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

feat(rpc/v06): re-add block getters #2560

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

kkovaacs
Copy link
Contributor

For starknet_getBlockWithTxHashes and starknet_getBlockWithTxs the only difference compared to v07 is that the block header and pending block header types are missing L1 data gas and L1 DA mode fields.

This change also adds some rudimentary tests for testing the serialization of the block header for all the different JSON-RPC versions we're supporting.

Closes: #2554

For `starknet_getBlockWithTxHashes` and `starknet_getBlockWithTxs` the
only difference compared to v07 is that the block header and pending
block header types are missing L1 data gas and L1 DA mode fields.

This change also adds some rudimentary tests for testing the serialization
of the block header for all the different JSON-RPC versions we're
supporting.

Closes: #2554
@kkovaacs kkovaacs requested a review from a team as a code owner January 31, 2025 14:02
@kkovaacs kkovaacs merged commit d487c6d into main Jan 31, 2025
8 checks passed
@kkovaacs kkovaacs deleted the krisztian/rpc-0.6-re-add-block-getters branch January 31, 2025 14:19
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.

JSON-RPC 0.6: block methods
2 participants