Function hotshot_testing::helpers::build_da_certificate
source ยท pub async fn build_da_certificate<TYPES: NodeType, V: Versions>(
membership: &Arc<RwLock<<TYPES as NodeType>::Membership>>,
view_number: TYPES::View,
epoch_number: TYPES::Epoch,
transactions: Vec<TestTransaction>,
public_key: &TYPES::SignatureKey,
private_key: &<TYPES::SignatureKey as SignatureKey>::PrivateKey,
upgrade_lock: &UpgradeLock<TYPES, V>,
) -> DaCertificate2<TYPES>