-
Notifications
You must be signed in to change notification settings - Fork 8
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
Reproducing examples for the unexpected transfer history bug #3
Conversation
This is using an old RGB version. Today I plan to push updated code and merge the initiating PR, after that I'll let you know, so you can rebase this PR there to check the bug is still there. |
The tests from @zoedberg are merged so now you can re-base on 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.
@k0k0ne I've requested some changes. Also please remember to change the base branch of the PR to master
and squash your 3 commits into 1
6889265
to
a019ea1
Compare
I have modified the code as requested. Please check it. |
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.
@k0k0ne please see the requested changes
But @zoedberg do you confirm that the logic of the test is correct and there is a bug in the history showcased by the test? |
a019ea1
to
3d8538c
Compare
I have modified the code as requested. Please check it. |
The compilation fails due to Can you please make sure it compiles? Also running |
3d8538c
to
1c8e576
Compare
Without investing the time to dig deeper, it's not entirely clear to me what the test should achieve and what |
|
1c8e576
to
4b03cc3
Compare
As answered in private: @dr-orlovsky If there are other things you don't understand feel free to ask me Anyway, the
after point 1, the test checks that after point 4, the first check passes (it checks that wlt 1, the sender, has a
this is the part I'd like you to tell me if it's a bug or not, since it's still unclear to me what the method should return Speaking instead about the
after point 4, the test checks that the history is not empty (which succeeds) @k0k0ne the test passes so it's unclear what bug this test should show |
Wlt 2 never had 100000 assets and the only thing it ever had is 200 assets received. So this looks like a bug. But I'd like to see is this all of the history or maybe |
I confirm the bug, I am working on a fix. @k0k0ne thank you very much for providing the demonstration of the case. Please also let us know whether the second test demonstrate some other issue - or it is done just as a check |
The second test appears to be working after updating the environment (unlike with previous version). |
4b03cc3
to
6353b49
Compare
@k0k0ne I have fixed and rebased the code of this PR instead of asking for a rebase (since a lot of things changed and I didn't want to bother you), thanks for your contribution! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3 +/- ##
==========================================
+ Coverage 36.53% 37.20% +0.66%
==========================================
Files 279 279
Lines 42806 42806
==========================================
+ Hits 15641 15924 +283
+ Misses 27165 26882 -283
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
No description provided.