Skip to content

Support getStorageAt with INCLUDE_LAST_UPDATE_BLOCK flag#1

Open
m-kus wants to merge 1 commit into
masterfrom
get-storage-at-flags
Open

Support getStorageAt with INCLUDE_LAST_UPDATE_BLOCK flag#1
m-kus wants to merge 1 commit into
masterfrom
get-storage-at-flags

Conversation

@m-kus

@m-kus m-kus commented Mar 5, 2026

Copy link
Copy Markdown
  • Add StorageResponseFlag enum and StorageResult struct to starknet-core
    • Extend GetStorageAtRequest/Ref with optional response_flags field
      (serialized only when Some, backward-compatible deserialization)
    • Add get_storage_at_with_flags method to Provider trait, returning
      StorageResult instead of Felt
    • Implement in JsonRpcClient (reuses starknet_getStorageAt RPC method),
      AnyProvider (delegation), and SequencerGatewayProvider (stub)
    • Batch dispatch deserializes as StorageResult when response_flags is set

@m-kus m-kus changed the title feat: add to Provider trait Support getStorageAt with INCLUDE_LAST_UPDATE_BLOCK flag Mar 11, 2026
@m-kus m-kus force-pushed the get-storage-at-flags branch from 20b1dde to 07b6722 Compare March 12, 2026 17:18
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.

1 participant