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

Handle contract deletion in simnet deployment plan #1435

Closed hugocaillard closed 2 months ago

hugocaillard commented 2 months ago

Description

The simnet tries to check if the deployment plan needs to be updated before doing so. It'll look at existing contract deployments and other custom transactions, update the contracts deployment following the Clarinet.toml spec and keep the custom transactions.

It currently fails to handle moved/renamed/deleted contracts