Module reth_node_core::rpc::types::serde_helpers::storage
Expand description
Storage related helpers.
Structs§
- A storage key type that can be serialized to and from a hex string up to 32 bytes. Used for
eth_getStorageAt
andeth_getProof
RPCs.
Functions§
- Deserializes the input into an Option<HashMap<B256, B256>>, using from_bytes_to_b256 which allows cropped values:
- Converts a Bytes value into a B256, accepting inputs that are less than 32 bytes long. These inputs will be left padded with zeros.