threefoldtech / tfgrid-sdk-ts

Apache License 2.0
4 stars 8 forks source link

🐞 [Bug]: Transfer amount validation #3409

Open amiraabouhadid opened 1 week ago

amiraabouhadid commented 1 week ago

Is there an existing issue for this?

which package/s did you face the problem with?

Dashboard

What happened?

check what the minimum transfer amount is taking into mind the transfer fees. test lodge test case says transfer fees is 0.01 so shouldn't the minimum transfer amount be more than 0.01 to account for the transfer fees?

Steps To Reproduce

  1. go to transfer page
  2. enter 0.01 in transfer amount field
  3. watch validation pass

which network/s did you face the problem on?

Dev

version

current

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

image

Relevant log output

n/a
maayarosama commented 6 days ago

check that the amount to transfer + 0.01 transfer fees is covered by the balance

maayarosama commented 5 days ago

Amount to transfer + transfer fees is always validated against the balance Screenshot from 2024-09-23 14-29-41 Screenshot from 2024-09-23 14-32-06 Screenshot from 2024-09-23 14-36-56 Screenshot from 2024-09-23 14-38-41

A-Harby commented 3 days ago

The transfer amount validation is the balance + maximum fee (which is 0.01).

Screencast from 2024-09-25 13-46-15.webm

TC2293 - Transfer TFT By Twin Address