Skip to content

Commit

Permalink
fix(test): Download correct compiler for mac (#193)
Browse files Browse the repository at this point in the history
Signed-off-by: Danil <[email protected]>
  • Loading branch information
Deniallugo authored Dec 13, 2023
1 parent e2bc191 commit 24cc73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/era-cheatcodes/tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ function cleanup() {
function download_solc() {
case "$(uname -s)" in
Darwin*) arch=macos ;;
*) arch=linux ;;
*) arch=static-linux ;;
esac
if [ ! -x "${SOLC}" ]; then
wget --quiet -O "${SOLC}" "https://github.com/ethereum/solidity/releases/download/${1}/solc-static-${arch}"
wget --quiet -O "${SOLC}" "https://github.com/ethereum/solidity/releases/download/${1}/solc-${arch}"
chmod +x "${SOLC}"
fi
}
Expand Down

0 comments on commit 24cc73c

Please sign in to comment.