Skip to content

blockifier_reexecution: add get_block_info_with_txs for single-call block fetch#13832

Open
AvivYossef-starkware wants to merge 1 commit intoaviv/reexecution-prefetch-deploy-account-v3from
aviv/reexecution-base-info-struct
Open

blockifier_reexecution: add get_block_info_with_txs for single-call block fetch#13832
AvivYossef-starkware wants to merge 1 commit intoaviv/reexecution-prefetch-deploy-account-v3from
aviv/reexecution-base-info-struct

Conversation

@AvivYossef-starkware
Copy link
Copy Markdown
Contributor

No description provided.

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Contributor Author

AvivYossef-starkware commented Apr 20, 2026

@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 20, 2026

PR Summary

Medium Risk
Introduces a new RPC path that parses raw starknet_getBlockWithTxs responses and extracts transaction_hash from JSON, which may be brittle across node implementations but doesn’t touch consensus, auth, or persistent state.

Overview
Adds support for fetching a block header and full transactions in a single RPC call by introducing GetBlockWithTxsParams/BlockWithTxs and a new RpcStateReader::get_block_info_with_txs helper.

Updates RPC HTTP tests to cover the new method and validate that returned transactions include an expected TransactionHash for a known block.

Reviewed by Cursor Bugbot for commit 2c469e0. Bugbot is set up for automated code reviews on this repo. Configure here.

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