Skip to content

Commit

Permalink
Mark two long-running zkp-circuits tests as expensive
Browse files Browse the repository at this point in the history
  • Loading branch information
hrxi committed Jan 29, 2024
1 parent 1376165 commit 7ac4d38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions zkp-circuits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions zkp-circuits/src/circuits/vk_commitments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ mod tests {
}

#[test]
#[cfg_attr(not(feature = "expensive-tests"), ignore)]
fn vks_mnt6() {
// Initialize the constraint system.
let cs = ConstraintSystem::<MNT6Fq>::new_ref();
Expand Down Expand Up @@ -503,6 +504,7 @@ mod tests {
}

#[test]
#[cfg_attr(not(feature = "expensive-tests"), ignore)]
fn vks_mnt4() {
// Initialize the constraint system.
let cs = ConstraintSystem::<MNT4Fq>::new_ref();
Expand Down

0 comments on commit 7ac4d38

Please sign in to comment.