Validation and Analysis
Understanding contract validation
Static analysis
Runtime debugging
Static analysis
clarinet check✔ 3 contracts checked✖ 1 error detected
Error in contracts/token.clar:15:10
|
15| (ok (+ balance amount))
| ^^^^^^^
|
= Type error: expected uint, found (response uint uint)1
2
3
Validation type
What it checks
Linter analysis
Bypassing the Linter
Configuration
Runtime analysis
Cost analysis with ::toggle_costs
::toggle_costsExecution tracing with ::trace
::traceInteractive debugging with ::debug
::debugUsing ::get_costs for targeted analysis
::get_costs for targeted analysisSpotting costly operations with ::trace
::traceDebugging workflows
Analyzing failed transactions with ::trace
::traceUsing ::encode and ::decode for inspection
::encode and ::decode for inspectionTesting time-dependent logic
Last updated
Was this helpful?