feat: add hardfork E2E test framework and gamma test suite#622
Open
feat: add hardfork E2E test framework and gamma test suite#622
Conversation
Add a complete hardfork E2E testing setup: Framework (reusable across hardforks): - hardfork_framework.py: Generic 6-phase lifecycle test runner (liveness → snapshot → transition → bytecode verify → epoch → restart) - system_contracts.py: Per-hardfork contract address registry - hardfork_utils.py: Shared utilities (wait_for_block, snapshot, compare) - hooks.py: Pre-start genesis patching for hardfork config injection Gamma hardfork tests: - test_gamma.py: Framework-based gamma test (config + one-liner) - test_hardfork.py: Standalone gamma lifecycle test (6 phases) - test_hardfork_bridge.py: Bridge functionality across hardfork Config: - cluster.toml, genesis.toml, conftest.py: Cluster test configuration Adding a new hardfork test requires only: 1. Register contracts in system_contracts.py 2. Create test_<name>.py with HardforkTestConfig 3. Call run_hardfork_lifecycle_test(cluster, config)
khalidbalosh211-ux
approved these changes
Mar 21, 2026
Contributor
Author
|
@khalidbalosh211-ux Could you please stop spaming? You're keeping making piece of noises for this project. Please stop. |
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.
Add a complete hardfork E2E testing setup:
Framework (reusable across hardforks):
Gamma hardfork tests:
Config:
Adding a new hardfork test requires only:
Description
Issue Number: closes #xxx
How Has This Been Tested?
Key Areas to Review
Type of Change
Which Components or Systems Does This Change Impact?
Checklist