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

Remove griefing collateral from mandatory replace request #1182

Open
nakul1010 opened this issue Aug 24, 2023 · 1 comment
Open

Remove griefing collateral from mandatory replace request #1182

nakul1010 opened this issue Aug 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@nakul1010
Copy link
Member

Is your feature request related to a problem? Please describe.

Presently, when the old_vault initiates a redeem::request_replace action, it locks griefing collateral using the request_vault_issue call within redeem::request_replace. This seems unnecessary since the old_vault has already locked collateral, known as backing collateral, which can be used as griefing collateral. This additional collateral requirement places an undue burden on the old_vault.

Describe the solution you'd like

The preferred solution is to refrain from locking collateral in the old_vault during the redeem::request_replace process. Instead, if the old_vault fails to submit the BTC transaction before the expiry, the backing collateral should be slashed.

Describe alternatives you've considered

An alternative solution, which is currently implemented, involves locking extra collateral through the request_vault_issue call.

Additional context

The original issue was discussed in this comment.

@nakul1010 nakul1010 added the enhancement New feature or request label Aug 24, 2023
@nud3l nud3l added this to Backlog Aug 24, 2023
@github-project-automation github-project-automation bot moved this to New 🆕 in Backlog Aug 24, 2023
@nakul1010
Copy link
Member Author

nakul1010 commented Aug 25, 2023

Dry Run for removing griefing collateral

RemoveGriefingCollateral

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: New 🆕
Development

No branches or pull requests

1 participant