From adbdeab73007058cba65a72ed2f84f16f30e4a86 Mon Sep 17 00:00:00 2001 From: Christian Borst Date: Wed, 17 Apr 2024 14:03:04 -0400 Subject: [PATCH] Compile DEX contracts in dockerfile --- tests/dockerfile/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/dockerfile/Dockerfile b/tests/dockerfile/Dockerfile index 1390debe..2ef42374 100755 --- a/tests/dockerfile/Dockerfile +++ b/tests/dockerfile/Dockerfile @@ -17,6 +17,8 @@ ADD althea.tar.gz / RUN pushd /althea/integration_tests && PATH=$PATH:$HOME/.cargo/bin cargo build --bin test-runner --release # generate artifacts for the ethereum contracts RUN pushd /althea/solidity/ && HUSKY_SKIP_INSTALL=1 npm install && npm run typechain +# generate artifacts for the dex contracts +RUN pushd /althea/solidity-dex/ && HUSKY_SKIP_INSTALL=1 npm install && npx hardhat compile # The althea bin now depends on the output of the contracts RUN pushd /althea && make contracts # build the althea chain binary