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
303 stars 138 forks source link

unwrap-err-panic control flow function is not working as expected #804

Closed amahajan87 closed 2 years ago

amahajan87 commented 2 years ago

Im working with unwrap-err-panic ! I do not see it working as expected (as per clarity functions doc/book)! Any suggestions?

See attached when writing in clarity-repl: Untitled1

See attached when writing in VSCode: Untitled 22 Untitled34

obycode commented 2 years ago

Thanks for reporting. This is likely related to hirosystems/clarinet#802. I will take a look today.

obycode commented 2 years ago

This was indeed fixed by the fix for hirosystems/clarinet#802, PR hirosystems/chainhook#175.