Skip to content

apollo_storage: add BlockHash variant to StorageReaderRequest#12700

Merged
amosStarkware merged 1 commit intomain-v0.14.1-committerfrom
02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest
Feb 24, 2026
Merged

apollo_storage: add BlockHash variant to StorageReaderRequest#12700
amosStarkware merged 1 commit intomain-v0.14.1-committerfrom
02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest

Conversation

@amosStarkware
Copy link
Copy Markdown
Contributor

@amosStarkware amosStarkware commented Feb 18, 2026

Note

Low Risk
Adds a new storage-reader request/response variant and a focused test; behavior is additive and limited to block-hash lookup plumbing and error mapping.

Overview
Adds a new StorageReaderRequest::BlockHash(BlockNumber) and corresponding StorageReaderResponse::BlockHash(BlockHash) to fetch a block hash directly by block number.

Wires the request through GenericStorageReaderServerHandler using txn.get_block_hash, returning NotFound when absent, and extends the storage-reader types tests to persist a block hash in setup and validate the new request end-to-end.

Written by Cursor Bugbot for commit 1c45b3c. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Contributor Author

amosStarkware commented Feb 18, 2026

@amosStarkware amosStarkware marked this pull request as ready for review February 18, 2026 11:48
Copy link
Copy Markdown
Contributor Author

@amosStarkware amosStarkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+reviewer:@nadin-Starkware

@amosStarkware made 1 comment.
Reviewable status: 0 of 2 files reviewed, all discussions resolved (waiting on nadin-Starkware).

Copy link
Copy Markdown
Collaborator

@nadin-Starkware nadin-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nadin-Starkware reviewed 2 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on amosStarkware).

@amosStarkware amosStarkware force-pushed the 02-17-add_storage_reader_server_to_integration_tests branch from 3a0df06 to bd5bbaa Compare February 22, 2026 09:15
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from 494788c to 70a9872 Compare February 22, 2026 09:15
@amosStarkware amosStarkware force-pushed the 02-17-add_storage_reader_server_to_integration_tests branch from bd5bbaa to c904cfc Compare February 22, 2026 14:11
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from 70a9872 to 0d02cec Compare February 22, 2026 14:11
@amosStarkware amosStarkware force-pushed the 02-17-add_storage_reader_server_to_integration_tests branch from c904cfc to daefce4 Compare February 22, 2026 14:14
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from 0d02cec to c7b9ba2 Compare February 22, 2026 14:14
@amosStarkware amosStarkware force-pushed the 02-17-add_storage_reader_server_to_integration_tests branch from daefce4 to 0e91312 Compare February 23, 2026 13:41
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from c7b9ba2 to 9bdd8b8 Compare February 23, 2026 13:41
@amosStarkware amosStarkware force-pushed the 02-17-add_storage_reader_server_to_integration_tests branch from 0e91312 to 3f84268 Compare February 23, 2026 14:22
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from 9bdd8b8 to c511828 Compare February 23, 2026 14:31
@amosStarkware amosStarkware force-pushed the 02-17-add_storage_reader_server_to_integration_tests branch from 3f84268 to 4ebfc3c Compare February 23, 2026 15:35
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from c511828 to 197ee5b Compare February 23, 2026 15:35
@amosStarkware amosStarkware changed the base branch from 02-17-add_storage_reader_server_to_integration_tests to main-v0.14.1-committer February 23, 2026 18:01
@amosStarkware amosStarkware force-pushed the 02-18-apollo_storage_add_blockhash_variant_to_storagereaderrequest branch from 197ee5b to 1c45b3c Compare February 24, 2026 09:34
@amosStarkware amosStarkware added this pull request to the merge queue Feb 24, 2026
Merged via the queue into main-v0.14.1-committer with commit dd73fda Feb 24, 2026
20 of 31 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants