Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the bridge stops working when the locked value of vault is less than the transfered value #20

Open
KarlChristomer opened this issue Sep 20, 2022 · 0 comments

Comments

@KarlChristomer
Copy link
Collaborator

Describe the bug briefly

reproduce the risk by following steps:

  1. always transfer in a single direction from BSC/ETH to VITE, resulting in the vault locked in vite contract become nearly ZERO

Information

  1. Transfer was failed after the third relay has approved the hash. blockscan
    image

  2. Once the transfer failed, the subsequent transfers will always fail. Logs in Relay

[eth->vite] unconfirmed input {
  height: 22998003,
  txIndex: 4,
  logIndex: 1,
  channelId: '0',
  index: 4,
  inputHash: '0x449a808aac40add4d1623c7252d3948f9c65313197a32bd8436214450f75ea83',
  dest: '0x4f06034504efae85deb8a1ce77f38447005a430c00',
  value: '100000000000000000'
}
output index error 2 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant