-
Notifications
You must be signed in to change notification settings - Fork 98
Taker(api2): support manual maker selection #697
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
Conversation
Can you explain the changes that you made? |
|
Thanks for the review! To support this, I have: -Added validation so the number of selected makers must match maker_count -Ensured manually selected makers are present in the offerbook and not marked as bad. -Reused the existing GetOffer ->SwapDetails -> Ack flow without changing protocol logic. I tried to keep the change minimal and avoided touching unrelated logic. All builds and tests pass locally. |
3a25fca to
3ca9cf0
Compare
Are you sure that you've run the tests? Because the tests shouldn't compile with the changes that you've made. |
|
Sorry for the oversight earlier, I missed updating a few test files initially. Thanks! |
stark-3k
left a comment
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.
can you also add a test to check manual maker selection?
|
@stark-3k thanks for detailed feedback, I have started working on above issues and will update u ASAP.. |
|
Hi @stark-3k, |
Yes, the taker first discovers the makers the manual selection happens among the makers present in the offerbook |
3ca9cf0 to
bf78a26
Compare
|
Hi @stark-3k , Thanks |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #697 +/- ##
==========================================
+ Coverage 68.87% 78.17% +9.29%
==========================================
Files 35 49 +14
Lines 4932 15321 +10389
==========================================
+ Hits 3397 11977 +8580
- Misses 1535 3344 +1809 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bf78a26 to
8416560
Compare
a892fd8 to
c6d9fd3
Compare
Signed-off-by: Abhay349 <[email protected]>
c6d9fd3 to
f4a06ce
Compare
|
Closed this PR as this issue can be solved by major refactoring as discuused in meet. |
fixes- #695