Conversation
Adds parallel OCR3_1 implementation alongside the existing OCR3 plugin so the CRE consensus DON can move bulk observation payloads onto blobs (>512
KiB customer payloads no longer fit under OCR3_1's halved cap).
- New files: factory_ocr3_1.go, ocr3_1.go, reporting_plugin_ocr3_1.go (+ test). End-to-end blob path wired (Observation broadcasts,
ValidateObservation parses handles, StateTransition fetches with materializeBlobs).
- Versioned KV via OutcomeEnvelope{Version:1}; reads reject unknown versions.
- Deterministic encoder tiebreak fix (count desc, sha asc) for the OCR3 map-iteration bug.
- Proto extended: BlobbedObservation, OutcomeEnvelope, plus 7 OCR3_1-only ReportingPluginConfig fields including the three mandatory blob/KV
rate-limits.
- libocr bumped to v0.0.0-20260403184524-b6409238958d to align with chainlink. Canonical names: ReportingPluginInfo1, KeyValueStateReader/ReadWriter,
*Bytes limit fields.
- Verified: go build/vet/test ./... clean (294 packages).
✅ API Diff Results -
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OCR3_1 scaffold for the CRE production consensus
plugin. Second OCR3_1 user after Vault. Motivated by a customer blocked on >512 KiB observation payloads. Plan + rollout: see internal OCR3_1
migration plan, Part 7/10. Verified locally: go build/vet/test ./... clean. Do not merge until: (1) integration tests cover the OCR3_1 path, (2)
preflight item 4 (libocr blob durability across restart) is answered.