You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe "data" is some legacy field, which is changed to "input" now. But different tools still use "data" field, for example, Ethers.js, web3 cli etc. Other tools, like Go-bindings, generated by abigen, use "input" field, what leads to error described above.
Is it possible to make eth_call to accept either the "input" field or the legacy "data" field?
Here is example how it is done in Anvil: foundry-rs/foundry#5918
The text was updated successfully, but these errors were encountered:
Now it works this way:
success
Failure (with "input" field instead of "data"):
Isolated server logs:
Documentation of eth_call says:
I believe "data" is some legacy field, which is changed to "input" now. But different tools still use "data" field, for example, Ethers.js, web3 cli etc. Other tools, like Go-bindings, generated by abigen, use "input" field, what leads to error described above.
Is it possible to make eth_call to accept either the "input" field or the legacy "data" field?
Here is example how it is done in Anvil: foundry-rs/foundry#5918
The text was updated successfully, but these errors were encountered: