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
The check checker is raising a warning for the following contract, when it should catch that the trait is being untainted by the assert construct.
(define-trait my-trait ( (my-method (uint) (response uint uint)) ) ) (define-data-var principal-check principal 'ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM) (define-public (deposit (trait-contract <my-trait>)) (begin (asserts! (is-eq (contract-of trait-contract) (var-get principal-check)) (err u0)) (try! (as-contract (contract-call? trait-contract my-method u1))) (ok u1) ) )
The text was updated successfully, but these errors were encountered:
fix: fix ast visitor traversal of contract-of expr
7cb68bb
Fixes #77
d553e50
chore(release): 0.21.0
3907505
# [0.21.0](v0.20.1...v0.21.0) (2022-01-13) ### Bug Fixes * fix ast visitor traversal of contract-of expr ([d553e50](d553e50)), closes [#77](https://github.com/hirosystems/clarity-repl/issues/77) * resolve CI failure for forks ([8152e4b](8152e4b)) ### Features * add 'filter' annotation ([4cebe6b](4cebe6b)), closes [#72](https://github.com/hirosystems/clarity-repl/issues/72)
🎉 This issue has been resolved in version 0.21.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
obycode
Successfully merging a pull request may close this issue.
The check checker is raising a warning for the following contract, when it should catch that the trait is being untainted by the assert construct.
The text was updated successfully, but these errors were encountered: