File tree Expand file tree Collapse file tree 4 files changed +3
-64
lines changed
proof_aggregator/src/backend Expand file tree Collapse file tree 4 files changed +3
-64
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ impl BatcherServer {
4343 HttpServer :: new ( move || {
4444 App :: new ( )
4545 . app_data ( Data :: new ( state. clone ( ) ) )
46+ // Note: this is temporary and should be lowered when we accept proofs via multipart form data instead of json
47+ . app_data ( web:: JsonConfig :: default ( ) . limit ( 50 * 1024 * 1024 ) ) // 50mb
4648 . route ( "/nonce/{address}" , web:: get ( ) . to ( Self :: get_nonce) )
4749 . route ( "/proof/merkle" , web:: get ( ) . to ( Self :: get_proof_merkle_path) )
4850 . route ( "/proof/sp1" , web:: post ( ) . to ( Self :: post_proof_sp1) )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub struct Task {
2020 pub proving_system_id : i32 ,
2121 pub proof : Vec < u8 > ,
2222 pub program_commitment : Vec < u8 > ,
23- pub merkle_path : Vec < u8 > ,
23+ pub merkle_path : Option < Vec < u8 > > ,
2424 pub status : TaskStatus ,
2525}
2626
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ pub mod config;
22mod db;
33pub mod fetcher;
44mod merkle_tree;
5- mod retry;
65mod types;
76
87use crate :: {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments