This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Description
Title/Description
Dispalyed tx fee is wrong on the tx modal.
Seems like only safeTxGas is taken into account, not the Ethereum gas limit.
Environment
Steps to reproduce
- Create a tx (I did an ERC20 transfer)
- Collect signatures
- Execute
- Check advanced params before executing.
Expected result
Ethereum gas limit * gas price (in GWei) / 1e9 = Tx fee i.e. 0.025828 in my example.
Obtained result
0.01081 ETH is displayed.
It seems like only the safeTxGas is taken into account here. However it should really the Ethereum gas limit that's taken into account.
The Metamask calculation is correct. I expect that Metamask calculation to be in sync with our tx fee calculation.
Screenshots


Rating this as major since it's about displaying how much funds are spent, max.