Open thongnhatgraphic opened 5 months ago
Same issue to me. I tried to manually install a previous Version 11.12.4, and it work normally.
Need to confirm that the issue can be reproduced.
A work around could be using window.ethereum.request
instead
window.ethereum
.request({
method: 'eth_sendTransaction',
// The following sends an EIP-1559 transaction. Legacy transactions are also supported.
params: [
{
from: account,
to: address,
value: web3.utils.toHex(web3.utils.toWei(amount.toString())),
gasPrice,
gasLimit: '0x5028',
// Customizable by the user during MetaMask confirmation.
maxPriorityFeePerGas: '0x3b9aca00',
// Customizable by the user during MetaMask confirmation.
maxFeePerGas: '0x2540be400',
},
],
})
@vandan we're witnessing this issue as well, it is reproduceable on newer versions of Metamask for a certain set of calldata (also on sendTransaction
)
Describe the bug
I have a source code in nodejs. Client send request buyNft to nodeJs. NodeJs had encodeAbi function buyNft and respon rawFunction to Client. After that, Client receive rawFunction buyNft in responsive of api, client use rawFunction buyNft put into web3.eth.sendTransaction({ data:rawFunction, gas, from, to, value,... }). afterward extension metamask don't open, and show error message. Please tell me this issue where come from?. I tried rpc in infura.io but it not work effectively
Expected behavior
Open extension metamask
Screenshots/Recordings
Steps to reproduce
Error messages or log output
Version
11.13.1
Build type
None
Browser
Chrome
Operating system
Windows
Hardware wallet
No response
Additional context
No response
Severity
My project is working on production