Skip to content

Make RPC request limit configurable #3981

Open
@jochem-brouwer

Description

@jochem-brouwer

The current limit of the JSON-RPC service (for both RPCs like eth and engine) is currently hardcoded at 11MB

app.use(JSONParser({ limit: '11mb' }))

For JSON-RPC eth this seems wayyy too high. For engine, this could be too low, especially if these are full blocks with blobs in them (and also since the max blobs in Prague is now 9, not 6 (Cancun)). We should raise this limit on the engine JSON-RPC service since this service is trusted and authenticated.

Additionally, we should add CLI flags to edit the limits of the trusted service (engine) and the non-trusted service (eth/debug/whatever, anything which is not engine)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions