From 891a6111370c89d4ce89bf91589c6d5ff6785158 Mon Sep 17 00:00:00 2001 From: raymondnguyen8 <148518354+raymondnguyen8@users.noreply.github.com> Date: Wed, 3 Jul 2024 20:58:19 +0700 Subject: [PATCH] fix(fw): EVM binary pattern for windows (#632) --- README.md | 2 +- src/evm_transition_tool/geth.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07885a925d..e04b6a3985 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ This guide installs stable versions of the required external (go-ethereum) `evm` cd execution-spec-tests python3 -m venv ./venv/ source ./venv/bin/activate - pip install -e '.[docs,lint,test]' + pip install -e .[docs,lint,test] ``` 3. Verify the installation: diff --git a/src/evm_transition_tool/geth.py b/src/evm_transition_tool/geth.py index b4e8ef5ad7..87a805b0e4 100644 --- a/src/evm_transition_tool/geth.py +++ b/src/evm_transition_tool/geth.py @@ -21,7 +21,7 @@ class GethTransitionTool(TransitionTool): """ default_binary = Path("evm") - detect_binary_pattern = compile(r"^evm version\b") + detect_binary_pattern = compile(r"^evm(.exe)? version\b") t8n_subcommand: Optional[str] = "t8n" statetest_subcommand: Optional[str] = "statetest" blocktest_subcommand: Optional[str] = "blocktest"