From dbe9a8dcb9e2f97cd6080b18075333e4d5ed4283 Mon Sep 17 00:00:00 2001 From: Suphanat Chunhapanya Date: Thu, 21 Aug 2025 23:37:06 +0700 Subject: [PATCH 1/2] Fix the Go version --- .github/workflows/lighthouse-geth.yaml | 4 ++++ .github/workflows/prysm-geth.yaml | 4 ++++ README.md | 2 ++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/lighthouse-geth.yaml b/.github/workflows/lighthouse-geth.yaml index 895b6d3..fdbcca4 100644 --- a/.github/workflows/lighthouse-geth.yaml +++ b/.github/workflows/lighthouse-geth.yaml @@ -13,6 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.23.12' - name: Install Shadow's dependencies run : | # required dependencies diff --git a/.github/workflows/prysm-geth.yaml b/.github/workflows/prysm-geth.yaml index 0b0df93..5b8b23d 100644 --- a/.github/workflows/prysm-geth.yaml +++ b/.github/workflows/prysm-geth.yaml @@ -13,6 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.23.12' - name: Install Shadow's dependencies run : | # required dependencies diff --git a/README.md b/README.md index e1467fe..95cb462 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ run it using this simulator. We assume that you already have Go, Rust, and Docker installed. +Please use Go 1.23.x or older because we found that the newer versions don't build Geth v1.14.11 + Install Lighthouse and Geth. ```sh # Lighthouse From b8a8c3d2fef72c878887f236e629a2048814b0e9 Mon Sep 17 00:00:00 2001 From: Suphanat Chunhapanya Date: Fri, 22 Aug 2025 00:33:29 +0700 Subject: [PATCH 2/2] Fix shadow version --- .github/workflows/lighthouse-geth.yaml | 1 + .github/workflows/prysm-geth.yaml | 1 + README.md | 1 + docs/installation.md | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/lighthouse-geth.yaml b/.github/workflows/lighthouse-geth.yaml index fdbcca4..7d34d88 100644 --- a/.github/workflows/lighthouse-geth.yaml +++ b/.github/workflows/lighthouse-geth.yaml @@ -39,6 +39,7 @@ jobs: run: | git clone https://github.com/shadow/shadow.git cd shadow + git checkout v3.2.0 ./setup build --clean ./setup install cd .. diff --git a/.github/workflows/prysm-geth.yaml b/.github/workflows/prysm-geth.yaml index 5b8b23d..f74f972 100644 --- a/.github/workflows/prysm-geth.yaml +++ b/.github/workflows/prysm-geth.yaml @@ -39,6 +39,7 @@ jobs: run: | git clone https://github.com/shadow/shadow.git cd shadow + git checkout v3.2.0 ./setup build --clean ./setup install cd .. diff --git a/README.md b/README.md index 95cb462..1dbec90 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ Install Shadow sudo apt-get install -y cmake findutils libclang-dev libc-dbg libglib2.0-0 libglib2.0-dev make netbase python3 python3-networkx xz-utils util-linux gcc g++ git clone https://github.com/shadow/shadow.git cd shadow +git checkout v3.2.0 # Install the latest version of Shadow ./setup build --clean ./setup install echo 'export PATH="${PATH}:/home/${USER}/.local/bin"' >> ~/.bashrc && source ~/.bashrc diff --git a/docs/installation.md b/docs/installation.md index 921abe8..2d6e243 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -23,6 +23,7 @@ The Docker daemon must be running while Ethshadow prepares the simulation. sudo apt-get install -y cmake findutils libclang-dev libc-dbg libglib2.0-0 libglib2.0-dev make netbase python3 python3-networkx xz-utils util-linux gcc g++ git clone https://github.com/shadow/shadow.git cd shadow +git checkout v3.2.0 # Install the latest version of Shadow ./setup build --clean ./setup install echo 'export PATH="${PATH}:/home/${USER}/.local/bin"' >> ~/.bashrc && source ~/.bashrc