ethereum / eth-typing

Python types for type hinting commonly used ethereum types
MIT License
31 stars 35 forks source link

ABI types improvements #62

Closed reedsa closed 6 months ago

reedsa commented 6 months ago

What was wrong?

Encountered a few errors obscured in CI of the eth-utils updates.

ABIElement now uses each Function type rather than the base type. ABIEventComponent added as part of the event data model.

How was it fixed?

This change fixes those errors seen in the eth-utils build.

Todo:

Cute Animal Picture

Screen Shot 2024-04-15 at 4 35 37 PM
reedsa commented 6 months ago

@kclowes these changes have been validated and work in each library which uses types. These types are not in use just yet so the changes here will not break anything. Should be good on this now, I'm ready to use these in https://github.com/ethereum/eth-utils/pull/271.