mirror of
https://github.com/logos-blockchain/lssa-zkvm-testing.git
synced 2026-01-03 05:43:10 +00:00
606 B
606 B
Test run instructions
Those are the requirements for SP1, in sp1 folder.
To prove execution one needs to build one of the tests, let`s use simple_arithmetic_test as an example.
To generate a proof, run the following commands:
cd simple_arithmetic_test
cd script
RUSTFLAGS='-C target-cpu=native' cargo run --release -- --prove
If you are on a CPU with AVX512 support, you can use the following flags for more performance: RUSTFLAGS='-C target-cpu=native -C target_feature=+avx512ifma,+avx512vl'.