Function reth_node_core::rpc::types::serde_helpers::storage::deserialize_storage_map
pub fn deserialize_storage_map<'de, D>(
deserializer: D,
) -> Result<Option<BTreeMap<FixedBytes<32>, FixedBytes<32>>>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Expand description
Deserializes the input into an Option<HashMap<B256, B256>>, using from_bytes_to_b256 which allows cropped values:
{
"0x0000000000000000000000000000000000000000000000000000000000000001": "0x22"
}