Skip to content

Commit a5a05f9

Browse files
authored
chore: rm old references to devnet fork; rm exec fork refs (leanEthereum#710)
* chore: rm old references to ``devnet`` fork; rm exec fork refs * fix(test): remaining fork updates ``Devnet`` -> ``Lstar`` for pytest marks * chore: rename devnet -> lstar
1 parent c28eb79 commit a5a05f9

79 files changed

Lines changed: 40 additions & 44 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/agents/code-tester.md

Lines changed: 1 addition & 1 deletion

.claude/skills/client-test/SKILL.md

Lines changed: 1 addition & 1 deletion

packages/testing/README.md

Lines changed: 1 addition & 1 deletion

packages/testing/src/framework/cli/fill.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
@click.option(
2626
"--fork",
2727
required=True,
28-
help="Fork to generate fixtures for (e.g., Devnet for consensus, Shanghai for execution)",
28+
help="Fork to generate fixtures for (e.g., Lstar for consensus)",
2929
)
3030
@click.option(
3131
"--layer",
@@ -62,16 +62,13 @@ def fill(
6262
6363
Examples:
6464
# Generate consensus layer fixtures
65-
fill tests/spec_tests/devnet --fork=Devnet --layer=consensus --clean -v
66-
67-
# Generate execution layer fixtures (future)
68-
fill tests/spec_tests/shanghai --fork=Shanghai --layer=execution --clean -v
65+
fill tests/consensus/devnet --fork=Lstar --layer=consensus --clean -v
6966
7067
# Default layer is consensus
71-
fill tests/spec_tests/devnet --fork=Devnet --clean -v
68+
fill tests/consensus/devnet --fork=Lstar --clean -v
7269
7370
# Use specific XMSS scheme (overrides LEAN_ENV env var)
74-
fill --fork=Devnet --scheme=prod --clean -v
71+
fill --fork=Lstar --scheme=prod --clean -v
7572
"""
7673
# Note: It's important to never import any leanSpec modules in this file, so the
7774
# `LEAN_ENV` variable can be set before the config loads its value from the

packages/testing/src/framework/forks/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ def name(cls) -> str:
8181
"""
8282
Return the name of the fork as it appears in test fixtures.
8383
84-
By default, this is the class name (e.g., "Lstar" for consensus,
85-
"Shanghai" for execution).
84+
By default, this is the class name (e.g., "Lstar" for consensus).
8685
This is used in the 'network' field of generated fixtures.
8786
"""
8887
pass

packages/testing/src/framework/pytest_plugins/filler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, output_dir: Path, fork: str, layer: str):
2121
2222
Args:
2323
output_dir: Root directory for generated fixtures.
24-
fork: The fork name (e.g., "Lstar", "Shanghai").
24+
fork: The fork name (e.g., "Lstar").
2525
layer: The Ethereum layer (e.g., "consensus", "execution").
2626
"""
2727
self.output_dir = output_dir
@@ -57,7 +57,7 @@ def add_fixture(
5757

5858
test_file = Path(test_file_path)
5959
# Extract test path relative to tests/{layer}
60-
# e.g., tests/consensus/devnet/... -> devnet/...
60+
# e.g., tests/consensus/lstar/... -> lstar/...
6161
layer = config.test_layer if hasattr(config, "test_layer") else "consensus"
6262

6363
try:
@@ -94,7 +94,7 @@ def write_fixtures(self) -> None:
9494
test_file = Path(test_file_path)
9595

9696
# Extract test path relative to tests/{layer}
97-
# e.g., tests/consensus/devnet/... -> devnet/...
97+
# e.g., tests/consensus/lstar/... -> lstar/...
9898
try:
9999
relative_path = test_file.relative_to(f"tests/{self.layer}")
100100
except ValueError:
File renamed without changes.

tests/consensus/devnet/api/test_api_post_genesis.py renamed to tests/consensus/lstar/api/test_api_post_genesis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pytest
99
from consensus_testing import ApiEndpointTestFiller
1010

11-
pytestmark = pytest.mark.valid_until("Devnet")
11+
pytestmark = pytest.mark.valid_until("Lstar")
1212

1313

1414
GENESIS_4V_AT_SLOT_3 = {"numValidators": 4, "genesisTime": 0, "anchorSlot": 3}

tests/consensus/devnet/api/test_metrics_endpoint.py renamed to tests/consensus/lstar/api/test_metrics_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44
from consensus_testing import ApiEndpointTestFiller
55

6-
pytestmark = pytest.mark.valid_until("Devnet")
6+
pytestmark = pytest.mark.valid_until("Lstar")
77

88

99
def test_metrics_endpoint_scrape_contract(
File renamed without changes.

0 commit comments

Comments
 (0)