File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
simulators/ethereum/eest/consume-enginex Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Builds and runs the EEST (execution-spec-tests) consume engine simulator
2
+ FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
3
+
4
+ # # Default fixtures/git-ref
5
+ ARG fixtures=stable@latest
6
+ ENV FIXTURES=${fixtures}
7
+ ARG branch=main
8
+ ENV GIT_REF=${branch}
9
+
10
+ # # Clone and install EEST
11
+ RUN apt-get update && apt-get install -y git
12
+
13
+ # Allow the user to specify a branch or commit to checkout
14
+ RUN git init execution-spec-tests && \
15
+ cd execution-spec-tests && \
16
+ git remote add origin https://github.com/ethereum/execution-spec-tests.git && \
17
+ git fetch --depth 1 origin $GIT_REF && \
18
+ git checkout FETCH_HEAD;
19
+
20
+ WORKDIR /execution-spec-tests
21
+ RUN uv sync
22
+
23
+ # Cache the fixtures. This is done to avoid re-downloading the fixtures every time
24
+ # the container starts.
25
+ # If newer version of the fixtures is needed, the image needs to be rebuilt.
26
+ # Use `--docker.nocache` flag to force rebuild.
27
+ RUN uv run consume cache -q --input "$FIXTURES"
28
+
29
+ # # Define `consume engine` entry point using the local fixtures
30
+ ENTRYPOINT uv run consume enginex -v --input "$FIXTURES" --dist=loadgroup --enginex-fcu-frequency=0
31
+
You can’t perform that action at this time.
0 commit comments