-
Notifications
You must be signed in to change notification settings - Fork 325
Conversation
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.
how many ef tests does this solve?
Also, I think that there is a place where the value is used to do early return and not add_transfer
, that should be fixed
you add a lot of comments I don't fell bring any value to the codebase.
In system operations, line 800, we handle transfer in CREATE, but adding an "if amount == 0" would probably disturb the references and result in revoked reference errors. Not sure how to handle this without an early return inside the add_transfer. But I agree this early return should probably not be used |
early return in that should then probably be removed since the |
8d6b86b
to
c0492e5
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.
I'm ok with the proposed changes in terms of code (though need to fix 2 tests). However I'm wondering if the proposed change implements the right behavior as it makes 30 ef-tests failing
Blocked by an update on the ef-test runner |
4f2b216
to
c05e37a
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #810 +/- ##
==========================================
+ Coverage 71.90% 72.11% +0.21%
==========================================
Files 47 47
Lines 6041 6040 -1
==========================================
+ Hits 4344 4356 +12
+ Misses 1697 1684 -13 ☔ View full report in Codecov by Sentry. |
Time spent on this PR: 0.2 day
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Resolves #795
What is the new behavior?