Skip to content
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

Allow to load custom boot contracts #1449

Open
hugocaillard opened this issue May 3, 2024 · 0 comments
Open

Allow to load custom boot contracts #1449

hugocaillard opened this issue May 3, 2024 · 0 comments

Comments

@hugocaillard
Copy link
Collaborator

Context

Clarinet embeds a copy of the boot contracts.
For stacks core developers, it would be useful to have the ability to load custom code instead.

Solution

Add on options to override boot contracts sources.
In the Clarinet.toml, it should be possible to specify the path to the source file of a boot contract.
This code would be used in place of the one embedded in clarinet. It could also be used to get the code coverage and therefore remove the need for #1412, and achieve the same result in a more elegant way

[override_boot_contracts_source]
pox-4 = "./custom-boot-contracts/pox-4.clar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant