-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Bug]: update metamask send_transaction #21467
Comments
Thanks for bringing this discrepancy to our attention. We will look into it. |
Thanks @vandan , This bug in metamask is effecting many web3.js v4 users, could you share with us when this will be fixed in metamask. According to EL Specs: https://github.com/ethereum/execution-apis/blob/main/src/schemas/transaction.yaml#L385 |
|
Hi @vandan, |
Above issue is still open and not fixed/merged into Ethereum Execution Layer Specs, also following now has
EL Specs has some JSON RPCs for wallet functions in case if any EL client want to expose wallet functionality ( like under Eth Personal API ), I'll suggest to allow |
Any update on this? Just found this via #21467 Context: I am building a tool to forward RPC calls to Metamask and I spent a while trying to figure out why this wasn't working as expected, and turns out the |
Describe the bug
https://docs.metamask.io/wallet/reference/eth_sendtransaction/
the metamask docs, send_transaction accepts
data
as calldata and notinput
within the transaction,according to the updated ethereum docs it should be accept
input
within a transaction for calldata.another thing:
metamask expects input on eth_call, but it expects data on eth_sendTransaction
Expected behavior
when web3js uses send_transaction,
input
is populated notdata
.a transaction with the
input
property should have callData populated in metamask, but does not.Screenshots
No response
Steps to reproduce
look at spec above or i can provide more details if neccesary
Error messages or log output
No response
Version
11.0
Build type
None
Browser
Firefox
Operating system
Windows, MacOS
Hardware wallet
No response
Additional context
would like to know your thoughts if u can change this to also accept
input
Severity
No response
The text was updated successfully, but these errors were encountered: