Skip to content

Commit

Permalink
Disable executing full sp1 prover tests that was previously enabled b…
Browse files Browse the repository at this point in the history
…y mistake.
  • Loading branch information
evgenyzdanovich committed Dec 24, 2024
1 parent 2108dc5 commit 07fd3a6
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions crates/zkvm/hosts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ serde.workspace = true
thiserror.workspace = true

[features]
default = []
native = ["strata-native-zkvm-adapter"]
risc0 = ["strata-risc0-adapter/prover", "strata-risc0-guest-builder/prover"]
sp1 = ["strata-sp1-adapter/prover", "strata-sp1-guest-builder/prover"]
1 change: 1 addition & 0 deletions provers/tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ sp1 = [
"strata-sp1-guest-builder",
"strata-zkvm-hosts/sp1",
]
test = []
4 changes: 2 additions & 2 deletions provers/tests/src/btc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ mod tests {
}

#[test]
#[cfg(feature = "risc0")]
#[cfg(all(feature = "risc0", feature = "test"))]
fn test_risc0() {
test_proof(crate::TEST_RISC0_GENERATORS.btc_blockspace());
}

#[test]
#[cfg(feature = "sp1")]
#[cfg(all(feature = "sp1", feature = "test"))]
fn test_sp1() {
test_proof(crate::TEST_SP1_GENERATORS.btc_blockspace());
}
Expand Down
4 changes: 2 additions & 2 deletions provers/tests/src/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ mod tests {
}

#[test]
#[cfg(feature = "risc0")]
#[cfg(all(feature = "risc0", feature = "test"))]
fn test_risc0() {
test_proof(crate::TEST_RISC0_GENERATORS.checkpoint());
}

#[test]
#[cfg(feature = "sp1")]
#[cfg(all(feature = "sp1", feature = "test"))]
fn test_sp1() {
test_proof(crate::TEST_SP1_GENERATORS.checkpoint());
}
Expand Down
4 changes: 2 additions & 2 deletions provers/tests/src/cl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ mod tests {
}

#[test]
#[cfg(feature = "risc0")]
#[cfg(all(feature = "risc0", feature = "test"))]
fn test_risc0() {
test_proof(crate::TEST_RISC0_GENERATORS.cl_block());
}

#[test]
#[cfg(feature = "sp1")]
#[cfg(all(feature = "sp1", feature = "test"))]
fn test_sp1() {
test_proof(crate::TEST_SP1_GENERATORS.cl_block());
}
Expand Down
4 changes: 2 additions & 2 deletions provers/tests/src/el.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ mod tests {
}

#[test]
#[cfg(feature = "risc0")]
#[cfg(all(feature = "risc0", feature = "test"))]
fn test_risc0() {
test_proof(crate::TEST_RISC0_GENERATORS.el_block());
}

#[test]
#[cfg(feature = "sp1")]
#[cfg(all(feature = "sp1", feature = "test"))]
fn test_sp1() {
test_proof(crate::TEST_SP1_GENERATORS.el_block());
}
Expand Down
4 changes: 2 additions & 2 deletions provers/tests/src/l1_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ mod tests {
}

#[test]
#[cfg(feature = "risc0")]
#[cfg(all(feature = "risc0", feature = "test"))]
fn test_risc0() {
test_proof(crate::TEST_RISC0_GENERATORS.l1_batch());
}

#[test]
#[cfg(feature = "sp1")]
#[cfg(all(feature = "sp1", feature = "test"))]
fn test_sp1() {
test_proof(crate::TEST_SP1_GENERATORS.l1_batch());
}
Expand Down
4 changes: 2 additions & 2 deletions provers/tests/src/l2_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ mod tests {
}

#[test]
#[cfg(feature = "risc0")]
#[cfg(all(feature = "risc0", feature = "test"))]
fn test_risc0() {
test_proof(crate::TEST_RISC0_GENERATORS.l2_batch());
}

#[test]
#[cfg(feature = "sp1")]
#[cfg(all(feature = "sp1", feature = "test"))]
fn test_sp1() {
test_proof(crate::TEST_SP1_GENERATORS.l2_batch());
}
Expand Down

0 comments on commit 07fd3a6

Please sign in to comment.