From c80c3ba3b62c5e8b7783c3abfa70dadb8db49142 Mon Sep 17 00:00:00 2001 From: Feist Josselin Date: Tue, 6 Dec 2022 10:44:24 +0100 Subject: [PATCH] Fix dapp Based on @elopez work from https://github.com/crytic/crytic-compile/pull/320 --- scripts/ci_test_dapp.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/ci_test_dapp.sh b/scripts/ci_test_dapp.sh index b5051b131..b11ea46a5 100755 --- a/scripts/ci_test_dapp.sh +++ b/scripts/ci_test_dapp.sh @@ -2,6 +2,11 @@ ### Test Dapp integration +# work around having two python versions loading libraries from each other in CI +OLD_LD_LIBRARY_PATH="$LD_LIBRARY_PATH" +alias crytic-compile='LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH crytic-compile' +unset LD_LIBRARY_PATH + mkdir test_dapp cd test_dapp || exit 255 # The dapp init process makes a temporary local git repo and needs certain values to be set