Skip to content

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