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

fix: allows event signatures with nameless parameters to be parsed #143

Conversation

bitwise-constructs
Copy link
Contributor

What I did

fixes: #142
Fixes: APE-1843

How I did it

I added accommodations for a lone type as an argument in the parsed Event signature

How to verify it

parse_signature('PairCreated(address indexed token0, address indexed token1, address pair, uint)')

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
  • New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

@bitwise-constructs bitwise-constructs changed the title fix: allows event signatures to be parsed with nameless parameters fix: allows event signatures with nameless parameters to be parsed Oct 24, 2024
Copy link
Member

@antazoey antazoey left a comment

Choose a reason for hiding this comment

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

LGTM - I made sure the test fails on main, confirming it represents the bug fix

@bitwise-constructs bitwise-constructs merged commit 31dcc73 into ApeWorX:main Oct 24, 2024
17 checks passed
@bitwise-constructs bitwise-constructs removed the request for review from fubuloubu October 24, 2024 15:58
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.

Utils parse_signature function can't handle event arg with no name
2 participants