skalenetwork/metaport

Recharge Exit Gas Wallet transaction failed

yatsunastya opened this issue · 5 comments

Describe the bug
In case user is trying to send less than 0.005 eth to exit gas wallet, transaction fails with no informative message in metaport

To Reproduce
Steps to reproduce the behavior:

  1. Create S2M(Europa hub) transaction
  2. Click on Recharge Exit Gas Wallet
  3. Customise recharging amount to 0.001 and click on Recharge exit gas wallet
  4. Transaction fails and Metaport window is frozen for 2 min

Screenshots
Знімок екрана 2023-10-04 о 16 40 58

Desktop (please complete the following information):

  • OS: macOS - 13.0.1
  • Browser: chrome - 114.0.5735.198
  • Metaport Version - 2.0 develop

It's still possible to withdrow eth, even if there is 0 balance.

Знімок екрана 2023-10-09 о 15 50 34

Updated Community Pool logic:

Screenshot 2023-10-16 at 17 30 08 Screenshot 2023-10-16 at 17 42 18

checked ✅
version: 2.0.0-develop.3

Now it's not possible to recharge exit gas wallet less than 0.005 eth and informative message is displayed.
In case of 0 eth balance, there is no button "Withdraw all"

Image

But if no tokens exist on the chain, Exit Gas Wallet is still displayed. So it's necessary to remove it in such case.

Image

Checked ✅
Version: 2.0.0-develop.6

There is no Exit Gas Wallet for chains without tokens

Image