Skip to content

Commit

Permalink
fix: increase bodyLimit of the beacon api server (#6476)
Browse files Browse the repository at this point in the history
* fix: increase bodyLimit of the beacon api server

* update limit
  • Loading branch information
g11tech authored Feb 24, 2024
1 parent 8943ab6 commit 5de9a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/api/rest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const beaconRestApiServerOpts: BeaconRestApiServerOpts = {
port: 9596,
cors: "*",
// beacon -> validator API is trusted, and for large amounts of keys the payload is multi-MB
bodyLimit: 10 * 1024 * 1024, // 10MB
bodyLimit: 20 * 1024 * 1024, // 20MB for big block + blobs
};

export type BeaconRestApiServerModules = RestApiServerModules & {
Expand Down

0 comments on commit 5de9a74

Please sign in to comment.