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

Add get_type_defs/get_module_type_defs to scope #231

Merged

Conversation

cburgdorf
Copy link
Collaborator

What was wrong?

Nothing wrong but a fall out from #203. This adds convenience helper to the contract and module scopes to filter for a list of type defintions.

How was it fixed?

Basically took some existing code and put it in a function + wrangling 20 minutes about the right syntax for the closure.

@cburgdorf cburgdorf force-pushed the christoph/refactoring/scope_type_defs branch 2 times, most recently from ff2305e to 002fa85 Compare February 3, 2021 17:53
@cburgdorf cburgdorf force-pushed the christoph/refactoring/scope_type_defs branch from 002fa85 to e6a5d4e Compare February 3, 2021 18:01
Copy link
Member

@g-r-a-n-t g-r-a-n-t left a comment

Choose a reason for hiding this comment

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

looks great

@cburgdorf cburgdorf merged commit 8b3e813 into ethereum:master Feb 3, 2021
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.

2 participants