We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I have sBTC in my project requirements but when I run clarinet check it says the contract doesn't exist. I can see it in my cache dir.
clarinet check
To Reproduce
Steps to reproduce the behavior:
[[project.requirements]] contract_id = 'SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token'
(try! (contract-call? 'SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token transfer amount tx-sender USABTC_CONTRACT none))
$ clarinet check error: NoSuchContract("SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token")
$ ls .cache/requirements SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-registry.clar SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token.clar SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.clar SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-registry.json SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token.json SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.sip-010-trait-ft-standard.json
Expected behavior
I removed the local versions in favor of using requirements - expected it to work of course 😉
Screenshots
Typo on console.log in the template here fyi.
console.log
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
I could be that your contract is deployed in an epoch lower than sBTC. Can you check that?
Sorry, something went wrong.
That was 100% the problem, using 3.0 from here forward! 🙏
No branches or pull requests
Describe the bug
I have sBTC in my project requirements but when I run
clarinet check
it says the contract doesn't exist. I can see it in my cache dir.To Reproduce
Steps to reproduce the behavior:
clarinet check
, tests, etc to see error$ clarinet check error: NoSuchContract("SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token")
Expected behavior
I removed the local versions in favor of using requirements - expected it to work of course 😉
Screenshots
Typo on
console.log
in the template here fyi.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: