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

Geth 1.10.3 fix - incorrect type for /accounts/balance response graphQLBalance:Data.Block.Number #41

Merged
merged 2 commits into from
Jun 18, 2021
Merged

Conversation

akramhussein
Copy link
Contributor

Fixes #40

Motivation

go-ethereum v1.10.x introduces fixes to the GraphQL API. This creates a breaking change for rosetta-ethereum.
This PR aims to address these issues.

Solution

  • Change type of Data.Block.Number in graphqlBalance into int64 from string
  • Don't try to parse the string - pass straight through BlockIdentifier

Open questions

None at the moment

@akramhussein akramhussein changed the title Geth 1.10.3 fixes Geth 1.10.3 fix - incorrect type for /accounts/balance response graphQLBalance:Data.Block.Number Jun 11, 2021
@septerr septerr merged commit caddbf8 into coinbase:master Jun 18, 2021
@akramhussein akramhussein deleted the geth-1.10.3-support branch June 21, 2021 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

geth v1.10.x support
2 participants