Wallet doesn't correctly show amount of tokens to be transferred when unstaking from Rocketpool or bridging from Polygon #25755
Labels
feature/web3/wallet/core
feature/web3/wallet/simulation
Transaction and message simulations
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Desktop
priority/P4
Planned work. We expect to get to it "soon".
QA Pass-Win64
QA/Yes
release-notes/include
Milestone
Description
When attempting to unstake from Rocketpool (converting rETH to ETH), the wallet doesn't correctly show amount of tokens to be transferred. For example, if you try to unstake 0.3 rETH, Brave Wallet will display a confirmation dialog that shows the total amount to be transferred as
0 ETH + <gas fees>
instead of0.3 rETH + <gas fees>
.The same issue happens when bridging Ethereum from Polygon to the Ethereum Mainnet.
Steps to Reproduce
Rocketpool
0 ETH + <gas>
to be transferred, instead of the correct amount of rETH.Polygon Bridge
0 MATIC + <MATIC gas>
instead of the correct amount of wrapped ETH.Actual result:
Expected result:
Second screenshot should show
0.3 rETH + 0.00270736 ETH
underTotal
instead of0 ETH + 0.00270736 ETH
.Fourth screenshot should show
0.0567 WETH + 0.00126862 MATIC
underTotal
instead of0 MATIC + 0.00126882 MATIC
Reproduces how often:
Every time
Desktop Brave version:
1.44.101 Chromium: 106.0.5249.65 (Official Build) (64-bit)
Android Device details:
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: