Skip to content

eth_call discrepancies with Geth #8813

@stdevMac

Description

@stdevMac

If we query a Geth Node and a Nethermind node over an eth_call, you may see some inconsistencies in the response. I have attached some examples:

Test 1

Request:

[{"data":"0x6352211e0000000000000000000000000000000000000000000000000000000000001178","to":"0xB83C3CA6e22EF50EC13dC56B6D0729Aef6b4546E"},"latest"]

Geth:

{
  "error": {
    "code": 3,
    "data": "0xdf2d9b42",
    "message": "execution reverted"
  },
  "id": 1,
  "jsonrpc": "2.0"
}

Nethermind:

{
  "error": {
    "code": -32015,
    "data": "err: 0xdf2d9b42 (supplied gas 36000000)",
    "message": "VM execution error."
  },
  "id": 1,
  "jsonrpc": "2.0"
}

Test 2

Request:

[{"data":"0x70a08231000000000000000000000000fa94a4ef06abb15d7f1953906f953d53faf3a726","to":"0xf61E18A4f2b1A3784054393Fce90848394Fc3799"},"latest"]

Geth:

{
  "error": {
    "code": 3,
    "data": "0x",
    "message": "execution reverted"
  },
  "id": 1,
  "jsonrpc": "2.0"
}

Nethermind:

{
  "error": {
    "code": -32015,
    "data": "err: revert (supplied gas 36000000)",
    "message": "VM execution error."
  },
  "id": 1,
  "jsonrpc": "2.0"
}

Metadata

Metadata

Labels

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions