nim-eth/tests/rlp
Jacek Sieka bb5cb6a4d0
rlp: refresh code (#683)
A first step in cleaning up RLP, which has lots of interesting issues -
the next step would be to clean up the exception handling as well
(Resultify?)

* remove `RlpNode` (unused)
* single-pass parsing for most functionality via RlpItem
* stricter conformance to spec
  * remove float support
  * warn about signed integers
  * raise on invalid RLP earlier
* avoid several pointless allocations, in particular in `listLen`,
`listElem` etc
* include spec docs
2024-05-26 09:58:24 +02:00
..
cases Fix two bugs in Receipts RLP encoding/decoding (#672) 2024-02-05 23:22:15 +01:00
util rlp: refresh code (#683) 2024-05-26 09:58:24 +02:00
all_tests.nim Move Ethereum specific RLP encoding tests under tests/common (#673) 2024-02-09 17:30:24 +01:00
test_api_usage.nim rlp: refresh code (#683) 2024-05-26 09:58:24 +02:00
test_json_suite.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
test_object_serialization.nim Refactor p2pProtocol internals (#657) 2024-01-22 16:47:46 +07:00