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

feat: allow collateral top-ups #187

Open
emizzle opened this issue Oct 4, 2024 · 0 comments
Open

feat: allow collateral top-ups #187

emizzle opened this issue Oct 4, 2024 · 0 comments
Labels
Marketplace See https://miro.com/app/board/uXjVNZ03E-c=/ for details

Comments

@emizzle
Copy link
Collaborator

emizzle commented Oct 4, 2024

During a started request, SPs may be slashed if they miss enough proofs. Currently, there is no way for them to top up their collateral so they are in a "full collateral" state. This weakens the security of the protocol.

Collateral for started requests should be allowed to be topped up, with the following constraints:

  1. The contract must be started
  2. The collateral cannot exceed the total collateral required for the request
  3. A valid storage proof must be submitted in the transaction to top up the collateral
@emizzle emizzle added the Marketplace See https://miro.com/app/board/uXjVNZ03E-c=/ for details label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Marketplace See https://miro.com/app/board/uXjVNZ03E-c=/ for details
Projects
None yet
Development

No branches or pull requests

1 participant