Closed jac18281828 closed 7 months ago
Attention: 4 lines
in your changes are missing coverage. Please review.
Comparison is base (
bb2c7d6
) 97.25% compared to head (fb93d06
) 97.24%.
Files | Patch % | Lines |
---|---|---|
lib/src/types/ethr.rs | 94.66% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks for the docs updates!
Is it possible that this could also stem from https://github.com/xmtp/didethresolver/pull/49?
Maybe worth a try resolving on that branch. I'm a little apprehensive towards the unsafe{}
but will have to take a closer look tomorrow
-- what did the issue actually turn out to be, is to_string_lossy
handling null bytes incorrectly?
Thanks for the docs updates!
Is it possible that this could also stem from #49?
Maybe worth a try resolving on that branch. I'm a little apprehensive towards the
unsafe{}
but will have to take a closer look tomorrow-- what did the issue actually turn out to be, is
to_string_lossy
handling null bytes incorrectly?
Yes, if it’s any consolation I felt the same way about unsafe but copied it directly from the example here so I thought it may be proper:
https://doc.rust-lang.org/std/ffi/struct.CStr.html
The nul bytes evidently confuse the parser. Perhaps they do not match the character class, anyway we should filter them somewhere.
We can discuss both prs tomorrow.
nice, odd bug glad you found it
closes #47