github.com/authcall/reference-optimistic-geth@v0.0.0-20220816224302-06313bfeb8d2/rpc/testdata/reqresp-namedparam.js (about)

     1  // This test checks that an error response is sent for calls
     2  // with named parameters. 
     3  
     4  --> {"jsonrpc":"2.0","method":"test_echo","params":{"int":23},"id":3}
     5  <-- {"jsonrpc":"2.0","id":3,"error":{"code":-32602,"message":"non-array args"}}