Skip to content

Commit e3a8d8f

Browse files
committed
Merge remote-tracking branch 'origin/next' into merge-train/barretenberg
2 parents 2dfc7ea + a75ac5e commit e3a8d8f

File tree

341 files changed

+10273
-4049
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+10273
-4049
lines changed

CI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CI3:
2323
- Restricting resources such a vcpus, memory and storage.
2424
- Building a single final slim release image from `release-image`.
2525
- Provides a consistent command interface on `./bootstrap.sh` scripts, e.g. `./bootstrap.sh clean|fast|full|test|test_cmds`.
26-
- Unifies how projects are tested allowing for a "build then test the entire repo" workflow. Projects expose their individual tests via `test_cmds` and they can all be parallelised at once to leverage maximum system throughput.
26+
- Unifies how projects are tested allowing for a "build then test the entire repo" workflow. Projects expose their individual tests via `test_cmds` and they can all be parallelized at once to leverage maximum system throughput.
2727
- Runs on a single (currently large, 128 vcpu) machine.
2828
- Significantly reduces the chance of flakey tests making their way into master, by "grinding" the tests in the master merge queue. This simply executes the tests as above, but across N instances. (TBD)
2929
- Provides a shared redis cache at the test level, meaning the same test never needs to be run twice in CI (except when grinding).
@@ -323,7 +323,7 @@ dl e6b8532f0c020b44
323323
Let's say you open up a test run log, you'll see something like:
324324

325325
```
326-
Command: parallelise 64 (exit: 0)
326+
Command: parallelize 64 (exit: 0)
327327
Starting test run with max 64 jobs...
328328
PASSED (http://ci.aztec-labs.com/736ae186bdf66226): yarn-project/end-to-end/scripts/run_test.sh simple e2e_synching
329329
PASSED (http://ci.aztec-labs.com/066e837f7af23761): yarn-project/end-to-end/scripts/run_test.sh simple e2e_public_testnet_transfer

aztec-up/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function test_cmds {
3232

3333
function test {
3434
echo_header "aztec-up test"
35-
test_cmds | filter_test_cmds | parallelise
35+
test_cmds | filter_test_cmds | parallelize
3636
}
3737

3838
function release {

barretenberg/acir_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ scripts/bb_prove.sh assert_statement
4242
Programmatically, you can also do from root:
4343

4444
```bash
45-
./barretenberg/acir_tests/bootstrap.sh test_cmds | grep assert_statement | ci3/parallelise
45+
./barretenberg/acir_tests/bootstrap.sh test_cmds | grep assert_statement | ci3/parallelize
4646
```

barretenberg/acir_tests/bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function build {
131131

132132
function test {
133133
echo_header "acir_tests testing"
134-
test_cmds | filter_test_cmds | parallelise
134+
test_cmds | filter_test_cmds | parallelize
135135
}
136136

137137
# Prints to stdout, one per line, the command to execute each individual test.
@@ -213,7 +213,7 @@ function bench_cmds {
213213
# TODO(https://github.com/AztecProtocol/barretenberg/issues/1254): More complete testing, including failure tests
214214
function bench {
215215
rm -rf bench-out && mkdir -p bench-out
216-
bench_cmds | STRICT_SCHEDULING=1 parallelise
216+
bench_cmds | STRICT_SCHEDULING=1 parallelize
217217
}
218218

219219
case "$cmd" in

barretenberg/bbup/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function test_cmds {
1919
# This is not called in ci. It is just for a developer to run the tests.
2020
function test {
2121
echo_header "bbup test"
22-
test_cmds | filter_test_cmds | parallelise
22+
test_cmds | filter_test_cmds | parallelize
2323
}
2424

2525
case "$cmd" in

barretenberg/bbup/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ERROR="✗"
1212

1313
BB_DIR="${HOME}/.bb"
1414
INSTALL_PATH="${BB_DIR}/bbup"
15-
BBUP_URL="https://raw.githubusercontent.com/AztecProtocol/aztec-packages/master/barretenberg/bbup/bbup"
15+
BBUP_URL="https://raw.githubusercontent.com/AztecProtocol/aztec-packages/next/barretenberg/bbup/bbup"
1616

1717
# Create .bb directory if it doesn't exist
1818
mkdir -p "$BB_DIR"

barretenberg/cpp/bootstrap.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function test_cmds {
231231
# This is not called in ci. It is just for a developer to run the tests.
232232
function test {
233233
echo_header "bb test"
234-
test_cmds | filter_test_cmds | parallelise
234+
test_cmds | filter_test_cmds | parallelize
235235
}
236236

237237
function build_bench {
@@ -260,7 +260,7 @@ function bench_cmds {
260260
function bench {
261261
echo_header "bb bench"
262262
rm -rf bench-out && mkdir -p bench-out
263-
bench_cmds | STRICT_SCHEDULING=1 parallelise
263+
bench_cmds | STRICT_SCHEDULING=1 parallelize
264264
}
265265

266266
# Upload assets to release.
@@ -328,7 +328,7 @@ case "$cmd" in
328328
echo "Running commands:"
329329
ivc_bench_cmds "$flow_filter"
330330

331-
ivc_bench_cmds "$flow_filter" | STRICT_SCHEDULING=1 parallelise
331+
ivc_bench_cmds "$flow_filter" | STRICT_SCHEDULING=1 parallelize
332332
;;
333333
"hash")
334334
echo $hash

barretenberg/cpp/scripts/test_civc_standalone_vks_havent_changed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd ..
1111
# - Generate a hash for versioning: sha256sum bb-civc-inputs.tar.gz
1212
# - Upload the compressed results: aws s3 cp bb-civc-inputs.tar.gz s3://aztec-ci-artifacts/protocol/bb-civc-inputs-[hash(0:8)].tar.gz
1313
# Note: In case of the "Test suite failed to run ... Unexpected token 'with' " error, need to run: docker pull aztecprotocol/build:3.0
14-
pinned_short_hash="93eaa5ec"
14+
pinned_short_hash="2614fe09"
1515
pinned_civc_inputs_url="https://aztec-ci-artifacts.s3.us-east-2.amazonaws.com/protocol/bb-civc-inputs-${pinned_short_hash}.tar.gz"
1616

1717
function compress_and_upload {

barretenberg/cpp/scripts/test_coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function test_cmds {
2020
# ../acir_tests/bootstrap.sh test_cmds | grep -v main.js | grep -v browser
2121
# echo "disabled-cache NO_WASM=1 barretenberg/cpp/bootstrap.sh bench_ivc origin/master"
2222
}
23-
(test_cmds || exit 1) | parallelise
23+
(test_cmds || exit 1) | parallelize
2424
# Run llvm-profdata to merge raw profiles
2525
llvm-profdata-16 merge -sparse build-coverage/profdata/*.profraw -o build-coverage/coverage.profdata
2626

barretenberg/cpp/src/barretenberg/commitment_schemes/shplonk/shplonk.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ template <typename Curve> class ShplonkVerifier_ {
381381
pows_of_nu.reserve(num_claims);
382382

383383
commitments.insert(commitments.end(), polynomial_commitments.begin(), polynomial_commitments.end());
384-
scalars.insert(scalars.end(), commitments.size() - 1, Fr(0)); // Initialised as circuit constants
384+
scalars.insert(scalars.end(), commitments.size() - 1, Fr(0)); // Initialized as circuit constants
385385
// The first two powers of nu have already been initialized, we need another `num_claims - 2` powers to batch
386386
// all the claims
387387
for (size_t idx = 0; idx < num_claims - 2; idx++) {

0 commit comments

Comments
 (0)