Skip to content

Commit aecb41b

Browse files
committed
Run only test_proofs
1 parent 7e0f34a commit aecb41b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ledger/src/proofs/transaction.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4436,6 +4436,7 @@ pub(super) mod tests {
44364436
crate::proofs::provers::block_on(future)
44374437
}
44384438

4439+
#[cfg(not(target_family = "wasm"))]
44394440
#[allow(unused)]
44404441
#[test]
44414442
fn test_make_verifier_index() {
@@ -4505,6 +4506,7 @@ pub(super) mod tests {
45054506
// assert_eq!(format!("{:?}", v.lookup_index), format!("{:?}", new_v.lookup_index));
45064507
}
45074508

4509+
#[cfg(not(target_family = "wasm"))] // same test in `test_proofs`
45084510
#[test]
45094511
fn test_regular_tx() {
45104512
let Ok(data) = fetch_file("command-0-1.bin")
@@ -4631,6 +4633,7 @@ pub(super) mod tests {
46314633
}
46324634
}
46334635

4636+
#[cfg(not(target_family = "wasm"))] // same test in `test_proofs`
46344637
#[test]
46354638
fn test_merge_proof() {
46364639
let Ok(data) =
@@ -4682,6 +4685,7 @@ pub(super) mod tests {
46824685
let _sum = dbg!(sha256_sum(&proof_json));
46834686
}
46844687

4688+
#[cfg(not(target_family = "wasm"))] // same test in `test_proofs`
46854689
#[test]
46864690
fn test_proof_zkapp_sig() {
46874691
let Ok(data) = fetch_file("command-1-0.bin") else {
@@ -4722,6 +4726,7 @@ pub(super) mod tests {
47224726
let _sum = dbg!(sha256_sum(&proof_json));
47234727
}
47244728

4729+
#[cfg(not(target_family = "wasm"))] // same test in `test_proofs`
47254730
#[test]
47264731
fn test_proof_zkapp_proof() {
47274732
let Ok(data) = fetch_file("zkapp-command-with-proof-128-1.bin") else {
@@ -4760,6 +4765,7 @@ pub(super) mod tests {
47604765
let _sum = dbg!(sha256_sum(&proof_json));
47614766
}
47624767

4768+
#[cfg(not(target_family = "wasm"))] // same test in `test_proofs`
47634769
#[test]
47644770
fn test_block_proof() {
47654771
let Ok(data) = fetch_file("block_input-2483246-0.bin") else {

0 commit comments

Comments
 (0)