Author | SHA1 | Message | Date |
---|---|---|---|
Jae Kwon | 3037b5b7ca | Fix rpc/lib/... | 7 years ago |
Ethan Buchman | f7f4ba5e90 | rpc/lib/server: minor changes to test | 7 years ago |
Emmanuel Odeke |
a8b77359df
|
rpc/lib/server: separate out Notifications test
Addressing feedback from @ebuchman |
7 years ago |
Emmanuel Odeke | e7fab7d4bf | rpc/lib/server: update with @melekes and @ebuchman feedback | 7 years ago |
Emmanuel Odeke | 59556ab030 |
rpc/lib/server: add handlers tests
Follow up of PR https://github.com/tendermint/tendermint/pull/724 For https://github.com/tendermint/tendermint/issues/708 Reported initially in #708, this bug was reconfirmed by the fuzzer. This fix ensures that: * if the user doesn't pass in `"id"` that we send them back a message in an error telling them to send `"id"`. Previously we let the handler return a 200 with nothing. * passing in nil `params` doesn't crash * not passing in `params` doesn't crash * passing in non-JSON parseable data to `params` doesn't crash |
7 years ago |