M. J. Fromberger
f9c6cc9306
The main change here is to use encoding/json to encode and decode RPC parameters, rather than the custom tmjson package. This includes: - Update the HTTP POST handler parameter handling. - Add field tags to 64-bit integer types to get string encoding (to match amino/tmjson). - Add marshalers to struct types that mention interfaces. - Inject wrappers to decode interface arguments in RPC handlers. |
3 years ago | |
---|---|---|
.. | ||
client | rpc: use encoding/json rather than tmjson (#7670) | 3 years ago |
server | rpc: use encoding/json rather than tmjson (#7670) | 3 years ago |
test | rpc: clean up the RPCFunc constructor signature (#7586) | 3 years ago |
types | rpc: use encoding/json rather than tmjson (#7670) | 3 years ago |
doc.go | rpc: clean up the RPCFunc constructor signature (#7586) | 3 years ago |
jsonrpc_test.go | testing: use noop loger with leakteset in more places (#7604) | 3 years ago |