pub fn read_proof_check_on_proving_backend<H>(
	proving_backend: &TrieBackend<MemoryDB<H>, H>,
	key: &[u8],
) -> Result<Option<Vec<u8>>, Box<Error>>
where
	H: Hasher,
	H::Out: Ord + HeapSizeOf
{
	proving_backend.storage(key).map_err(|e| Box::new(e) as Box<Error>)
}
/// Check storage read proof on pre-created proving backend.
Check storage read proof on pre-created proving backend.
Check storage read proof on pre - created proving backend .
pub fn read_proof_check_on_proving_backend<H>(
	proving_backend: &TrieBackend<MemoryDB<H>, H>,
	key: &[u8],
) -> Result<Option<Vec<u8>>, Box<Error>>
where
	H: Hasher,
	H::Out: Ord + HeapSizeOf
{
	proving_backend.storage(key).map_err(|e| Box::new(e) as Box<Error>)
}
pub fn read_proof_check_on_proving_backend < H > ( proving_backend : & TrieBackend < MemoryDB < H > , H > , key : & [ u8 ] , ) -> Result < Option < Vec < u8 > > , Box < Error > > where H : Hasher , H :: Out : Ord + HeapSizeOf { proving_backend . storage ( key ) . map_err ( | e | Box :: new ( e ) as Box < Error > ) }
Check storage read proof on pre-created proving backend.
Check storage read proof on pre - created proving backend .
proving_backend
&TrieBackend<MemoryDB<H>, H>
key
&[u8]
proving_backend
&TrieBackend<MemoryDB<H>, H>
key
&[u8]