File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ limited = { max-threads = 4 }
1616very-limited = { max-threads = 1 }
1717
1818[[profile .ci .overrides ]]
19- filter = ' (test(syscall::precompiles) | test(stark::machine) | package(sphinx-recursion-program) | package(sphinx-recursion-circuit))'
19+ filter = ' (test(syscall::precompiles) | test(stark::machine) | test(test_verifier_export) | package(sphinx-recursion-program) | package(sphinx-recursion-circuit))'
2020test-group = ' limited'
2121
2222[[profile .ci .overrides ]]
Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ pub use sphinx_prover::build::{
1010
1111/// Exports the solidity verifier for PLONK proofs to the specified output directory.
1212///
13- /// WARNING: If you are on development mode, this function assumes that the PLONK artifacts have
14- /// already been built.
13+ /// WARNING: If you are on development mode, this function will rebuild the PLONK artifacts.
1514pub fn export_solidity_plonk_bn254_verifier ( output_dir : impl Into < PathBuf > ) -> Result < ( ) > {
1615 let output_dir: PathBuf = output_dir. into ( ) ;
1716 let artifacts_dir = if sphinx_prover:: build:: sphinx_dev_mode ( ) {
18- sphinx_prover:: build:: plonk_bn254_artifacts_dev_dir ( )
17+ let dir = sphinx_prover:: build:: plonk_bn254_artifacts_dev_dir ( ) ;
18+ sphinx_prover:: build:: build_plonk_bn254_artifacts_with_dummy ( dir. clone ( ) ) ;
19+ dir
1920 } else {
2021 try_install_plonk_bn254_artifacts ( false )
2122 } ;
You can’t perform that action at this time.
0 commit comments