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