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 event signature #250

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

fix event signature #250

wants to merge 6 commits into from

Conversation

wuminzhe
Copy link

No description provided.

"#{name}(#{types.join(",")})"
end

def type(input)
Copy link
Owner

Choose a reason for hiding this comment

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

can you add basic docs to the method? 🙏🏼

if input["type"] == "tuple"
"(#{input["components"].map {|c| type(c) }.join(",")})"
elsif input["type"] == "enum"
"uint8"
Copy link
Owner

Choose a reason for hiding this comment

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

can you provide a test case for tuple and enum so I can make sure not to break it in future?

Copy link
Owner

@q9f q9f left a comment

Choose a reason for hiding this comment

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

Ignore the failing spec, it does not work on CI due to permissions.

@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (db8becd) 99.70% compared to head (dfc7ac3) 99.44%.

Files Patch % Lines
lib/eth/abi/event.rb 71.42% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #250      +/-   ##
==========================================
- Coverage   99.70%   99.44%   -0.27%     
==========================================
  Files          77       77              
  Lines        4477     4483       +6     
==========================================
- Hits         4464     4458       -6     
- Misses         13       25      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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