feat(tests): Add missing OOG tests: EXP, LOG and constant gas generally#1686
Merged
Conversation
312792d to
c1f4e24
Compare
4 tasks
Anuoluwapo25
pushed a commit
to Anuoluwapo25/execution-specs
that referenced
this pull request
Oct 27, 2025
* refactor(forks): Pydantic-friendly `Fork` type * fix(tests): Bad import * docs(forks): remove `blockchain_test_network_name` from docs --------- Co-authored-by: danceratopz <danceratopz@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/osaka #1686 +/- ##
===============================================
- Coverage 86.08% 86.08% -0.01%
===============================================
Files 743 743
Lines 44072 44076 +4
Branches 3891 3891
===============================================
+ Hits 37938 37941 +3
- Misses 5656 5657 +1
Partials 478 478
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
marioevz
approved these changes
Nov 27, 2025
marioevz
left a comment
Member
There was a problem hiding this comment.
Thanks for the changes, I pushed some commits to make the tests more future proof.
SamWilsn
pushed a commit
that referenced
this pull request
Dec 9, 2025
* refactor(forks): Pydantic-friendly `Fork` type * fix(tests): Bad import * docs(forks): remove `blockchain_test_network_name` from docs --------- Co-authored-by: danceratopz <danceratopz@gmail.com>
SamWilsn
pushed a commit
that referenced
this pull request
Dec 9, 2025
* refactor(forks): Pydantic-friendly `Fork` type * fix(tests): Bad import * docs(forks): remove `blockchain_test_network_name` from docs --------- Co-authored-by: danceratopz <danceratopz@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🗒️ Description
Adds some missing cases to cover situations where either gas is not enough to cover constant (static) cost or specific dynamic costs of EXP and LOG opcodes
🔗 Related Issues or PRs
N/A.
✅ Checklist
toxchecks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:uvx tox -e statictype(scope):.