This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
5MB limit for RPC requests #8961
Labels
F3-annoyance 💩
The client behaves within expectations, however this “expected behaviour” itself is at issue.
M6-rpcapi 📣
RPC API.
P7-nicetohave 🐕
Issue is worth doing eventually.
Milestone
Before filing a new issue, please provide the following information.
Your issue description goes here below. Try to include actual vs. expected behavior and steps to reproduce the issue.
expected behavior
I am running a script. I use web3 batch to send one single rpc request containing a few thousend balanceOf requests. In parity 1.9.3 it was working fine.
actual
In parity 1.9.5 a hard 5MB limit was implemented with this commit: paritytech/jsonrpc@06bec6a
1.) Please add an option. I would like to increase that limit.
2.) For some reasons I did not receive the error message
PayloadTooLarge
. The error message gets lost somewhere. Please return the error message.steps to reproduce
parity config
logging = "rpc=trace"
Run this script:
25629 (-1 for the loop condition) will be loged as one single request with 5242840 bytes. 25630 is too large. No response and nothing on the logfile.
The text was updated successfully, but these errors were encountered: