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 | |
---|---|---|
.. | ||
jsontypes.go | rpc: use encoding/json rather than tmjson (#7670) | 3 years ago |
jsontypes_test.go | jsontypes: improve tests and error diagnostics (#7669) | 3 years ago |