Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tox_verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: ethereum/execution-specs
ref: 9923823367b5586228e590537d47aa9cc4c6a206
ref: 78fb726158c69d8fa164e28f195fabf6ab59b915
path: execution-specs
sparse-checkout: |
src/ethereum
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: ethereum/execution-specs
ref: 9923823367b5586228e590537d47aa9cc4c6a206
ref: 78fb726158c69d8fa164e28f195fabf6ab59b915
path: execution-specs
sparse-checkout: |
src/ethereum
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Release tarball changes:
- ✨ Fill test fixtures using EELS by default. EEST now uses the [`ethereum-specs-evm-resolver`](https://github.com/petertdavies/ethereum-spec-evm-resolver) with the EELS daemon ([#792](https://github.com/ethereum/execution-spec-tests/pull/792)).
- 🔀 Move the `evm_transition_tool` package to `ethereum_clis` and derive the transition tool CL interfaces from a shared `EthereumCLI` class that can be reused for other sub-commands ([#894](https://github.com/ethereum/execution-spec-tests/pull/894)).
- ✨ Pass `state_test` property to T8N tools that support it (Only EELS at the time of merge) ([#943](https://github.com/ethereum/execution-spec-tests/pull/943)).
- ✨ Turn on `--traces` for EELS + `ethereum-specs-evm-resolver` ([#1174](https://github.com/ethereum/execution-spec-tests/pull/1174)).

### 📋 Misc

Expand Down
2 changes: 1 addition & 1 deletion eels_resolutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"EELSMaster": {
"git_url": "https://github.com/ethereum/execution-specs.git",
"branch": "master",
"commit": "9923823367b5586228e590537d47aa9cc4c6a206"
"commit": "78fb726158c69d8fa164e28f195fabf6ab59b915"
},
"Frontier": {
"same_as": "EELSMaster"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers = [
]
dependencies = [
"click>=8.1.0,<9",
"ethereum @ git+https://github.com/ethereum/execution-specs@9923823367b5586228e590537d47aa9cc4c6a206",
"ethereum @ git+https://github.com/ethereum/execution-specs@78fb726158c69d8fa164e28f195fabf6ab59b915",
"hive.py @ git+https://github.com/marioevz/hive.py",
"ethereum-spec-evm-resolver @ git+https://github.com/petertdavies/ethereum-spec-evm-resolver",
"setuptools",
Expand Down Expand Up @@ -123,4 +123,4 @@ mypy_path = ["src", "$MYPY_CONFIG_FILE_DIR/stubs"]
plugins = ["pydantic.mypy"]

[tool.uv.sources]
ethereum = { git = "https://github.com/ethereum/execution-specs", rev = "9923823367b5586228e590537d47aa9cc4c6a206" }
ethereum = { git = "https://github.com/ethereum/execution-specs", rev = "78fb726158c69d8fa164e28f195fabf6ab59b915" }
9 changes: 9 additions & 0 deletions src/ethereum_clis/transition_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@ def _evaluate_server(
request_data = t8n_data.get_request_data()
request_data_json = request_data.model_dump(mode="json", **model_dump_config)

temp_dir = tempfile.TemporaryDirectory()
request_data_json["trace"] = self.trace
if self.trace:
request_data_json["output-basedir"] = temp_dir.name

if debug_output_path:
request_info = (
f"Server URL: {self.server_url}\n\n"
Expand Down Expand Up @@ -350,6 +355,10 @@ def _evaluate_server(

output: TransitionToolOutput = TransitionToolOutput.model_validate(response_json)

if self.trace:
self.collect_traces(output.result.receipts, temp_dir, debug_output_path)
temp_dir.cleanup()

if debug_output_path:
response_info = (
f"Status Code: {response.status_code}\n\n"
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading