-
Notifications
You must be signed in to change notification settings - Fork 9
STR-406 Implement deposit duty and other RPCs #320
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
STR-406 Implement deposit duty and other RPCs #320
Conversation
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## master #320 +/- ##
==========================================
+ Coverage 60.61% 61.08% +0.46%
==========================================
Files 211 213 +2
Lines 22587 23033 +446
==========================================
+ Hits 13692 14070 +378
- Misses 8895 8963 +68
|
6dfffff
to
2042d44
Compare
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.
Some organizational comments.
37851f9
to
db6bc1f
Compare
db6bc1f
to
e1364a5
Compare
@Rajil1213 since you're touching that part of the codebase |
That shouldn't take long. Will do that tonight and hopefully get this one merged so that it unblocks some of the work in the bridge client binary. CC: @delbonis |
48b1a9b
to
a7684ed
Compare
@Rajil1213 No we can wait on that, although there should be a functional test for handling deposits. Could split out |
Ah wait but crap that's blocked on the other PR too. |
e93b954
to
bb597a5
Compare
@storopoli I think this needs a final round of reviews and then it can be merged. The deposit duty rpc is there so the bridge client binary can work off of that. The withdrawal would be similar and will be done via a separate PR. I've updated some of the inner workings in this PR so that:
|
Dismissing stale review based on latest changes.
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.
If the tests are sorted out then I think we can merge this right?
85cd7bc
to
c41d68e
Compare
c41d68e
to
e9eab54
Compare
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.
ACK
e9eab54
Description
This PR:
L1Db
after a certain index.bitcoind_network
as a field inAlpenRpcImpl
(this might not be the right place for it).Error
enum from thesequencer/rpc_server
and introduces anextractor
module to make it slightly more manageable/testable.TODO
(but these are also being done in STR-376: create the machinery around polling and execution of bridge duties v2 #293 so might not do it here).block_height
along with the duties so that the bridge client can update their state.Type of Change
Checklist
Related Issues
Closes STR-406
Closes STR-428