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

Proof compatibility between Stone verifier and Sandstorm #9

Open
MauroToscano opened this issue Oct 12, 2023 · 0 comments
Open

Proof compatibility between Stone verifier and Sandstorm #9

MauroToscano opened this issue Oct 12, 2023 · 0 comments

Comments

@MauroToscano
Copy link

I'm trying to verify Sandstorm proofs with Stone prover to validate that they are compatible. For the same program and layout they seem to be quite different in size, and not really similar. Maybe some parameter is wrong.

I've tried with the following ones:

Layout: recursive

    "field": "PrimeField0",
    "stark": {
        "fri": {
            "fri_step_list": [
                0,
                2,
		2,
		2,
		2,
		2,
		2,
		2,
		2,
		2
            ],
            "last_layer_degree_bound": 1,
            "n_queries": 18,
            "proof_of_work_bits": 24
        },
        "log_n_cosets": 2
    },
    "use_extension_field": false
}

And in sandstorm I'm using:

cargo +nightly run -p sandstorm-cli -r -F parallel -- \
            --program fibonacci_compiled.json \
             --air-public-input fibonacci_public_input.json \
             prove --air-private-input fibonacci_private_input.json \
             --output proof.proof --fri-max-remainder-coeffs 1 --lde-blowup-factor 4 --fri-folding-factor 4 --num-queries 18 --proof-of-work-bits 24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant