ipld-eth-server/vendor/github.com/ethereum/go-ethereum/rpc/testdata/reqresp-namedparam.js
2019-12-02 13:24:50 -06:00

6 lines
239 B
JavaScript

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