Skip to content

fix(ocr3_1): set consensus-queue defaults to plugin limits - #24263

Merged
MStreet3 merged 1 commit into
developfrom
consensus-queue-blob-limit-defaults
Nov 24, 2026
Merged

MStreet3 merged 1 commit into
developfrom
consensus-queue-blob-limit-defaults

Conversation

@MStreet3

Copy link
Copy Markdown
Contributor

Sets the consensus-queue default OCR limits to the values the reporting plugin in #24102 needs, so that PR can rebase onto develop without changing the defaults.

What changes

DefaultConsensusQueueOffchainConfig (added in #24260) left the blob limits at zero, which is fine for the stub plugin on develop. 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:

Limit Before After
MaxObservationBytes 256 KiB 512 KiB
MaxKeyValueModifiedKeys 1000 4
MaxKeyValueModifiedKeysPlusValuesBytes 4 MiB 10 MiB
MaxBlobPayloadBytes 0 5 MiB
MaxPerOracleUnexpiredBlobCumulativePayloadBytes 0 100 MiB
MaxPerOracleUnexpiredBlobCount 0 100

The 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/... in deployment passes.

@MStreet3
MStreet3 requested review from a team as code owners November 24, 2026 14:03
@github-actions

Copy link
Copy Markdown
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!

@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

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
MStreet3 force-pushed the consensus-queue-blob-limit-defaults branch from 7b54b75 to d4e8d96 Compare November 24, 2026 14:07
@MStreet3
MStreet3 changed the base branch from develop to CRE-6002-reporting-plugin-impl November 24, 2026 14:08
@MStreet3
MStreet3 requested review from a team as code owners November 24, 2026 14:08
@MStreet3
MStreet3 changed the base branch from CRE-6002-reporting-plugin-impl to develop November 24, 2026 14:10
@MStreet3
MStreet3 enabled auto-merge November 24, 2026 14:10
@MStreet3
MStreet3 added this pull request to the merge queue Nov 24, 2026
Merged via the queue into develop with commit 18596a9 Nov 24, 2026
339 of 343 checks passed
@MStreet3
MStreet3 deleted the consensus-queue-blob-limit-defaults branch November 24, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants