From 061d1cb2036c8ce038392346d37588e0d696ec6f Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Wed, 11 Dec 2024 22:50:54 +0300 Subject: [PATCH] fix(frost-secp256k1-tr): add missing `pub mod refresh` and missing test (#806) --- frost-secp256k1-tr/src/lib.rs | 1 + frost-secp256k1-tr/tests/integration_tests.rs | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/frost-secp256k1-tr/src/lib.rs b/frost-secp256k1-tr/src/lib.rs index 5310ced0..3aa51605 100644 --- a/frost-secp256k1-tr/src/lib.rs +++ b/frost-secp256k1-tr/src/lib.rs @@ -787,6 +787,7 @@ pub mod keys { } pub mod dkg; + pub mod refresh; pub mod repairable; } diff --git a/frost-secp256k1-tr/tests/integration_tests.rs b/frost-secp256k1-tr/tests/integration_tests.rs index 9187285b..176aad67 100644 --- a/frost-secp256k1-tr/tests/integration_tests.rs +++ b/frost-secp256k1-tr/tests/integration_tests.rs @@ -181,6 +181,13 @@ fn check_refresh_shares_with_dealer_fails_with_invalid_identifier() { >(max_signers, min_signers, &identifiers, error, rng); } +#[test] +fn check_refresh_shares_with_dkg() { + let rng = thread_rng(); + + frost_core::tests::refresh::check_refresh_shares_with_dkg::(rng); +} + #[test] fn check_sign_with_dealer() { let rng = thread_rng();