• Georgios Konstantopoulos's avatar
    pkg: l2geth (#21) · ee4e3739
    Georgios Konstantopoulos authored
    * pkg: import l2geth
    
    * chore: add l2geth tests submodule
    
    * ci: unit test l2geth
    
    * chore: skip Android tests
    
    * chore: cleanup ci
    ee4e3739
reqresp-batch.js 464 Bytes
// There is no response for all-notification batches.

--> [{"jsonrpc":"2.0","method":"test_echo","params":["x",99]}]

// This test checks regular batch calls.

--> [{"jsonrpc":"2.0","id":2,"method":"test_echo","params":[]}, {"jsonrpc":"2.0","id": 3,"method":"test_echo","params":["x",3]}]
<-- [{"jsonrpc":"2.0","id":2,"error":{"code":-32602,"message":"missing value for required argument 0"}},{"jsonrpc":"2.0","id":3,"result":{"String":"x","Int":3,"Args":null}}]