Commit Graph

4 Commits

Author SHA1 Message Date
Bernardo A. Rodrigues 3599a73b58
Chronos HTTP(S) Server (#111) 2021-11-22 15:14:30 +02:00
Zahary Karadjov 2307dbec57 Add support for producing custom error codes from request hanlers 2021-10-06 10:50:08 +02:00
Jacek Sieka 4eb39203eb
fixes (#95)
* fixes

* fix https://github.com/status-im/nimbus-eth2/issues/1650
* only one of `result` and `error` allowed in response
* fix invalid `string` instances being created from byte sequences
* fix large int64 parsing on 32-bit
* fix exception inheritance
* fix some dangling results
* some cleanups

* annotate exception issues, fix cancellation

* more error handling cleanup

* add rudimentary error tests

* cleanups

* simplify init
* use nextId -> lastId to avoid =1 init
* remove obsolete tests
2021-02-15 13:45:51 +01:00
Zahary Karadjov 244254632b
Improved handling of invalid responses; Handle seq[byte] results such as `eth_getCode` 2020-06-19 20:42:49 +03:00