icon-project / icon-bridge

The centralized bridge of ICON
Apache License 2.0
21 stars 15 forks source link

fix(e2e): handle wrapped coin intra-chain transfer #798

Closed manishbista28 closed 1 year ago

manishbista28 commented 1 year ago

Overview

Issues:

  1. Intra chain token transfer for wrapped coins was not handled
  2. Hard-coded token names on few places
  3. Zero argument was passed to random number generator that caused the test process to panic. The zero argument was from the number of native tokens registered on a chain, which was zero.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Device Information

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional Context

Add any other context about the problem here.