-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fix Maker fees & Document fees workflow. #355
Conversation
fee00c0
to
13f8bb4
Compare
This involves: - Docmentation about fee workflow for every IT. - Refactor the IT's as almost IT's uses same code -> thus created some api's to reduce redundancy. - Fix some bugs in calculating coinswap fees.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #355 +/- ##
==========================================
- Coverage 73.43% 73.04% -0.40%
==========================================
Files 33 33
Lines 4134 4107 -27
==========================================
- Hits 3036 3000 -36
- Misses 1098 1107 +9 ☔ View full report in Codecov by Sentry. |
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!!. I love the new claulation tables in the test. Just some more changes and nits and this is good to go.
src/maker/handlers.rs
Outdated
&& total_funding_amount < self.wallet.read()?.store.offer_maxsize | ||
// TODO: Taker must not be allowed to send the amount beyond this range? | ||
// why can't it be <= ? |
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.
It can be.
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.
I think it would be <=
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
This pr is an extension of #312 which aims to :