diff --git a/dev/up b/dev/up index ad0e3881d..9e52c1637 100755 --- a/dev/up +++ b/dev/up @@ -12,15 +12,18 @@ if [[ "${OSTYPE}" == "darwin"* ]]; then fi if ! kotlinc -version &>/dev/null; then brew install kotlin; fi if ! swiftformat -version &>/dev/null; then brew install swiftformat; fi + if ! foundryup -version &>/dev/null; then + # install foundry for tests that require mocking blockchain + curl -L https://foundry.paradigm.xyz | bash + # you made need to adjust this depending on which $SHELL you use + source $HOME/.zshenv + foundryup + fi fi rustup update -# install foundry for tests that require mocking blockchain -curl -L https://foundry.paradigm.xyz | bash -source ~/.zshenv -source ~/.bashrc -foundryup + dev/build_validation_service_local dev/docker/up