You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ Users can select any of the artifacts depending on their testing needs for their
61
61
- 🔀 Split `src/ethereum_test_types/types.py` into several files to improve code organization ([#1665](https://github.com/ethereum/execution-spec-tests/pull/1665)).
62
62
- ✨ Added `extract_config` command to extract genesis files used to launch clients in hive ([#1740](https://github.com/ethereum/execution-spec-tests/pull/1740)).
63
63
- ✨ Added automatic checklist generation for every EIP inside of the `tests` folder. The checklist is appended to each EIP in the documentation in the "Test Case Reference" section ([#1679](https://github.com/ethereum/execution-spec-tests/pull/1679), [#1718](https://github.com/ethereum/execution-spec-tests/pull/1718)).
64
+
- 🔀 Add macOS hive development mode workaround to the docs [#1786](https://github.com/ethereum/execution-spec-tests/pull/1786).
Copy file name to clipboardExpand all lines: docs/running_tests/hive/dev_mode.md
+83-1Lines changed: 83 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,19 @@ This avoids running the simulator in a dockerized environment and has several ad
9
9
3. Provides access to a larger set of the simulator's command-line options,
10
10
4. Runs are faster; there are no docker image rebuilds in between runs. In particular, modifications to the simulator do not require a an image rebuild.
11
11
12
+
## Platform Support
13
+
14
+
- Linux: Direct development mode supported.
15
+
- macOS: Must be ran from a Linux environment or use a Docker-based workaround (see macOS Setup).
16
+
12
17
## Quick Start
13
18
14
19
### Prerequisites
15
20
16
21
- EEST is installed, see [Installation](../../getting_started/installation.md)
17
22
- Hive is built, see [Hive](../hive/index.md#quick-start).
18
23
19
-
## Hive Dev Setup
24
+
## Hive Dev Setup (Linux)
20
25
21
26
1. Start Hive in development mode, e.g.:
22
27
@@ -45,6 +50,83 @@ This avoids running the simulator in a dockerized environment and has several ad
45
50
uv run consume rlp --input stable@latest
46
51
```
47
52
53
+
## macOS Setup
54
+
55
+
Due to Docker running within a VM on macOS, the host machine and Docker containers don't share the same network namespace, preventing direct communication with Hive's development server. To run development mode on macOS, you have the following options:
56
+
57
+
1. Linux VM: Run a Linux virtual machine on your macOS and execute the standard development workflow above from within the VM.
58
+
2. Remote Linux: SSH into a remote Linux environment (server or cloud instance) and run development mode there.
59
+
3. **Docker Development Image**: Create a containerized EEST environment that runs within Docker's network namespace (recommended).
60
+
61
+
The following section details the setup and usage of option 3.
62
+
63
+
### EEST Docker Development Image
64
+
65
+
Within the [`eest/`](https://github.com/ethereum/hive/tree/master/simulators/ethereum/eest) directory of hive, a new dockerfile must be created: `Dockerfile.dev`, with the following contents:
66
+
67
+
```docker
68
+
FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
0 commit comments