Skip to content

Commit b31202a

Browse files
fix: Add Clarity5 option (without defaulting to it yet) (#1843)
* fix: Add Clarity5 option (without defaulting to it yet) * chore: update lock file
1 parent 6cbbdb7 commit b31202a

2 files changed

Lines changed: 30 additions & 30 deletions

File tree

‎package-lock.json‎

Lines changed: 24 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/transactions/src/constants.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,18 @@ export enum PayloadType {
4141

4242
/**
4343
* The version of Clarity used to deploy a smart contract.
44-
* Most methods will default to the latest available version of Clarity.
44+
* Most methods will default to the latest available version of Clarity (at the time of package publishing).
45+
*
46+
* **⚠︎ Attention**: `Clarity5` enabled starting with [Epoch 3.4](https://forum.stacks.org/t/clarity-5-and-epoch-3-4/18659)
47+
*
48+
* @see [SIP-039](https://github.com/stacksgov/sips/pull/256/changes)
4549
*/
4650
export enum ClarityVersion {
4751
Clarity1 = 1,
4852
Clarity2 = 2,
4953
Clarity3 = 3,
5054
Clarity4 = 4,
55+
Clarity5 = 5,
5156
}
5257

5358
/**

0 commit comments

Comments
 (0)