Skip to content

Commit c460d3b

Browse files
committed
set test private key var before compiling with hardhat
1 parent 7448714 commit c460d3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ RUN corepack enable
4747
RUN rm -rf contracts/strategies/_poc/
4848

4949

50-
RUN npx hardhat compile
50+
# test private key required at hardhat load time
51+
RUN env DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 npx hardhat compile
5152

5253
EXPOSE 8545/tcp

0 commit comments

Comments
 (0)