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

eth_call method returning back unexpected result #3537

Closed
cp0k opened this issue Feb 17, 2022 · 1 comment
Closed

eth_call method returning back unexpected result #3537

cp0k opened this issue Feb 17, 2022 · 1 comment

Comments

@cp0k
Copy link

cp0k commented Feb 17, 2022

System information

Erigon version: erigon version 2022.99.99-dev

Also compiled the latest version of Erigon "2022.99.99-dev" and got back the same behavior

OS & Version: "Ubuntu 20.04.3 LTS"

Commit hash : unknown at this time

Expected behaviour

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

Actual behaviour

{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"sender not an eoa: address 0xfdbADEb62c0922Ce833250530ad5Ec0962a01BCb, codehash: 0x507bca560b438f9f0b92cf5bd9dcd7c8b70cb04d36b36899b48cac1cbc5a95c9"}}

Steps to reproduce the behaviour:

Network is Binance Smart Chain mainnet

curl localhost:8545 -X POST -H "Content-Type: application/json" -d '{
"jsonrpc":"2.0",
"method":"eth_call",
"params":[{
"from": "0xfdbADEb62c0922Ce833250530ad5Ec0962a01BCb",
"to": "0x2191b1ca314134B93b829f6e892B7422c4D26406",
"data": "0xbd82470600000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000015d6d20000000000000000000000000000000000000000000000000000000000002c717000000000000000000000000000000000000000000000000000000000010aa8e"
}, "latest"],
"id":1
}'

Possible this is related to a previous issue reported and fixed by the Geth client ?
ethereum/go-ethereum#23408

@cp0k cp0k changed the title eth_call method returning back unexpected result eth_call method returning back unexpected result Feb 17, 2022
@AlexeyAkhunov
Copy link
Contributor

Yes, it is very likely the same issue that has been fixed Geth PR: ethereum/go-ethereum#23424

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

No branches or pull requests

3 participants