From 412356c34592d190809d2da54408b1313ef27a7d Mon Sep 17 00:00:00 2001 From: George Knee Date: Wed, 6 Sep 2023 13:21:33 +0100 Subject: [PATCH] fix script --- generate-adjudicator-bindings.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/generate-adjudicator-bindings.sh b/generate-adjudicator-bindings.sh index f3033c0f8f..f76485d660 100755 --- a/generate-adjudicator-bindings.sh +++ b/generate-adjudicator-bindings.sh @@ -14,9 +14,10 @@ echo "Deleted tmp-build directory." echo "Compiling contracts..." -solc --base-path $NITRO_PROTOCOL_DIR \ - @statechannels/exit-format/=node_modules/@statechannels/exit-format/ \ - @openzeppelin/contracts/=node_modules/@openzeppelin/contracts/ \ +solc --include-path ../../ \ + --base-path $NITRO_PROTOCOL_DIR \ + @statechannels/exit-format/=../../node_modules/@statechannels/exit-format/ \ + @openzeppelin/contracts/=../../node_modules/@openzeppelin/contracts/ \ $NITRO_PROTOCOL_DIR/contracts/NitroAdjudicator.sol \ $NITRO_PROTOCOL_DIR/contracts/ConsensusApp.sol \ $NITRO_PROTOCOL_DIR/contracts/Token.sol \