pub async fn verify_leaf_chain<T: NodeType, V: Versions>(
leaf_chain: Vec<Leaf2<T>>,
stake_table: &[PeerConfig<T>],
success_threshold: U256,
expected_height: u64,
upgrade_lock: &UpgradeLock<T, V>,
) -> Result<Leaf2<T>>
pub async fn verify_leaf_chain<T: NodeType, V: Versions>(
leaf_chain: Vec<Leaf2<T>>,
stake_table: &[PeerConfig<T>],
success_threshold: U256,
expected_height: u64,
upgrade_lock: &UpgradeLock<T, V>,
) -> Result<Leaf2<T>>