Skip to content

op-challenger: route large-preimage uploads only for keccak keys#19168

Merged
ajsutton merged 1 commit intodevelopfrom
aj/lpp-only-develop
Feb 12, 2026
Merged

op-challenger: route large-preimage uploads only for keccak keys#19168
ajsutton merged 1 commit intodevelopfrom
aj/lpp-only-develop

Conversation

@ajsutton
Copy link
Contributor

Description

The split preimage uploader previously chose the “large preimage proposal” path purely by preimage size. That path is keccak-only on-chain (it finalizes by writing a 0x02-prefixed key), so routing large sha256/blob/precompile preimages there could never satisfy the requested oracle key/offset.

To fix this we update routing to only use the large uploader for non-local Keccak256KeyType preimages.

Tests

Updated unit tests.

The split preimage uploader previously chose the “large preimage proposal”
path purely by preimage size. That path is keccak-only on-chain
(it finalizes by writing a 0x02-prefixed key), so routing large
sha256/blob/precompile preimages there could never satisfy the
requested oracle key/offset.

To fix this we update routing to only use the large uploader for
non-local Keccak256KeyType preimages.
@ajsutton ajsutton requested review from a team as code owners February 12, 2026 03:03
@ajsutton ajsutton requested a review from pauldowman February 12, 2026 03:03
Copy link
Contributor

@Inphi Inphi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve of this change.

@ajsutton ajsutton enabled auto-merge February 12, 2026 03:08
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.6%. Comparing base (82e860c) to head (2cf7a81).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #19168     +/-   ##
==========================================
+ Coverage     76.3%    81.6%   +5.3%     
==========================================
  Files          188      133     -55     
  Lines        10946     6916   -4030     
==========================================
- Hits          8360     5650   -2710     
+ Misses        2440     1266   -1174     
+ Partials       146        0    -146     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests 81.6% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 55 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ajsutton ajsutton added this pull request to the merge queue Feb 12, 2026
Merged via the queue into develop with commit e7fcac9 Feb 12, 2026
80 checks passed
@ajsutton ajsutton deleted the aj/lpp-only-develop branch February 12, 2026 06:57
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.

2 participants