Function light_test_utils::get_indexed_merkle_tree
source ยท pub async fn get_indexed_merkle_tree<T, R, H, I, const HEIGHT: usize, const NET_HEIGHT: usize>(
rpc: &mut R,
pubkey: Pubkey,
) -> IndexedMerkleTreeCopy<H, I, HEIGHT, NET_HEIGHT>where
R: RpcConnection,
H: Hasher,
I: CheckedAdd + CheckedSub + Copy + Clone + Debug + PartialOrd + ToBytes + TryFrom<usize> + Unsigned,
usize: From<I>,Expand description
Fetches the fiven account, then copies and serializes it as an
IndexedMerkleTree.