Skip to content

Version 8 - #37

Open
friedger wants to merge 27 commits into
mainfrom
chore/clarinet-sdk-3
Open

friedger wants to merge 27 commits into
mainfrom
chore/clarinet-sdk-3

Conversation

@friedger

@friedger friedger commented May 12, 2025 •

Copy link
Copy Markdown
Owner

This PR

  • updates clarinet sdk to version 3
  • updates clarinet-bitcoin-lib to version 8 that uses Clarity 6

@friedger

Copy link
Copy Markdown
Owner Author

Currently, tests fail with wrong remote data

image

@hugoclrd

Copy link
Copy Markdown

The burn block header hash issue appears to be a regression from v2.16.0. Clarinet returns mock data instead of the real hash.
I'll dig into that

@hugoclrd

Copy link
Copy Markdown

@friedger
Clarinet 3.0.2 was released an fixed the block header hash issue.

You'll still have to resolve some breaking changes (intToBytes has a breaking change).

As well as expect(parsedTx.result.type).toBe(7); can use the helper expect(parsedTx.result).toHaveClarityType(ClarityType.ResponseOk)

There's still a panic Result::unwrap() on an Err value: "Could not find snapshot BlockHeight(0)\n", when specifically testing on an invalid hash.
I'll try to handle it gracefully

Comment thread .github/workflows/clarinet.yml Outdated
Comment thread package.json Outdated
@friedger
friedger changed the base branch from chore/rv-0.7.0 to main May 25, 2025 16:43
@friedger friedger changed the title Use clarinet sdk 3 Version 8 Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants