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: more efficient validation complete deposit contract calls #1436

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

djordon
Copy link
Collaborator

@djordon djordon commented Feb 25, 2025

Description

Closes #1299

Changes

  • Use the stacks node for information about whether a deposit has been completed.
  • Use a more efficient query when validating deposits.

Testing Information

This PR adds a new integration test for the separated condition, before it was unchecked explicitly by any of our tests.

Checklist:

  • I have performed a self-review of my code

@djordon djordon added the sbtc signer binary The sBTC Bootstrap Signer. label Feb 25, 2025
@djordon djordon added this to the sBTC: Withdrawal fine tuning milestone Feb 25, 2025
@djordon djordon self-assigned this Feb 25, 2025
Copy link
Collaborator

@Jiloc Jiloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a comment update, but the logic change lgtm

@djordon djordon mentioned this pull request Feb 26, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sbtc signer binary The sBTC Bootstrap Signer.
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

[Feature]: More efficient validation of complete-deposit contract calls
3 participants