-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable URL length limit #4333
Comments
@michaelsproul I am considering to work on this issue. I have checked some libraries like warp and hyper so far. We can not request like 1024 validator's public key as query. So I think we have to handle 414URI Too Long error in handle_rejection function. lighthouse/common/warp_utils/src/reject.rs Line 144 in 441fc16
|
Thanks for looking into this @aoikurokawa. I think the best thing would be to reply with a 414 when the request is too large. To address the underlying issue of not being able to request enough validators, I've opened a PR to the spec: ethereum/beacon-APIs#367 And a draft impl in Lighthouse: #4872 |
Closing as obsoleted by #4872. |
Description
It may be useful to have a way of bumping the URL length limit for the HTTP API. Some VCs will use long query strings to determine the validator indices of a bunch of pubkeys, e.g. Nimbus: status-im/nimbus-eth2#4980.
Version
v4.2.0
The text was updated successfully, but these errors were encountered: