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

CancelRedeem with reimburse set to true must slash collateral #108

Open
gupadhyaya opened this issue Jul 20, 2022 · 1 comment
Open

CancelRedeem with reimburse set to true must slash collateral #108

gupadhyaya opened this issue Jul 20, 2022 · 1 comment
Assignees

Comments

@gupadhyaya
Copy link
Contributor

For the vaults that have staked their collateral, the cancel redeem with reimburse=true will not slash the collateral. Add the logic to unstake the collateral and slash it.
Related LOC: https://github.com/harmony-one/onebtc/blob/main/contract/bridge/contracts/Redeem.sol#L151

@devalenya
Copy link

Hello pls help me with this...
I wanna deploy this repo to a different btc node... And I wanna ask this...

  1. where do I find installation steps for the bridge to eth...?
  2. this codes is it any BTC node to eth Bridge (or it can only work harmaony node)?
  3. does it have frontend?

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

3 participants