Skip to content

Commit

Permalink
chore: fix bb wasm build when using remote cache (AztecProtocol#4397)
Browse files Browse the repository at this point in the history
Build was succeeding but tests failed with:

```
ENOENT: no such file or directory, open '<dir>/aztec-packages/barretenberg/ts/dest/node/barretenberg_wasm/fetch_code/node/../../barretenberg-threads.wasm'
```

With this change everything now works as expected. Thanks @spalladino
for the fix!
  • Loading branch information
nventuro committed Feb 2, 2024
1 parent 5e9c790 commit 14e57cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barretenberg/bootstrap_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ extract_repo bb.js \
/usr/src/barretenberg/cpp/build-wasm-threads/bin ./cpp/build-wasm-threads

echo -e "\033[1mBuilding ESM bb.ts...\033[0m"
(cd ts && ./bootstrap.sh esm)
(cd ts && SKIP_CPP_BUILD=1 ./scripts/build_wasm.sh && ./bootstrap.sh esm)

0 comments on commit 14e57cb

Please sign in to comment.