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
"perhaps the contract was compiled without the following entry in Scarb.toml under [profile.dev.cairo]:
We should display a more descriptive message that clearly explains what is wrong. The message should be similar in approach to what the coverage functionality displays:
May I take this issue on?
Can I take care of this issue?
i am an active contributor in the starknet and ethereum ecosystem (my OD profile - https://app.onlydust.com/u/PoulavBhowmick03)
I have a robust experience working on Rust, having contributed to Dojo and other projects and built smart contracts in Rust.
ETA- 2 days
Which component is your feature related to?
Forge
Feature Request
Currently, when annotations are missing, we return the following error:
starknet-foundry/crates/forge-runner/src/backtrace.rs
Line 86 in 8ce451e
We should display a more descriptive message that clearly explains what is wrong. The message should be similar in approach to what the
coverage
functionality displays:starknet-foundry/crates/forge-runner/src/coverage_api.rs
Line 70 in 5bbfa80
To achieve this, two new functions should be added to the backtrace file:
These functions should then be invoked in the following function:
starknet-foundry/crates/forge/src/run_tests/workspace.rs
Line 22 in 8ce451e
Definition of Done:
BACKTRACE_ENV=1
will validate the Scarb version andScarb.toml
configuration.The text was updated successfully, but these errors were encountered: