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
Expected behavior
IMO if I don't add params to the request it shouldn't be auto-added to the request.
Our RPC server is very strict and it interpretes [] as wrong parameter.
I was looking for definition how it should be implemented correctly in JSON-RPC specification but it wasn't super clear.
The text was updated successfully, but these errors were encountered:
@hoffmannjan thx for the issue. And good catch! We should be able to throw out params and not have it specified, let me think about what the solution for this should be
Library replaces missing
params
argument with[]
empty list.To Reproduce
end in a JSON RPC request that looks like this:
I also tried doing
but the effect is the same.
Expected behavior
IMO if I don't add
params
to the request it shouldn't be auto-added to the request.Our RPC server is very strict and it interpretes
[]
as wrong parameter.I was looking for definition how it should be implemented correctly in JSON-RPC specification but it wasn't super clear.
The text was updated successfully, but these errors were encountered: