diff --git a/.github/workflows/lighthouse-geth.yaml b/.github/workflows/lighthouse-geth.yaml index 895b6d3..7d34d88 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 @@ -35,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 0b0df93..f74f972 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 @@ -35,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 e1467fe..1dbec90 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 @@ -47,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