-
Notifications
You must be signed in to change notification settings - Fork 762
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
core/types: transaction conditional KnownAccounts fix && HexOrDecimal deser #414
Conversation
6d38391
to
33c3c9f
Compare
33c3c9f
to
87c5698
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix and squash into a single commit with a clean commit message that follows the style of geth before merge
87c5698
to
3c993d8
Compare
@tynes updated! Can you lmk what you mean by geth style commit message? I think the title reflects what I see in the geth PRs, |
The title of the PR approximates a geth commit message, like you said I also think its a bad idea to manually modify autogenerated files, I notice that the allow unused fields diff is lost in this PR, I missed that in review previously and wouldn't have approved that if I noticed it at the time |
3c993d8
to
6d4a826
Compare
Ahh wait I think I misunderstood. Didn't realize the commit message wasn't just the PR title. Renamed the commit title to match And noted on the generated code. The generator doesn't seem to have an option for unknown fields but that's not super important anyways |
KnownAccounts should not use a pointer receiver for
MarshalJSON
. We can also leverage themath.HexOrDecimal
to be more lenient when deserializing the conditional number values