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

Trim underscore prefix while generating event params #52

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

lukasz-zimnoch
Copy link
Member

Refs: keep-network/keep-ecdsa#574

Underscore prefixes should be trimmed while capitalizing and uncapitalizing the first letter of the event params. This change
is required because abigen does the same while generating the underlying contract binding so names must be aligned to
avoid compilation errors.

Underscore prefixes should be trimmed while
capitalizing and uncapitalizing the first
letter of the event params. This change
is required because abigen does the same
while generating the underlying contract
binding so names must be aligned to
avoid compilation errors.
@lukasz-zimnoch lukasz-zimnoch marked this pull request as ready for review October 15, 2020 09:43
@pdyraga
Copy link
Member

pdyraga commented Oct 15, 2020

abigen does the same while generating the underlying contract binding

Can you please provide a link where it's done by abigen?

@lukasz-zimnoch
Copy link
Member Author

abigen does the same while generating the underlying contract binding

Can you please provide a link where it's done by abigen?

Here is a PR: ethereum/go-ethereum#15766

@pdyraga pdyraga merged commit 397dbfe into master Oct 15, 2020
@pdyraga pdyraga deleted the trim-underscore branch October 15, 2020 10:51
@pdyraga pdyraga added this to the v1.3.0 milestone Dec 29, 2020
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