You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some RPC methods body params should be validated before reaching backend nodes.
One use-case we can come up with is block range, it would be nice if we could validate and return an error if requested block ranges exceed the configured number allowed.
Possible ideas are
using the name validate middleware for future extendability and rename existing validate middleware to debug for example.
building another middleware called block_range
The text was updated successfully, but these errors were encountered:
The most simple case is configuring in yaml to set block range number for Filter type.
I think block range validation should be applicable to ty: Filter (which doesn't exist at this moment).
And checking param type and its values inside block_range middleware.
Some RPC methods body params should be validated before reaching backend nodes.
One use-case we can come up with is block range, it would be nice if we could validate and return an error if requested block ranges exceed the configured number allowed.
Possible ideas are
validate
middleware for future extendability and rename existingvalidate
middleware todebug
for example.block_range
The text was updated successfully, but these errors were encountered: