exthereum / abi

The Ethereum ABI Interface
MIT License
20 stars 22 forks source link

Fix Dynamic Tuple Encoding #41

Closed hayesgm closed 9 months ago

hayesgm commented 9 months ago

This patch had a bug that new tuple arg types (%{type: type, name: ...}) were beign interpreted as "not dynamic" in the is_dynamic? code since we had a catch-all that wasn't clear it was incorrectly matching the inner value. We both a) fix the matching, and b) are explicit about declaring this function for all types so we don't silently get it wrong in the future.

Bump to 1.0.0-alpha5