diff --git a/zkp-circuits/Cargo.toml b/zkp-circuits/Cargo.toml index 13317b00cf..eace2dfea6 100644 --- a/zkp-circuits/Cargo.toml +++ b/zkp-circuits/Cargo.toml @@ -67,6 +67,7 @@ nimiq-transaction = { workspace = true } [features] cli = ["tracing-subscriber", "nimiq-log"] +expensive-tests = [] zkp-prover = [ "ark-crypto-primitives/r1cs", "ark-mnt4-753/r1cs", diff --git a/zkp-circuits/src/circuits/vk_commitments.rs b/zkp-circuits/src/circuits/vk_commitments.rs index 66c1f457f0..d04e6af4e4 100644 --- a/zkp-circuits/src/circuits/vk_commitments.rs +++ b/zkp-circuits/src/circuits/vk_commitments.rs @@ -423,6 +423,7 @@ mod tests { } #[test] + #[cfg_attr(not(feature = "expensive-tests"), ignore)] fn vks_mnt6() { // Initialize the constraint system. let cs = ConstraintSystem::::new_ref(); @@ -503,6 +504,7 @@ mod tests { } #[test] + #[cfg_attr(not(feature = "expensive-tests"), ignore)] fn vks_mnt4() { // Initialize the constraint system. let cs = ConstraintSystem::::new_ref();