Skip to content

Commit

Permalink
use latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush authored Mar 19, 2024
1 parent cbba8d8 commit f085b04
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packer/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ echo "Installing solc and slither..."
python3 -m venv ~/venv
source ~/venv/bin/activate
pip3 install solc-select slither-analyzer crytic-compile
solc-select install 0.8.6
solc-select use 0.8.6
solc-select use latest --always-install

echo "Downloading echidna..."
curl -fsSL -o /tmp/echidna.zip https://github.com/crytic/echidna/releases/download/v2.2.1/echidna-2.2.1-Linux.zip
curl -fsSL https://github.com/crytic/echidna/releases/download/v2.2.3/echidna-2.2.3-x86_64-linux.tar.gz -o /tmp/echidna.tar.gz
echo "Extracting echidna..."
unzip /tmp/echidna.zip -d /tmp
tar -xzf /tmp/echidna.tar.gz -C /tmp
echo "Installing echidna..."
mv /tmp/echidna /usr/local/bin
Expand All @@ -46,10 +44,13 @@ rm /tmp/echidna.tar.gz
echo "Downloading medusa..."
sudo apt-get update
sudo apt-get install -y unzip
curl -fsSL https://github.com/crytic/medusa/releases/download/v0.1.0/medusa-linux-x64.zip -o medusa.zip
unzip medusa.zip
curl -fsSL https://github.com/crytic/medusa/releases/download/v0.1.3/medusa-linux-x64.tar.gz -o /tmp/medusa.tar.gz
echo "Extracting medusa..."
tar -xzf /tmp/medusa.tar.gz -C /tmp
echo "Installing medusa..."
chmod +x medusa
sudo mv medusa /usr/local/bin
rm /tmp/medusa.tar.gz

echo "Installing docker and its dependencies..."
apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
Expand Down

0 comments on commit f085b04

Please sign in to comment.