pub async fn assert_merkle_tree_initialized<R: RpcConnection>(
rpc: &mut R,
merkle_tree_pubkey: &Pubkey,
queue_pubkey: &Pubkey,
height: usize,
changelog_capacity: usize,
roots_capacity: usize,
canopy_depth: usize,
expected_changelog_length: usize,
expected_roots_length: usize,
expected_next_index: usize,
expected_rightmost_leaf: &[u8; 32],
rollover_threshold: Option<u64>,
close_threshold: Option<u64>,
network_fee: u64,
payer_pubkey: &Pubkey,
)