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

At openethereum node doesn't work #101

Open
jiazechen opened this issue Sep 16, 2020 · 1 comment
Open

At openethereum node doesn't work #101

jiazechen opened this issue Sep 16, 2020 · 1 comment

Comments

@jiazechen
Copy link

I find uniswap does not work at openethereum.

because jsonrpc api request params omit "jsonrpc": "2.0".


request:

{"method":"eth_call","params":[{"to":"0xeefba1e63905ef1d7acba5a8513c70307c1ce441","data":"0x252dba4200000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000065770b5283117639760bea3f867b69b3697a91dd0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002470a082310000000000000000000000008d791442ef0aa793d57ffab7b4bbed260ae1a36800000000000000000000000000000000000000000000000000000000000000000000000000000000eefba1e63905ef1d7acba5a8513c70307c1ce441000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000244d2301cc0000000000000000000000008d791442ef0aa793d57ffab7b4bbed260ae1a36800000000000000000000000000000000000000000000000000000000"},"latest"],"id":"335553604008694074530677"}

response: error

{
"error": {
"code": -32600,
"message": "Unsupported JSON-RPC protocol version"
},
"id": "335553604008694074530677"
}


request:
{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0xeefba1e63905ef1d7acba5a8513c70307c1ce441","data":"0x252dba4200000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000065770b5283117639760bea3f867b69b3697a91dd0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002470a082310000000000000000000000008d791442ef0aa793d57ffab7b4bbed260ae1a36800000000000000000000000000000000000000000000000000000000000000000000000000000000eefba1e63905ef1d7acba5a8513c70307c1ce441000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000244d2301cc0000000000000000000000008d791442ef0aa793d57ffab7b4bbed260ae1a36800000000000000000000000000000000000000000000000000000000"},"latest"],"id":"335553604008694074530677"}

reponse: ok

{
"jsonrpc": "2.0",
"result": "0x0000000000000000000000000000000000000000000000000000000000a5e79e00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000",
"id": "335553604008694074530677"
}

@ghost
Copy link

ghost commented Dec 31, 2023

This is node issue, not the uniswap issue.

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