diff --git a/Makefile b/Makefile index 8b4625d19..5669e22bb 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ endif ################## .PHONY: deps libbacktrace -FOUNDRY_VERSION := 1.5.0 +FOUNDRY_VERSION := 1.4.2 rustup: ifeq (, $(shell which cargo)) diff --git a/scripts/install_anvil.sh b/scripts/install_anvil.sh index 24a5fd312..c573ac31c 100755 --- a/scripts/install_anvil.sh +++ b/scripts/install_anvil.sh @@ -34,7 +34,7 @@ else fi # Run foundryup to install the required version - if [ -n "$git" ]; then + if [ -n "$REQUIRED_FOUNDRY_VERSION" ]; then echo "Installing Foundry tools version $REQUIRED_FOUNDRY_VERSION..." foundryup --install "$REQUIRED_FOUNDRY_VERSION" else