json+struct: padding bytes and no C code#3440
json+struct: padding bytes and no C code#3440petrelharp wants to merge 1 commit intotskit-dev:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3440 +/- ##
==========================================
- Coverage 91.92% 91.90% -0.02%
==========================================
Files 37 37
Lines 32153 32095 -58
Branches 5143 5135 -8
==========================================
- Hits 29556 29498 -58
Misses 2264 2264
Partials 333 333
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
5363644 to
3d0f794
Compare
bhaller
left a comment
There was a problem hiding this comment.
stopping for now since I suspect I'm somehow looking at the wrong diffs
|
elsewhere @bhaller points out that
I don't think having the length of the binary bit be divisible by 4 is a problem, since the number of padding bytes is determined by the length of the JSON (which comes first). I'll add a few more string lengths to make sure we hit everything. |
9323072 to
bbe839f
Compare
bhaller
left a comment
There was a problem hiding this comment.
LGTM, thanks for the revisions. Note the two comments that maybe you missed, but they are trivial so there's no need to hold things up for them. :->
bbe839f to
dee7859
Compare
This differs from #3437 in that:
My intention is that we deal with the python and C code separately, so this supercedes #3437. My proposal for the C side of things is in #3439.