-
Notifications
You must be signed in to change notification settings - Fork 844
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 Returned "Execution reverted" Error, Since "input" Is Not Supported as a Parameter in quorum-test-network #7290
Comments
Hi @Koosha-E-Khorasani @jframe i am interested in this issue. If no one is doing it, could you assign this to me? |
Hi @rahulbansal3005, I've assigned the issue to you. If you need any help reach out in the Besu contributors discord and somebody will be able to help you out. FYI @usmansaleem |
@jframe Sure. |
Hi @rahulbansal3005, Can you please make it backwards compatible. |
(a) Specifically what version of Besu is failing. 24.7.0? something from 2023? (Docker "latest" is not enough information) |
Hi @shemnon thank you for your comment. The Besu version is "23.4.1", and as I mentioned I am using quorum-test-network latest version. If the issue is solved in the recent versions of besu, then I guess a change in quorum-test-network docker would be needed. |
This has been fixed in 23.10.2. Please use a more recent version of Besu. #6094 - Both data and input (but not both at the same time) are accepted. |
For people who face the same problem with quorum-test-network:Based on what @shemnon mentioned, here is what I did to solve the issue I faced:
I also checked with go-ethereuem V1.14.7, I did connect to my smart contarcts on qurom-test-net (with besu 24.7.0) without any problem so far. Here is a screenshot of my .env file: Here are screenshots of postman: Thank you for your efforts @jframe @rahulbansal3005. |
Description
Hi everyone!
I believe the eth_call method in the JSON-RPC server should support both "input" and "data" as parameters for sending the hash of the method signature and encoded parameters. Currently, in Besu, only "data" is supported. However, due to the recent version of Ethereum documentation about eth_call it should be "input".
I think it would be beneficial if Besu could support input besides data. I encountered this issue while developing a Go-based dApp and needed to call a read-only method on my smart contract deployed on a Besu private network using the ethclient module.
I attached the postman results of using both input and data in Besu as parameters.
Expected behavior:
I expected to see the result.
Actual behavior:
I got "Execution reverted" error.
Versions (Add all that apply)
latest
]Additional Information
For People Who Faced the Same Problem:
Downgrade to go-ethereum v1.12.2.
Update:
The text was updated successfully, but these errors were encountered: