-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Labels
simnetIssue related to the simnetIssue related to the simnet
Description
The linter currently runs on boot contracts.
It's invisible to the users because we don't collect the diagnostics. And it runs fairly quickly.
But it mean that it's run all the time for every simnet session for the same boot contracts.
We should avoid running it (both the linter and check_checker fwiw)
Reproduce / Observe
1️⃣ Add a log around here
| diagnostics.push(diagnostic); |
println!("unused: {}", message);2️⃣ Run clarinet check in any clarinet project (even an empty one)
3️⃣ Observe the some lints triggered in boot contracts
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-pox-4-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-pox-4-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-pox-4-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-2-1-reward-cycle` never read
unused: data variable `first-pox-4-reward-cycle` never read
unused: data variable `cost` never modified
unused: data variable `contract-owner` never modified
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
simnetIssue related to the simnetIssue related to the simnet