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 the type of yParity from Long to BigInt #28456

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Nov 2, 2023

Discussed in ethereum/execution-apis#471

as r, s, v are bigints, so yParity should also be the same.

Signed-off-by: jsvisa <delweng@gmail.com>
@jsvisa jsvisa requested a review from s1na as a code owner November 2, 2023 15:35
@fjl
Copy link
Contributor

fjl commented Nov 7, 2023

It's not necessary to return a bigint here, because the only possible values are 0x0 and 0x1.

@jsvisa
Copy link
Contributor Author

jsvisa commented Nov 9, 2023

It's not necessary to return a bigint here, because the only possible values are 0x0 and 0x1.

Yes, it's enough for storing the data, but here we want to align with v's value, which is bigint. @s1na wdyt

Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

Honestly they are the same. both types are formatted the same way. Felix merged the spec so this is good to go.

@s1na s1na merged commit 7ea860d into ethereum:master Nov 9, 2023
2 checks passed
@jsvisa jsvisa deleted the graphql-yParity-bigint branch November 9, 2023 13:36
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
Signed-off-by: jsvisa <delweng@gmail.com>
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
Dergarcon pushed a commit to specialmechanisms/mev-geth-0x2mev that referenced this pull request Jan 31, 2024
Signed-off-by: jsvisa <delweng@gmail.com>
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