-
Notifications
You must be signed in to change notification settings - Fork 167
refactor(fill,fixtures): rename "engine reorg" to "engine x"; improve pre-allocation group terminology #1760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
… groups' 1/2 Terminology: - 'shared pre-allocation' → 'pre-allocation groups' - 'shared pre-state' → 'pre-allocation groups' Flags: - `--generate-shared-pre` -> `--generate-grouped-pre-allocs` - `--use-shared-pre` -> `--use-grouped-pre-allocs` Method names updated: - `update_shared_pre_state` → `update_pre_alloc_groups` - `compute_shared_pre_alloc_hash` → `compute_pre_alloc_group_hash` - `shared_pre_alloc_folder_path` → `grouped_pre_allocs_folder_path`
Rename command-line flags to align with function and class naming: - --generate-grouped-pre-allocs → --generate-pre-alloc-groups - --use-grouped-pre-allocs → --use-pre-alloc-groups This improves consistency with PreAllocGroups class and related method names throughout the codebase. Updated all flag definitions, config.getoption() calls, property names, and documentation.
8897f68
to
10b0323
Compare
danceratopz
added a commit
that referenced
this pull request
Jun 18, 2025
5 tasks
marioevz
approved these changes
Jun 18, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huge rename! Thanks for this! 👍
danceratopz
added a commit
that referenced
this pull request
Jun 25, 2025
danceratopz
added a commit
that referenced
this pull request
Jun 25, 2025
danceratopz
added a commit
that referenced
this pull request
Jun 30, 2025
danceratopz
added a commit
that referenced
this pull request
Jul 1, 2025
5 tasks
danceratopz
added a commit
that referenced
this pull request
Jul 15, 2025
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
Improves the language around the new fixture format and grouped pre-allocations generation.
Main Terminology Updates
EngineX
BlockchainEngineReorgFixture
→BlockchainEngineXFixture
blockchain_test_engine_reorg
→blockchain_test_engine_x
blockchain_tests_engine_reorg
→blockchain_tests_engine_x
blockchain_test_engine_reorg.md
toblockchain_test_engine_x.md
Pre-Alloc Groups
Core Files:
src/ethereum_test_fixtures/pre_alloc_groups.py
(renamed fromshared_alloc.py
)src/pytest_plugins/filler/filler.py
src/cli/pytest_commands/fill.py
src/pytest_plugins/filler/fixture_output.py
src/pytest_plugins/filler/pre_alloc.py
Flag Renames:
--generate-shared-pre
→--generate-pre-alloc-groups
--use-shared-pre
→--use-pre-alloc-groups
Class Renames:
SharedPreStateGroup
→PreAllocGroup
SharedPreState
→PreAllocGroups
Method Renames:
update_shared_pre_state
→update_pre_alloc_groups
compute_shared_pre_alloc_hash
→compute_pre_alloc_group_hash
shared_pre_alloc_folder_path
→pre_alloc_groups_folder_path
Variable Renames:
shared_pre_state
→pre_alloc_groups
shared_alloc
→pre_alloc_group
shared_allocs
→pre_alloc_groups
Property Renames:
shared_pre_alloc_folder_path
→pre_alloc_groups_folder_path
generate_shared_pre
→generate_pre_alloc_groups
use_shared_pre
→use_pre_alloc_groups
Documentation Updated:
docs/running_tests/test_formats/blockchain_test_engine_x.md
- Comprehensive terminology updatedocs/library/cli/extract_config.md
docs/CHANGELOG.md
src/cli/show_pre_alloc_group_stats.py
- Help text updates🔗 Related Issues
✅ Checklist