Skip to content

Commit

Permalink
fix: increase bodyLimit of the beacon api server
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Feb 23, 2024
1 parent 8943ab6 commit 5055686
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: 100 * 1024 * 1024, // 100MB for block + blobs
};

export type BeaconRestApiServerModules = RestApiServerModules & {
Expand Down

0 comments on commit 5055686

Please sign in to comment.