Closed cymqqqq closed 4 months ago
Attention: Patch coverage is 75.86207%
with 21 lines
in your changes missing coverage. Please review.
Project coverage is 17.6%. Comparing base (
1c5b910
) to head (7f637c6
). Report is 4 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
invoice/src/data.rs | 75.9% | 21 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Background: In the rgb21 contract, we have
error fractionOverflow "The amount of token fractions in outputs exceeds 1"
, so I think maybe we should have a check add/sub-operation to check if or not the owned fraction is overflow(or the other fraction checks for add/sub-operation), also we can make a change for the allocation. It's similar to the rgb20 amount.Description:
add
check_add
,check_sub
,check_addassign
,check_subassign
, and other methods for theOwnedfraction
.