-
Notifications
You must be signed in to change notification settings - Fork 835
Open
Description
The current limit of the JSON-RPC service (for both RPCs like eth and engine) is currently hardcoded at 11MB
ethereumjs-monorepo/packages/client/src/util/rpc.ts
Lines 191 to 192 in 79155fe
| 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)