-
Notifications
You must be signed in to change notification settings - Fork 5
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: sign and broadcast Stacks transactions #617
base: main
Are you sure you want to change the base?
feat: sign and broadcast Stacks transactions #617
Conversation
Is there a separate ticket for this? |
No not yet. There are a few TODOs in this PR that I need to turn into outstanding tickets, this was just one of them. |
complete-deposit
transactions40100f8
to
70da07f
Compare
1facab7
to
e75104f
Compare
Created ticket to track the lack of integration tests here: #630 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some nits, so far LGTM.
transaction sign request object
TxSignerEventLoop
you are the only signer
386bc86
to
c07d85c
Compare
better logging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general
Bitcoin: BitcoinInteract + Clone + Send + Sync, | ||
Stacks: StacksInteract + Clone + Send + Sync, | ||
Emily: EmilyInteract + Clone + Send + Sync, | ||
Storage: DbRead + DbWrite + Clone + Sync + Send + 'static, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was it that made these all need to be 'static?
@djordon can you lay out the test plan so that @matteojug can take it? |
…gn-stacks-response-transactions
Description
Closes #616.
Note that we purposefully skip validation for now, but it should be relatively straightforward to hook up.
Changes
&'static
, which they all are. This was needed for borrow checker.StacksTransactionSignRequest
. We can probably remove the digest from that type, we will do that later.This PR needs some polish and some tests.
Testing Information
The main test that is needed is that the transaction coordinator broadcasts a signed
complete-deposit
transaction for a deposit request with a sweep transaction on bitcoin.Checklist: