skalenetwork/metaport

S2M transfers work unstable

yatsunastya opened this issue · 2 comments

Describe the bug
The issue isnt always reproducible, but sometimes happens. Its necessary to investigate the root cause and add some informative message for user in such case.

To Reproduce
Steps to reproduce the behavior:

  1. Create S(Europa hub)2M transfer
  2. Choose any amount of tokens (erc20)
  3. Click on Transfer
  4. See error

Screenshots

2023-10-04_17.19.40.mov

Desktop (please complete the following information):
OS: macOS - 13.0.1
Browser: chrome - 114.0.5735.198
Metaport Version - 2.0 develop

Checked ✅
Version: 2.0.0-develop.3

The problem is connected with messages rate limit which is set on the contract (it's 5 min on Legacy network). So you can send only one S2M transfer during this time.
Now informative message is displayed in case of Exceeding this limit.

Image