Repository navigation
fix(ocr3_1): set consensus-queue defaults to plugin limits - #24263
Merged
Merged
Conversation
Contributor
|
👋 MStreet3, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
product-security-plaid-production
Bot
requested review from
chudilka1 and
giogam
November 24, 2026 14:04
Contributor
|
✅ No conflicts with other open PRs targeting |
The consensus-queue defaults left every blob limit at zero. The reporting plugin broadcasts trigger events as blobs and needs blob quotas that hold a full observation, so DONs deployed with the defaults could not run it. Use the plugin's limits as the defaults: 512 KiB observations, 4 modified keys, 10 MiB of keys plus values, 5 MiB blobs, 100 unexpired blobs and 100 MiB of unexpired blob payload per oracle. Refs: CRE-6011
MStreet3
force-pushed
the
consensus-queue-blob-limit-defaults
branch
from
November 24, 2026 14:07
7b54b75 to
d4e8d96
Compare
MStreet3
changed the base branch from
develop
to
CRE-6002-reporting-plugin-impl
November 24, 2026 14:08
MStreet3
changed the base branch from
CRE-6002-reporting-plugin-impl
to
develop
November 24, 2026 14:10
MStreet3
enabled auto-merge
November 24, 2026 14:10
jmank88
approved these changes
Nov 24, 2026
george-dorin
approved these changes
Nov 24, 2026
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.
Sets the consensus-queue default OCR limits to the values the reporting plugin in #24102 needs, so that PR can rebase onto
developwithout changing the defaults.What changes
DefaultConsensusQueueOffchainConfig(added in #24260) left the blob limits at zero, which is fine for the stub plugin ondevelop. The plugin in #24102 broadcasts trigger events as blobs and rejects a config whose blob quotas can't hold a full observation.The defaults now match #24102's
consensus-queue.tmpl:MaxObservationBytesMaxKeyValueModifiedKeysMaxKeyValueModifiedKeysPlusValuesBytesMaxBlobPayloadBytesMaxPerOracleUnexpiredBlobCumulativePayloadBytesMaxPerOracleUnexpiredBlobCountThe test for the defaults now checks the decoded values as well as that they decode.
#24102's plugin-specific checks (blob quotas hold a full observation, modified keys cover the keys written each round) depend on constants that only exist in #24102. They move onto the registry-decoded limits as part of #24102's rebase, not here.
Breaking changes
None. Consensus-queue hasn't been deployed from the registry yet, and Local CRE picks up the new defaults automatically.
Requires
None.
Supports
Deployment Validation Steps
go test ./cre/ocr3/ocr3_1/...indeploymentpasses.