Skip to content

Commit 990e037

Browse files
chore: improve docstring
1 parent f32ec64 commit 990e037

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

clarity/src/vm/analysis/errors.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ pub enum StaticCheckErrorKind {
236236
/// The `String` wraps the specific reason for the failure.
237237
CostComputationFailed(String),
238238
/// Contract-analysis time exceeds the allowed budget, halting analysis to ensure responsiveness.
239-
/// Distinct from `ExecutionTimeExpired` so an analysis-phase timeout is separable end-to-end.
240239
AnalysisTimeExpired,
241240

242241
/// Value exceeds the maximum allowed size for type-checking or serialization.

stackslib/src/chainstate/tests/static_analysis_tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ fn variant_coverage_report(variant: StaticCheckErrorKind) {
6262
CostBalanceExceeded(execution_cost, execution_cost1) => Tested(vec![static_check_error_cost_balance_exceeded]),
6363
MemoryBalanceExceeded(_, _) => Tested(vec![static_check_error_memory_balance_exceeded]),
6464
CostComputationFailed(_) => Unreachable_ExpectLike,
65-
ExecutionTimeExpired => Unreachable_Functionally("Can only be triggered at runtime."),
6665
AnalysisTimeExpired => Unreachable_Functionally(
6766
"All consensus-critical code paths (block validation and transaction processing) pass
6867
`None` for max_execution_time, so the analysis-phase time tracking stays

0 commit comments

Comments
 (0)