-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
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
Deployment plan misses dependency #1463
Comments
cross posting from the discord: i have the same issue in this project and commit CyrusVorwald/xcall-clarity-contracts@ca75c11 i ran clarinet check which added util at the end of deployments/default.simnet-plan.yaml. i manually moved it to the start of the list, but it still has the same error. also, i am importing other contracts (ie rlp-decode) without error and that is at the bottom of the list i ran npm test which moved it to the bottom of the list and in both cases the error use of unresolved contract 'ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.util' occurs |
it seems that if i copy over util into the contract that's importing it and call directly from there, and then undo those changes, it works |
I'll have a look this week |
Describe the bug
In this repo when Clarinet generates a deployment plan, it fails to deploy the
util
contract before theasset-manager
contract, causing:To Reproduce
Steps to reproduce the behavior:
[email protected]:CyrusVorwald/balanced-clarity-contracts.git
git checkout ef385bb57738de731902c6a372e77646ee281f87
clarinet check
Expected behavior
This dependency should be detected and the contracts should be deployed in the correct order.
The text was updated successfully, but these errors were encountered: