Skip to content

v1.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Nov 08:22
· 780 commits to develop since this release
f91140d

1.1.0 (2022-11-17)

✨ Features

  • Experimental Support for Stacks 2.1 (790c14bf)
  • Display clarity documentation on hover in VSCode (e605acb4)

🐞 Bug fixes

  • Better error management in chainhook-node (353ceb61)

🆕 Stacks 2.1 instructions

After updating clarinet open your settings/Devnet.toml file, and update the following settings:

[devnet]
...
enable_next_features = true
disable_stacks_explorer = true
disable_stacks_api = true

Spin up a local Devnet network using the command

$ clarinet integrate

And a new stacks-node will spin up. At Bitcoin block height 107, the chainstate will migrate to epoch 2.05 which was a soft introduced earlier this year, reducing the costs of operations, and at bitcoin block height 114, the chainstate will migrate to epoch 2.1.
If the contracts you're developing are using Clarity 2, you will need to wait for this epoch to be crossed, before deploying your contracts.
This block heights can be customized using the settings:

[devnet]
...
epoch_2_05 = 107
epoch_2_1 = 114

🚨 This new feature is experimental, if you experience bugs or something suspicious, please file an issue.

⚠️ Known limitations

  • When running clarinet integrate with Stacks 2.1, contracts can not be automatically deployed in the current release. The default devnet deployment needs to be manually applied, using the command
$ clarinet deployments apply --devnet
  • When running clarinet integrate with Stacks 2.1, the stacks-api and the stacks explorer have to be disabled, the compatibility with Stacks 2.1 is still being stabilized.

Credits