Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABI types improvements #62

Merged
merged 2 commits into from
Apr 29, 2024
Merged

ABI types improvements #62

merged 2 commits into from
Apr 29, 2024

Conversation

reedsa
Copy link
Contributor

@reedsa reedsa commented Apr 15, 2024

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:

  • Clean up commit history

  • Add or update documentation related to these changes

  • Add entry to the release notes

Cute Animal Picture

Screen Shot 2024-04-15 at 4 35 37 PM

@reedsa reedsa marked this pull request as ready for review April 15, 2024 22:36
reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 15, 2024
reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 15, 2024
Copy link
Contributor

@kclowes kclowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to check that these types work as expected in any other libraries? eth-abi? web3.py?

reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 17, 2024
@reedsa
Copy link
Contributor Author

reedsa commented Apr 18, 2024

@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 ethereum/eth-utils#271.

@reedsa reedsa requested a review from kclowes April 18, 2024 15:51
Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Contributor

@kclowes kclowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

* Fix issue in release notes

* Fix ABI types docs

* Use specific types in ABIElement rather than base type
@reedsa reedsa merged commit 1687974 into ethereum:main Apr 29, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants