You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarinet requires developers to manually add requirements with:
clarinet requirements add <contract principal>
Clarinet will fetch the contract on mainnet on testnet, detect all of requirements dependencies (other contract fetched by the requirements)
Caveats
Developers can often forget to do so
It's even more easy to forgot to remove a dependency that was wrongly added (or not needed anymore
In the context of remote data fetching (Mainnet Execution Simulation #1503), it's possible that a contract is in the requirements (making clarinet check valid), but was actually deployed at a higher height than the once specified in the remote data settings
Ideas
Clarinet could aumatically detect local contract dependencies and load them, without the need to manually add or list requirements in the manifest. We could fully remove the concept of "dependencies"
If remote_data is enabled, clarinet should check that the mainnet/testnet dependencies are valid (available on the right network and deployed at a height lower than the one specified in the remote data settings)
The text was updated successfully, but these errors were encountered:
Context
Clarinet requires developers to manually add requirements with:
Clarinet will fetch the contract on mainnet on testnet, detect all of requirements dependencies (other contract fetched by the requirements)
Caveats
Ideas
remote_data
is enabled, clarinet should check that the mainnet/testnet dependencies are valid (available on the right network and deployed at a height lower than the one specified in the remote data settings)The text was updated successfully, but these errors were encountered: