Closed esigra closed 1 year ago
Ton “transaction” is a much more complex concept that does not mean quite what we are used to in other blockchains.
In ton, “transaction” is an act of communication between multiple smart-contracts. Communication between contracts is done with in- and out- messages. Since each participating contract operates different set of messages (e.g. "out" message for sender is "in" message for receiver), every user “action” (e.g. money transfer) results in multiple transactions with different hashes.
In your example, the money transfer between death.ton and the other address involves two smart-contracts and produces two transactions:
https://tonscan.org/tx/GrSUpDpt2sM-rLpfo_eVW9qmgjLFUzUKm-XAETQr2hg= https://tonscan.org/tx/UMfdOk_HIxyzgqiPBv2I40Am60dSd9fnDpGg5xZWmXQ=
This also means that in ton everyone pays a fee, even the receiving party (wallet received message - had to process it - pays computation fee). Just the fee that is payed by the current address is displayed in transaction table.
Bug Type
UX
Reproduction steps
Actual result
Different fees are shown for the same transaction.
Expected result
It seems like tonscan shows two different fees for every transaction (even for the simplest form of transaction; from one wallet to another), as if one is what the sender pays and the other is what the recipient pays. But people say that only the sender pays transaction fee. Maybe they lie?
If only the sender pays for a transaction, show the same fee no matter where the transaction is shown.
If both sender and receiver pays for a transaction, make that clear in the user interface. Maybe a tooltip when the mouse cursor is over the word "Fee", showing the text "Paid by sender" or "Paid by recipient". (Just make sure that the tooltip does not get in the way if the user tries to select and copy the fee amount.)
Suggested Severity
Medium
Device
Browser in Microsoft Windows or Linux.
Additional Context
No response