Skip to content

Conversation

@chfast
Copy link
Member

@chfast chfast commented Jul 24, 2025

This implements EIP-7918.

@codecov
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.14%. Comparing base (4da5fb9) to head (20dbfc8).
Report is 3 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@ ## master #1281 +/- ## ======================================= Coverage 87.14% 87.14% ======================================= Files 166 166 Lines 24622 24633 +11 Branches 4054 4055 +1 ======================================= + Hits 21456 21467 +11  Misses 532 532 Partials 2634 2634 
Flag Coverage Δ
eest-develop 17.80% <35.71%> (+<0.01%) ⬆️
eest-develop-gmp 15.80% <0.00%> (-0.01%) ⬇️
eest-eof 2.52% <0.00%> (-0.01%) ⬇️
eest-fusaka 12.33% <57.14%> (+0.03%) ⬆️
eest-legacy 11.32% <35.71%> (+<0.01%) ⬆️
eest-legacy-silkpre 17.81% <0.00%> (-0.01%) ⬇️
eest-static 18.85% <35.71%> (+<0.01%) ⬆️
evmone-unittests 83.66% <50.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 93.38% <100.00%> (+<0.01%) ⬆️
tooling 88.35% <100.00%> (+0.03%) ⬆️
tests 84.06% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
test/blockchaintest/blockchaintest_runner.cpp 77.69% <100.00%> (+0.25%) ⬆️
test/state/block.cpp 93.75% <100.00%> (+0.41%) ⬆️
test/state/block.hpp 100.00% <ø> (ø)
test/statetest/statetest_loader.cpp 94.86% <100.00%> (+0.03%) ⬆️
...est/unittests/statetest_loader_block_info_test.cpp 71.79% <100.00%> (+0.10%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@chfast chfast force-pushed the osaka/eip7918_blob_base_fee branch 2 times, most recently from 44c0e2e to b29380b Compare July 24, 2025 11:28
@chfast chfast changed the title Mofidy blob base fee calculation for Osaka (EIP-7918) Modify blob base fee calculation for Osaka (EIP-7918) Jul 24, 2025
@chfast chfast force-pushed the osaka/eip7918_blob_base_fee branch from b29380b to 20dbfc8 Compare July 24, 2025 18:08
@chfast chfast requested a review from Copilot July 24, 2025 18:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements EIP-7918 to modify blob base fee calculation for the Osaka fork. The change introduces a new mechanism for calculating excess blob gas that considers the relationship between blob base cost and transaction fees.

  • Updates calc_excess_blob_gas function to include parent base fee and blob base fee parameters
  • Implements Osaka-specific logic that adjusts excess blob gas calculation when blob base cost exceeds a threshold
  • Updates test cases and CI configuration to accommodate the new blob fee calculation

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/state/block.hpp Updates function signature to include parent base fee and blob base fee parameters
test/state/block.cpp Implements EIP-7918 logic with Osaka-specific blob gas calculation
test/statetest/statetest_loader.cpp Updates test loader to pass additional parameters for new calculation
test/unittests/statetest_loader_block_info_test.cpp Adds parent base fee field to test data
test/blockchaintest/blockchaintest_runner.cpp Updates blockchain test runner to use new function signature
circle.yml Removes test filter that was excluding EIP-7918 tests
@chfast chfast merged commit 945b8a0 into master Jul 24, 2025
25 checks passed
@chfast chfast deleted the osaka/eip7918_blob_base_fee branch July 24, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants