-
Notifications
You must be signed in to change notification settings - Fork 163
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
Cannot STONE prove a program traced with cairo1-run
due to missing add_mod
segment
#1889
Comments
check if this helps #1888 (comment) |
It's better, but now I get this error when running
|
@FrancoGiachetta I'm using this cpu_air_params.json
Can you provide a replacement? And maybe explain me why this one don't work |
@LandauRaz maybe you will know this? |
@LandauRaz your third link is broken, but I was able to find an equivalent program there I'm now using {
"field": "PrimeField0",
"stark": {
"fri": {
"fri_step_list": [
4,
4,
4,
3
],
"last_layer_degree_bound": 32,
"n_queries": 18,
"proof_of_work_bits": 30
},
"log_n_cosets": 4
},
"use_extension_field": false
} And the error is now the following:
Same with dynamic layout btw |
Btw, I tried running zk-security
This even after modifying their
|
Fixed the third link, will TAL and update ASAP. |
As I mentioned |
This is my program
|
Here is my program
lib.cairo
Here is Scarb.toml:
Here is my script to run compile, trace, prove:
The
cpu_air_prover
run fails with the following error:I think the most explicit part is
add_mod
segment is missing from the public-input.json file. Two possibilities:I also ran this program with a different layout, including dynamic with this file:
And it still failed with the same error.
The text was updated successfully, but these errors were encountered: