-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add delivered amount to GetAccountTransactionHistory responses #3370
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #3370 +/- ##
===========================================
- Coverage 70.23% 70.23% -0.01%
===========================================
Files 683 683
Lines 54630 54634 +4
===========================================
+ Hits 38370 38372 +2
- Misses 16260 16262 +2
Continue to review full report at Codecov.
|
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'm not very good at reading the gRPC/proto calls but, from what I can make out, the code makes the intended change. I also verified the unit test change by reverting the AccountTx.cpp changes and seeing the unit test fail. As far as I can tell this change is good to go 👍
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.
Left one nit, but 👍 regardless of what you decide to do about that.
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.
My comments are all minor preferences.
2590960
to
bdb1b26
Compare
Rebased and squashed |
@thejohnfreeman I implemented all of your minor preferences |
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.
Left a few additional comments that you can address however you want. 👍 no matter what you decided to do with them.
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.
👍 Left one minor nit, but looks good to me, particularly with the changes that @thejohnfreeman and @seelabs recommend.
bdb1b26
to
57d7a61
Compare
57d7a61
to
b0addb9
Compare
Addressed final comments. Rebased and squashed again. |
@seelabs @thejohnfreeman @scottschurr Can someone approve this and add a passed label, if everything looks good? I'm finished making 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.
Re-reviewed latest patches. Still 👍 from me.
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.
👍
The delivered_amount field was not being populated when calling GetAccountTransactionHistory. In contrast, the delivered_amount field was being populated when calling GetTransaction. This change populates delivered_amount in the response to GetAccountTransactionHistory, and adds a unit test to make sure the results delivered by GetTransaction and GetAccountTransactionHistory match each other.
This change is