Skip to content

Commit dcb3d2d

Browse files
committed
chore: remove json payload limit now that we accept multipart/form-data
1 parent 08ac238 commit dcb3d2d

File tree

1 file changed

+0
-2
lines changed
  • aggregation_mode/batcher/src/server

1 file changed

+0
-2
lines changed

aggregation_mode/batcher/src/server/http.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ impl BatcherServer {
4444
HttpServer::new(move || {
4545
App::new()
4646
.app_data(Data::new(state.clone()))
47-
// Note: this is temporary and should be lowered when we accept proofs via multipart form data instead of json
48-
.app_data(web::JsonConfig::default().limit(50 * 1024 * 1024)) // 50mb
4947
.route("/nonce/{address}", web::get().to(Self::get_nonce))
5048
.route("/receipts", web::get().to(Self::get_receipts))
5149
.route("/proof/sp1", web::post().to(Self::post_proof_sp1))

0 commit comments

Comments
 (0)