ethereum / eth-abi

Ethereum ABI utilities for python
MIT License
241 stars 268 forks source link

Add support for non-standard packed mode #89

Closed davesque closed 6 years ago

davesque commented 6 years ago

What was wrong?

See issue #67 .

How was it fixed?

Added registry_packed registry for packed mode encoders. Added packed mode encoder classes. Added encode_single_packed and encode_abi_packed functions.

Cute Animal Picture

Cute animal picture

davesque commented 6 years ago

@pipermerriam Yeah, it was pretty straight forward. The tests were the hardest point as you allude to. The thing that probably seems most confusing is that little utility function words. To keep you in the loop, my goals with creating that were:

davesque commented 6 years ago

Ugh. Accidentally clicked the close button. I wish Github had a confirmation dialogue for that or something :/.