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

calling eth_call on contracts doesnt work #122

Open
nnn-gif opened this issue Sep 26, 2018 · 0 comments
Open

calling eth_call on contracts doesnt work #122

nnn-gif opened this issue Sep 26, 2018 · 0 comments

Comments

@nnn-gif
Copy link

nnn-gif commented Sep 26, 2018

Steps to reproduce

curl -X POST \
  http://localhost:8545/ \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
	"jsonrpc":"2.0",
	"method":"eth_call",
	"params":[{
 		"to": "0x0000000000000000000000000000000000000002",
 		"data":""

	}, "latest"],
	"id":8
}'

gives


{
    "jsonrpc": "2.0",
    "id": 8,
    "result": null
}

expected

{
    "jsonrpc": "2.0",
    "id": 8,
    "result": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

PS: Sync status: Long sync

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

1 participant