Methodology:
- in Erlang, generate random DecodeData that are decentish (hard to generate
because of arbitrary depth recursive nature)
- in Erlang, check that DecodeData->rlp:encode->rlp:decode is an identity (it
is!)
- generate tons of encode/decode pairs for Python, make sure they all work
(they do!)
my current methodology for doing X
- find library that does X in Python with lots of stars on GitHub
- autogenerate test cases against Python library
- do X in Erlang to work out logic in easier setting
- make sure Erlang implementation works
- do X in TypeScript
- make sure TypeScript implementation works