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 for utils #61

Merged
merged 7 commits into from Apr 15, 2024
Merged

ABI types for utils #61

merged 7 commits into from Apr 15, 2024

Conversation

reedsa
Copy link
Contributor

@reedsa reedsa commented Apr 8, 2024

What was wrong?

Related to Issue #
Closes #

How was it fixed?

Types for elements of a contract ABI. These were lifted from web3.py to be usable in eth-utils.

Updates in web3.py and eth-utils inbound.

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-08 at 2 04 41 PM

reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 8, 2024
reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 8, 2024
@reedsa reedsa requested review from fselmo, pacrob and kclowes April 8, 2024 21:01
@reedsa reedsa closed this Apr 8, 2024
@reedsa reedsa reopened this Apr 8, 2024
@reedsa reedsa marked this pull request as ready for review April 8, 2024 21:02
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.

It seems like it would be helpful to list the fields and their types in the docs for reference. Otherwise the user has to go to code too. What you think?

Edit: the docs already have autodoc in there, so you could add the definition as a docstring and have it construct the docs for you.

reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 9, 2024
reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 10, 2024
reedsa added a commit to reedsa/eth-typing that referenced this pull request Apr 10, 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.

LGTM!

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!

@reedsa reedsa merged commit 298f481 into ethereum:main Apr 15, 2024
20 checks passed
@reedsa reedsa deleted the abi-utils-types branch April 15, 2024 20:01
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.

None yet

3 participants