Closed str4d closed 1 year ago
Patch coverage: 100.00
% and project coverage change: -0.37
:warning:
Comparison is base (
3619b86
) 83.42% compared to head (90e64cb
) 83.06%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Codecov Report
Patch coverage:
100.00
% and project coverage change:-0.37
⚠️Comparison is base (
3619b86
) 83.42% compared to head (90e64cb
) 83.06%.Additional details and impacted files
umbrella View full report in Codecov by Sentry. 📢 Do you have feedback about the report comment? Let us know in this issue.
Looking at the full report, it's actually an increase in coverage — which makes sense, because we previously had a error case that wasn't reachable. I think the reported overall decrease is due to nondeterminism.
The consistency check between
esk
andephemeral_key
is checked insidezcash_note_encryption::try_output_recovery_with_ock
, and the requirement to check it inside theDomain
implementation is being lifted in zcash/librustzcash#848.Removing the check here improves performance, both because we avoid an extra scalar multiplication from
esk.derive_public()
, and because we avoid an unnecessaryspec::diversify_hash()
call which is expensive for Orchard.