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

recursive typing for ABIFunctionComponents #3063

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented Jul 26, 2023

What was wrong?

The ABIFunctionComponents type is better typed recursively, but mypy did not allow it previously. It does now.

How was it fixed?

Added recursive type and removed note.

I looked through the lib for other places this kind of change might be appropriate but couldn't identify any.

Todo:

Cute Animal Picture

image

@pacrob pacrob force-pushed the recursive-typing-in-types branch from e7291df to 53881c3 Compare July 26, 2023 15:12
@pacrob pacrob changed the title recursive typing works with current mypy recursive typing for ABIFunctionComponents Jul 26, 2023
@pacrob pacrob requested review from reedsa, fselmo and kclowes July 26, 2023 15:16
Copy link
Contributor

@reedsa reedsa left a comment

Choose a reason for hiding this comment

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

Good to see this, lgtm!

Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏼

@pacrob pacrob merged commit 300c859 into ethereum:main Jul 26, 2023
84 checks passed
@pacrob pacrob deleted the recursive-typing-in-types branch July 26, 2023 15:50
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