5858 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
5959 with :
6060 repo-token : ${{ secrets.GITHUB_TOKEN }}
61- - name : Install ganache
62- run : sudo npm install -g ganache
61+ - name : Install anvil
62+ run : cargo install --git https://github.com/foundry-rs/foundry --locked anvil
6363 - name : Run tests in release
6464 run : make test-release
6565 release-tests-windows :
7878 run : |
7979 choco install python protoc visualstudio2019-workload-vctools -y
8080 npm config set msvs_version 2019
81- - name : Install ganache
82- run : npm install -g ganache --loglevel verbose
81+ - name : Install anvil
82+ # Extra feature to work around https://github.com/foundry-rs/foundry/issues/5115
83+ run : cargo install --git https://github.com/foundry-rs/foundry --locked anvil --features ethers/ipc
8384 - name : Install make
8485 run : choco install -y make
8586 - uses : KyleMayes/install-llvm-action@v1
@@ -140,8 +141,8 @@ jobs:
140141 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
141142 with :
142143 repo-token : ${{ secrets.GITHUB_TOKEN }}
143- - name : Install ganache
144- run : sudo npm install -g ganache
144+ - name : Install anvil
145+ run : cargo install --git https://github.com/foundry-rs/foundry --locked anvil
145146 - name : Run tests in debug
146147 run : make test-debug
147148 state-transition-vectors-ubuntu :
@@ -196,8 +197,8 @@ jobs:
196197 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
197198 with :
198199 repo-token : ${{ secrets.GITHUB_TOKEN }}
199- - name : Install ganache
200- run : sudo npm install -g ganache
200+ - name : Install anvil
201+ run : cargo install --git https://github.com/foundry-rs/foundry --locked anvil
201202 - name : Run the beacon chain sim that starts from an eth1 contract
202203 run : cargo run --release --bin simulator eth1-sim
203204 merge-transition-ubuntu :
@@ -212,8 +213,8 @@ jobs:
212213 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
213214 with :
214215 repo-token : ${{ secrets.GITHUB_TOKEN }}
215- - name : Install ganache
216- run : sudo npm install -g ganache
216+ - name : Install anvil
217+ run : cargo install --git https://github.com/foundry-rs/foundry --locked anvil
217218 - name : Run the beacon chain sim and go through the merge transition
218219 run : cargo run --release --bin simulator eth1-sim --post-merge
219220 no-eth1-simulator-ubuntu :
@@ -228,8 +229,6 @@ jobs:
228229 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
229230 with :
230231 repo-token : ${{ secrets.GITHUB_TOKEN }}
231- - name : Install ganache
232- run : sudo npm install -g ganache
233232 - name : Run the beacon chain sim without an eth1 connection
234233 run : cargo run --release --bin simulator no-eth1-sim
235234 syncing-simulator-ubuntu :
@@ -244,8 +243,8 @@ jobs:
244243 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
245244 with :
246245 repo-token : ${{ secrets.GITHUB_TOKEN }}
247- - name : Install ganache
248- run : sudo npm install -g ganache
246+ - name : Install anvil
247+ run : cargo install --git https://github.com/foundry-rs/foundry --locked anvil
249248 - name : Run the syncing simulator
250249 run : cargo run --release --bin simulator syncing-sim
251250 doppelganger-protection-test :
@@ -260,20 +259,23 @@ jobs:
260259 uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
261260 with :
262261 repo-token : ${{ secrets.GITHUB_TOKEN }}
263- - name : Install ganache
264- run : sudo npm install -g ganache
262+ - name : Install geth
263+ run : |
264+ sudo add-apt-repository -y ppa:ethereum/ethereum
265+ sudo apt-get update
266+ sudo apt-get install ethereum
265267 - name : Install lighthouse and lcli
266268 run : |
267269 make
268270 make install-lcli
269- - name : Run the doppelganger protection success test script
271+ - name : Run the doppelganger protection failure test script
270272 run : |
271273 cd scripts/tests
272- ./doppelganger_protection.sh success
273- - name : Run the doppelganger protection failure test script
274+ ./doppelganger_protection.sh failure genesis.json
275+ - name : Run the doppelganger protection success test script
274276 run : |
275277 cd scripts/tests
276- ./doppelganger_protection.sh failure
278+ ./doppelganger_protection.sh success genesis.json
277279 execution-engine-integration-ubuntu :
278280 name : execution-engine-integration-ubuntu
279281 runs-on : ubuntu-latest
0 commit comments