hirosystems / clarinet

Write, test and deploy high-quality smart contracts to the Stacks blockchain and Bitcoin.
https://hiro.so/clarinet
GNU General Public License v3.0
290 stars 129 forks source link

Crash in `::trace` #1453

Closed obycode closed 3 weeks ago

obycode commented 1 month ago

Describe the bug There is a bug in ::trace causing a crash.

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/obycode/trace-bug.git
  2. cd trace-bug
  3. clarinet console --use-on-disk-deployment-plan
  4. In the console, run ::trace (contract-call? .caller call-latest u4)

Expected behavior This should successfully trace the execution and not cause the console to crash.