node-real / bsc-erigon

Ethereum implementation on the efficiency frontier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected 'execution reverted' response

qk-santi opened this issue · comments

System information

Erigon version: erigon/1.1.10

OS & Version:Linux

Expected behaviour

curl -L 'http://RPC_URL' -H 'accept: application/json'  -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_call",
  "params": [
    {
      "from": "0x0000000000000000000000000000000000000000",
      "input": "0x9d0604500000000000000000000000000000000000000000000000000000000000000045",
      "to": "0x162b366af39c57ca334f31ff48d1053ee3c8a310"
    },
    "0x2122254"
  ]
}'

{"jsonrpc":"2.0","id":1,"result":"0x0000000000000000000000000000000000000000000000000000000000000005"}

Actual behaviour

{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"execution reverted"}}

Hi there, Can you upgrade your node to erigon/1.1.11 (https://github.com/node-real/bsc-erigon/releases/tag/v1.1.11) and see if it works.

Also, Is your node fully synced? Any logs would be helpful to look into it.

commented

Hi, we are running v1.1.11 , the result is the same, there is no other error log associated when I tailed the service.

Change "input" filed to "data".
Will fix in next commit.