You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// * `contract_code` - Clarity source code of the contract
1022
1022
/// * `function_name` - Contract function to test
1023
1023
/// * `function_args` - Arguments passed to `function_name` on every call
1024
+
/// * `exclude_clarity_versions` - List of Clarity versions to exclude from testing. For each epoch to test, at least a clarity version must available.
1024
1025
/// * `setup_contracts` - Contracts that must be deployed before epoch-specific logic runs
let epoch_name = format!("Epoch{}", epoch.to_string().replace('.',"_"));
1108
1125
1109
1126
// Each deployment is a seperate TestBlock
@@ -1568,6 +1585,7 @@ impl TestTxFactory {
1568
1585
/// * `function_args` — Function arguments, provided as a slice of [`ClarityValue`].
1569
1586
/// * `deploy_epochs` — *(optional)* Epochs in which to deploy the contract. Defaults to all epochs ≥ 2.0.
1570
1587
/// * `call_epochs` — *(optional)* Epochs in which to call the function. Defaults to [`EPOCHS_TO_TEST`].
1588
+
/// * `clarity_versions` — *(optional)* Clarity versions to test. For each epoch to test, at least one of the clarity versions must be supported. Defaults to all Clarity versions.
1571
1589
/// * `setup_contracts` — *(optional)* Slice of [`SetupContract`] values to deploy once before the main contract logic.
@@ -1645,6 +1667,7 @@ pub(crate) use contract_call_consensus_test;
1645
1667
/// * `contract_name` — Name of the contract being tested.
1646
1668
/// * `contract_code` — The Clarity source code of the contract.
1647
1669
/// * `deploy_epochs` — *(optional)* Epochs in which to deploy the contract. Defaults to [`EPOCHS_TO_TEST`].
1670
+
/// * `clarity_versions` — *(optional)* Clarity versions to test. For each epoch to test, at least one of the clarity versions must be supported. Defaults to all Clarity versions.
1648
1671
/// * `setup_contracts` — *(optional)* Slice of [`SetupContract`] values to deploy before the main contract.
Copy file name to clipboardExpand all lines: stackslib/src/chainstate/tests/snapshots/blockstack_lib__chainstate__tests__static_analysis_tests__static_check_error_could_not_determine_serialization_type.snap
Copy file name to clipboardExpand all lines: stackslib/src/chainstate/tests/snapshots/blockstack_lib__chainstate__tests__static_analysis_tests__static_check_error_unknown_type_name.snap
0 commit comments