-
Notifications
You must be signed in to change notification settings - Fork 198
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
Show --max-n-steps
in the error
#2853
Comments
I'll love to do this. Have experience with rust through recent contribution to Dojo Engine. |
@cptartur Can I work on this |
Hey, this issue will be available for taking during the ODBoost https://app.onlydust.com/hackathons/odboost-1. |
Can I work on this? @cptartur How i will handle this
|
Hello, I'd like to be assigned to work on this. ETA: 24 hours |
May I pick this up? |
Could I be assigned to this? |
Wow, wasn't even assigned any. Next time I guess |
If a test runs out of steps an
Could not reach the end of the program. RunResources has no remaining steps.
error is displayed.This error comes from CairoVM, so we cannot modify it directly. However in the function that handles the test result, we can map the error message and add additional details to it.
In
starknet-foundry/crates/forge-runner/src/running.rs
Line 309 in 8ce451e
UnfinishedExecution::UnfinishedExecution
, map it and add information about the ability to use--max-n-steps
.Introduce a test verifying it is displayed and/or update existing tests.
Update the error so it also shows the possibility to increase the steps with
--max-n-steps
.The text was updated successfully, but these errors were encountered: