skalenetwork/metaport

No message about faucet problem

yatsunastya opened this issue · 3 comments

Describe the bug
If there is no faucet on the chain and user is trying to get sFuel to their wallet, they don`t get any informative message about the error.

2023-10-04.15.42.24.mov

Desktop (please complete the following information):

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

New behavior: if faucet is not available for source or destination chain, the following text will be displayed:
Screenshot 2023-10-16 at 16 47 36

To reproduce:

Add any chain from the current network to the list of chains in the config (src/metadata/metaportConfigStaging.ts) after mainnet chain.

Also need to add your chain to connections section:

'chain-name': {},
...

Checked ✅
Version: 2.0.0-develop.3

Image