MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.11k stars 1.09k forks source link

[Bug]:When sending approve transaction with web3js, maxFeePerGas and maxPriorityFeePerGas are not applied. #8381

Open luisjang-wt opened 7 months ago

luisjang-wt commented 7 months ago

Describe the bug

When sending approve transaction with web3js, maxFeePerGas and maxPriorityFeePerGas are not applied.

I also contacted the community and will share the related link. link

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

try to run javascript code like under code

// calculate evm supported other network
const { maxFeePerGas, maxPriorityFeePerGas } = await calculateGasVariable(Constants.RPC_HTTP);

web3.eth.sendTransaction(
                {
                    from,
                    to,
                    value,
                    data,
                    gas,
                    maxFeePerGas,                //  applied when use desktop, but mobile not applied
                    maxPriorityFeePerGas,    //  applied when use desktop, but mobile not applied
                }
);

Error messages or log output

No response

Version

7.12.5

Build type

None

Device

iphone 13 pro

Operating system

iOS

Additional context

No response

Severity

No response

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.