-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error when sending duplicate "Data" and "Input" Fields #3875
Comments
Just find that web3js community had an ongoing PR about the duplication issue. |
Hello guys, However, web3.js ensures that So, I suggest that Thanks, |
sgtm, will add this after having a look at other reference impls |
Thank you ser. I am switching to rust wrapper instead of web3js. |
Thanks all,
So, upgrading to the latest |
Describe the bug
When sending an eth rpc call with duplicate "Data" and "Input" Fields, it reports:
This is problematic when interacting RETH with web3js for reading a contract, as web3js will send both fields by default (thanks Zootree for pointing this out on the telegram group).
He also points out a temporary solution:
Commenting
#[serde(rename = "input")]
hereSteps to reproduce
Send an eth rpc call with duplicate "Data" and "Input" Fields
For example, calling the
getReserves
function ofComet
contract:Node logs
No response
Platform(s)
Linux (x86)
What version/commit are you on?
reth Version: 0.1.0-alpha.3
What database version are you on?
Current database version: 1
If you've built Reth from source, provide the full command you used
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: