Skip to content

Commit

Permalink
make forge dependencies as part of SDK build (wormhole-foundation#3100)
Browse files Browse the repository at this point in the history
* make forge dependencies as part of SDK build
  • Loading branch information
derpy-duck authored Jun 16, 2023
1 parent b97a620 commit 22b1311
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"sideEffects": false,
"repository": "https://github.com/certusone/wormhole/tree/main/sdk/js",
"scripts": {
"build-contracts": "cd ../../ethereum && npm run build && cd ../sdk/js && node scripts/copyContracts.js",
"build-contracts": "cd ../../ethereum && make forge_dependencies && npm run build && cd ../sdk/js && node scripts/copyContracts.js",
"build-abis": "typechain --target=ethers-v5 --out-dir=src/ethers-contracts/abi src/abi/Wormhole.abi.json",
"build-idl": "node scripts/compileAnchorIdls.js",
"build-deps": "npm run build-abis && npm run build-contracts && npm run build-idl",
Expand Down
4 changes: 0 additions & 4 deletions testing/Dockerfile.sdk.test
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ RUN --mount=type=cache,uid=1000,gid=1000,target=/home/node/.npm \
npm ci --prefix ethereum
COPY ethereum ./ethereum

WORKDIR /app/ethereum
RUN make forge_dependencies
WORKDIR /app

COPY solana/idl ./solana/idl/

COPY sdk/js/package.json sdk/js/package-lock.json ./sdk/js/
Expand Down

0 comments on commit 22b1311

Please sign in to comment.