File tree Expand file tree Collapse file tree 5 files changed +13
-14
lines changed Expand file tree Collapse file tree 5 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,6 @@ func verify(cCtx *cli.Context) error {
113113 if err != nil {
114114 return err
115115 }
116- fmt . Println ("verified:" , ret )
116+ log . Info ("verified:" , "ret " , ret )
117117 return nil
118118}
Original file line number Diff line number Diff line change 77 "batch_collection_time_sec" : 180 ,
88 "chunk_collection_time_sec" : 180 ,
99 "verifier" : {
10- "assets_path" : " assets" ,
1110 "min_prover_version" : " v4.4.45" ,
12- "accept_vks " : [{
13- "file " : " euclidvk.json " ,
11+ "verifiers " : [{
12+ "assets_path " : " assets " ,
1413 "fork_name" : " euclidV2"
1514 }]
1615 }
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ func TestConfig(t *testing.T) {
2020 "batch_collection_time_sec": 180,
2121 "chunk_collection_time_sec": 180,
2222 "verifier": {
23- "high_version_circuit": {
23+ "min_prover_version": "v4.4.45",
24+ "verifiers": [{
2425 "assets_path": "assets",
25- "fork_name": "euclidV2",
26- "min_prover_version": "v4.4.45"
27- }
26+ "fork_name": "euclidV2"
27+ }]
2828 },
2929 "max_verifier_workers": 4
3030 },
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ func TestFFI(t *testing.T) {
2929 as := assert .New (t )
3030
3131 cfg := & config.VerifierConfig {
32- HighVersionCircuit : & config. CircuitConfig {
33- AssetsPath : * assetsPathHi ,
34- ForkName : "euclidV2" ,
35- MinProverVersion : " " ,
36- },
32+ MinProverVersion : "" ,
33+ Verifiers : []config. AssetConfig {{
34+ AssetsPath : * assetsPathHi ,
35+ ForkName : "euclidV2 " ,
36+ }} ,
3737 }
3838
3939 v , err := NewVerifier (cfg )
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ impl<Metadata: ProofMetadata> WrappedProof<Metadata> {
192192 . map ( |& v| v as u32 )
193193 . collect :: < Vec < _ > > ( ) ;
194194
195- let ret = expected_pi ! = proof_pi;
195+ let ret = expected_pi = = proof_pi;
196196 if !ret {
197197 tracing:: warn!( "pi mismatch: expected={expected_pi:?}, found={proof_pi:?}" ) ;
198198 }
You can’t perform that action at this time.
0 commit comments