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

Store deposit requests txs when extracted #628

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

matteojug
Copy link
Collaborator

Description

Closes: #625

Changes

In extract_deposit_requests, we store the bitcoin tx for deposit requests (both the bitcoin tx and the "raw" TransactionType::DepositRequest tx).
Also added the write_transaction call in write_bitcoin_transactions and write_stacks_transactions for in memory storage impl, as done by the pg one.

Testing Information

Added a check on an existing test, and tested on the integration test in #609.

Checklist:

  • I have performed a self-review of my code

Copy link
Contributor

@djordon djordon left a comment

Choose a reason for hiding this comment

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

Looks good ✅!

signer/src/block_observer.rs Show resolved Hide resolved
@matteojug matteojug merged commit d8e9dc9 into main Oct 8, 2024
4 checks passed
@matteojug matteojug deleted the feat/store-deposit-req-tx branch October 8, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Feature]: Store deposit request transactions
3 participants