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

Incorrect stx costs for deployment #1447

Open friedger opened 1 month ago

friedger commented 1 month ago

Describe the bug When applying a deployment, the costs are shown as 0.001 STX instead of 0.1 STX

To Reproduce Steps to reproduce the behavior:

  1. Create a deployment
  2. Provide costs of 100000 uSTX
  3. Apply deployment and see preview
  4. See error

Expected behavior Costs are converted correctly from uSTX to STX

Screenshots image

hugocaillard commented 1 month ago

Good catch, thanks for reporting @friedger