Skip to content

Conversation

@gurukamath
Copy link
Contributor

@gurukamath gurukamath commented Aug 15, 2025

What was wrong?

TARGET_BLOB_GAS_PER_BLOCK should be GAS_PER_BLOB * BLOB_SCHEDULE_TARGET. Having GAS_PER_BLOB and BLOB_SCHEDULE_TARGET as well as TARGET_BLOB_GAS_PER_BLOCK as independently defined constants creates 2 sources of truth and room for potential bugs

Related to Issue #1369

How was it fixed?

Define TARGET_BLOB_GAS_PER_BLOCK as GAS_PER_BLOB * BLOB_SCHEDULE_TARGET

Cute Animal Picture

Cute Animals - 1 of 1

@gurukamath gurukamath changed the title bug(Osaka): TARGET_BLOB_GAS_PER_BLOCK should not be an independent constant bugfix(Osaka): TARGET_BLOB_GAS_PER_BLOCK should not be an independent constant Aug 15, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.26%. Comparing base (a7b8712) to head (d32cac1).

Additional details and impacted files
@@             Coverage Diff              @@
##           forks/osaka    #1370   +/-   ##
============================================
  Coverage        94.26%   94.26%           
============================================
  Files              583      583           
  Lines            34666    34666           
  Branches          3070     3070           
============================================
  Hits             32677    32677           
  Misses            1454     1454           
  Partials           535      535           
Flag Coverage Δ
unittests 94.26% <100.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SamWilsn SamWilsn merged commit 7ad27ac into ethereum:forks/osaka Aug 18, 2025
8 checks passed
danceratopz pushed a commit to danceratopz/execution-specs that referenced this pull request Oct 22, 2025
…#1370)

* refactor(versioning): optimize git tag lookup and URL generation

* Update versioning.py

* Update src/ethereum_test_tools/utility/versioning.py

Co-authored-by: spencer <spencer.taylor-brown@ethereum.org>

* fix lint

* Update versioning.py

* Update versioning.py

---------

Co-authored-by: spencer <spencer.taylor-brown@ethereum.org>
Carsons-Eels pushed a commit to Carsons-Eels/execution-specs that referenced this pull request Jan 6, 2026
…#1370)

* refactor(versioning): optimize git tag lookup and URL generation

* Update versioning.py

* Update src/ethereum_test_tools/utility/versioning.py

Co-authored-by: spencer <spencer.taylor-brown@ethereum.org>

* fix lint

* Update versioning.py

* Update versioning.py

---------

Co-authored-by: spencer <spencer.taylor-brown@ethereum.org>
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.

bug(Osaka): TARGET_BLOB_GAS_PER_BLOCK should not be an independent constant

4 participants