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

graphql: change receipt status to decimal instead of hex #22187

Merged
merged 3 commits into from
Jan 25, 2021

Conversation

renaynay
Copy link
Contributor

This PR fixes the Status field to be decimal instead of a hex string, as called for by the spec.

@renaynay renaynay requested a review from gballet as a code owner January 18, 2021 13:37
@renaynay
Copy link
Contributor Author

Is Long still okay or should we go with Int instead? #20040 (comment)

graphql/graphql.go Outdated Show resolved Hide resolved
renaynay and others added 2 commits January 18, 2021 14:51
Co-authored-by: Martin Holst Swende <martin@swende.se>
Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

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

LGTM

@fjl fjl changed the title graphql: status should be decimal instead of hex string graphql: change receipt status to decimal instead of hex Jan 25, 2021
@fjl fjl merged commit c0862f4 into ethereum:master Jan 25, 2021
@fjl fjl added this to the 1.10.0 milestone Jan 25, 2021
@renaynay renaynay deleted the graphql_fix_statusReturnVal branch January 25, 2021 11:34
bulgakovk pushed a commit to bulgakovk/go-ethereum that referenced this pull request Jan 26, 2021
)

This PR fixes the receipt status field to be decimal instead of a hex string,
as called for by the spec.

Co-authored-by: Martin Holst Swende <martin@swende.se>
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.

3 participants