fix: batch pre-Boole post-consensus sync contributions - #1208
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## unstable #1208 +/- ##
============================================
+ Coverage 65.42% 66.54% +1.12%
============================================
Files 164 165 +1
Lines 28075 28450 +375
============================================
+ Hits 18367 18933 +566
+ Misses 9708 9517 -191
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
690c083 to
21746a0
Compare
|
@claude, please take a look |
|
Claude finished @shane-moore's task in 12m 33s —— View job Review: fix: batch pre-Boole post-consensus sync contributions
I reviewed the full production diff and the tests. This is a clean, well-structured change that reuses the type-3 batch machinery from #1201 for the type-0 (post-consensus) path. I found no blocking issues. Notes below. What holds up well
Observations (non-blocking)
I was unable to run |
|
@claude Verified your observations against the branch. Two corrections and one addition, no code changes from this review.
|
|
Claude finished @shane-moore's task in 1m 6s —— View job Re: verification notesAll three points check out against the branch. Confirmed each in code: 1. Impostor path confirmed no-I/O: 2. Identical-descriptor property is structural — agreed. 3. Root injectivity per subnet confirmed in code. No code changes requested or made. My original review's conclusions stand with these three refinements. |
Problem, Evidence, and Context (Required)
wrong expected roots count.Change Overview (Required)
Contributions, sorted by subnet and root with identical entries retained as multiplicity.Pending/Admittedsingle-validator batch for post-consensus messages, isolated from type 3 by phase and keyed by exact signing root.validator_storepreparation first, thensignature_collectoradmission and retry behavior.Risks, Trade-offs, and Mitigations (Required)
Validation (Required)
unstable. The only conflicts were invalidator_storetest scaffolding added by feat(validator_store): add configurable proposer delay for MEV bids #1213, so the harness constructor now takes both a proposer delay and a mock consensus decider.git range-diffconfirms the production diff is unchanged from the validated candidate.git diff --check,make cargo-fmt-check,make lint, and release tests covering 56validator_store, 33signature_collector, and 57message_validatorcases.Rollback (Required for behavior or runtime changes; optional otherwise)