Summary:
When bridging assets on the IoTeX Bridge (bridge.iotex.io), clicking the MAX button fails to populate the input field with the maximum available balance (0.3498 IOTX, as per the screenshot) and instead incorrectly triggers a validation error message: "β Please enter a valid amount".
Impact:
This issue prevents the user from quickly initiating a maximum-amount transfer, disrupting the intended workflow of the bridge UI. The error message is misleading, as the input field is not being validated against the user's input, but rather against a failure to populate the maximum value correctly.
Classification:
Type: Functionality/User Interface Error
CWE: CWE-440 (Expected Behavior Violation)
Navigate to the IoTeX Bridge: https://bridge.iotex.io
Ensure the connected wallet has a small, non-zero balance of IOTX (e.g., 0.3498 IOTX).
Set the bridging pair (e.g., IoTeX Network to Polygon).
Click the MAX button next to the amount input field.
Observed Result β:
The amount input field remains at 0.
The error message "β Please enter a valid amount" immediately appears below the input field.
Expected Result β :
The amount input field should be populated with the maximum available balance, minus any necessary gas fees (e.g., 0.3498 or the true maximum spendable amount).
No error message should appear.
The MAX button logic should be debugged to ensure it correctly calculates the maximum available balance (taking into account network gas fees for the bridge transaction) and populates this value into the amount input field. The validation check should only be run after the field is correctly populated or on user input.
Wallet Address: io1tkw393kejmxwnd454twc6020sxcyvh5dxqmren
Device & Environment:
-Operating system: Windows 11 Pro
-Device model: A520MHP
Please authenticate to join the conversation.
Completed
New Issue
3 months ago

cryptotestnet
Get notified by email when there are changes.
Completed
New Issue
3 months ago

cryptotestnet
Get notified by email when there are changes.