status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.91k stars 984 forks source link

`Recepient gets` value is sometimes rounded which leads to showing not pericise estimated get amount for bridge transaction #21580

Open pavloburykh opened 2 weeks ago

pavloburykh commented 2 weeks ago

Originally reported here cc @clauxx

Steps:

  1. Build L1 - L2 (opt) routes
  2. Pay attention at Recepient gets and compare it to the real value which user will receive taking into consideration boundary fee

Expected result: Recepient gets show the percised amount taking into consideration boundary fee

Actual result: in case when boundary fee is very low, we round Recepient gets value so it is not reflecting the pericised get amount.

photo_2024-11-01 14 12 26

Additional Information