Skip to content

Commit a5eae6a

Browse files
committed
tests: fix large contracts errors
1 parent de6e82e commit a5eae6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stackslib/src/clarity_vm/tests/large_contract.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ fn new_block<'a, 'b>(
112112
block
113113
}
114114

115+
// Test not valid for clarity-wasm runtime
116+
// Contracts would error in the static analysis pass.
117+
#[cfg(not(feature = "clarity-wasm"))]
115118
#[apply(test_clarity_versions)]
116119
fn test_simple_token_system(#[case] version: ClarityVersion, #[case] epoch: StacksEpochId) {
117120
if epoch < StacksEpochId::Epoch2_05 || version > ClarityVersion::Clarity2 {
@@ -464,6 +467,9 @@ where
464467
f(&mut owned_env, version)
465468
}
466469

470+
// Test not valid for clarity-wasm runtime
471+
// Contracts would error in the static analysis pass.
472+
#[cfg(not(feature = "clarity-wasm"))]
467473
#[apply(test_clarity_versions)]
468474
fn test_simple_naming_system(#[case] version: ClarityVersion, #[case] epoch: StacksEpochId) {
469475
with_versioned_memory_environment(inner_test_simple_naming_system, version, false);

0 commit comments

Comments
 (0)