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

[Feature]: Handling of withdrawals with unreasonably low max_fee #1292

Open
matteojug opened this issue Jan 30, 2025 · 0 comments
Open

[Feature]: Handling of withdrawals with unreasonably low max_fee #1292

matteojug opened this issue Jan 30, 2025 · 0 comments

Comments

@matteojug
Copy link
Collaborator

Feature - Handling of withdrawals with unreasonably low max_fee

1. Description

When creating a withdrawal, the user can specify a max fee they are willing to pay for it to be completed. In case the signers cannot complete the withdrawal spending less than the specified amount, the should at some point reject the withdrawal.

We currently don't have any constraint on the smart contract side on the max_fee, so it's possible for user to create withdrawal requests with unreasonable max fee (eg, setting it to zero). This may cause the signers to waste fees in rejecting it, or just ignore the request indefinitely (based on the signers implementation).

This ticket is to consider how/if we want to handle this issue.

@matteojug matteojug added this to sBTC Jan 30, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in sBTC Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant