Skip to content

Conversation

@nonsense
Copy link
Contributor

This PR is adding a BlobGasPriceOracle, similar to the GasPriceOracle in go-ethereum.

This oracle makes a newHeads subscription, and processes all new blocks and headers and builds an in-memory cache of blob prices, so that it can suggest competitive blob fee cap values to the transaction manager.

Fixes: #18102

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.58%. Comparing base (8243561) to head (cd564f4).

❗ There is a different number of reports uploaded between BASE (8243561) and HEAD (cd564f4). Click for more details.

HEAD has 9 uploads less than BASE
Flag BASE (8243561) HEAD (cd564f4)
cannon-go-tests-64 5 1
contracts-bedrock-tests 5 0
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #18386      +/-   ##
===========================================
- Coverage    75.20%   66.58%   -8.63%     
===========================================
  Files          187       55     -132     
  Lines        11197     4031    -7166     
===========================================
- Hits          8421     2684    -5737     
+ Misses        2630     1203    -1427     
+ Partials       146      144       -2     
Flag Coverage Δ
cannon-go-tests-64 66.58% <ø> (-0.82%) ⬇️
contracts-bedrock-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 137 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.

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.

op-batcher/txmgr: Blob priority fee tracking

2 participants