fix redpallas issues; build it in CI

This commit is contained in:
Conrado Gouvea 2023-10-06 11:44:44 -03:00
parent 6f5a2f7c14
commit 68e445940b
3 changed files with 12 additions and 1 deletions

View File

@ -10,6 +10,15 @@ on:
jobs:
build_redpallas:
name: Build with redpallas
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --features redpallas
clippy:
name: Clippy
runs-on: ubuntu-latest

View File

@ -13,7 +13,7 @@ use frost::{
};
use std::io::{BufRead, Write};
#[derive(Debug, Clone)]
#[derive(Clone)]
pub struct Round2Config {
pub signing_package: SigningPackage,
#[cfg(feature = "redpallas")]

View File

@ -2,6 +2,8 @@
use frost_ed25519 as frost;
#[cfg(feature = "redpallas")]
use reddsa::frost::redpallas as frost;
#[cfg(feature = "redpallas")]
use reddsa::frost::redpallas::keys::PositiveY;
use frost::keys::{PublicKeyPackage, SecretShare};
use frost::Error;