From 7968ccad58b74274db5411ca47a0654100d884d2 Mon Sep 17 00:00:00 2001 From: AztecBot Date: Thu, 23 Jan 2025 20:09:30 +0000 Subject: [PATCH] chore: redo typo PR --- barretenberg/acir_tests/headless-test/src/index.ts | 2 +- barretenberg/acir_tests/run_acir_tests.sh | 6 +++--- barretenberg/cpp/docs/Fuzzing.md | 2 +- barretenberg/cpp/installation/bbup | 4 ++-- barretenberg/cpp/pil/avm/gadgets/mem_slice.pil | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/barretenberg/acir_tests/headless-test/src/index.ts b/barretenberg/acir_tests/headless-test/src/index.ts index b1d7672c67d..e3cda453b2d 100644 --- a/barretenberg/acir_tests/headless-test/src/index.ts +++ b/barretenberg/acir_tests/headless-test/src/index.ts @@ -66,7 +66,7 @@ program "Specify the path to the gzip encoded ACIR witness", "./target/witness.gz" ) - .action(async ({ bytecodePath, witnessPath, recursive }) => { + .action(async ({ bytecodePath, witnessPath, }) => { const acir = readBytecodeFile(bytecodePath); const witness = readWitnessFile(witnessPath); const threads = Math.min(os.cpus().length, 16); diff --git a/barretenberg/acir_tests/run_acir_tests.sh b/barretenberg/acir_tests/run_acir_tests.sh index 21eb4f5c214..7b53b724340 100755 --- a/barretenberg/acir_tests/run_acir_tests.sh +++ b/barretenberg/acir_tests/run_acir_tests.sh @@ -55,8 +55,8 @@ export BIN CRS_PATH VERBOSE BRANCH RECURSIVE cd acir_tests # Convert them to array -# There are no issues witht the tests below but as they check proper handling of dependencies or circuits that are part of a workspace -# running these require extra gluecode so they are skipped for the purpose of this script +# There are no issues with the tests below but as they check proper handling of dependencies or circuits that are part of a workspace +# running these require extra glue code so they are skipped for the purpose of this script SKIP_ARRAY=(diamond_deps_0 workspace workspace_default_member) # TODO(https://github.com/AztecProtocol/barretenberg/issues/1108): problem regardless the proof system used @@ -147,4 +147,4 @@ if [ -f "$error_file" ]; then rm "$error_file" echo "Error occurred in one or more child processes. Exiting..." exit 1 -fi \ No newline at end of file +fi diff --git a/barretenberg/cpp/docs/Fuzzing.md b/barretenberg/cpp/docs/Fuzzing.md index 3acfbc4fa72..e25fa136bc0 100644 --- a/barretenberg/cpp/docs/Fuzzing.md +++ b/barretenberg/cpp/docs/Fuzzing.md @@ -61,7 +61,7 @@ The purpose of each parameter: - -shrink=1 - If a new testcase is encountered that has the same coverage as some previous one in the corpus and the testcase is smaller, replace the one in the corpus with the new one. Helps keep exec/s higher. - -artifact_prefix=crashes/ - Where to save crashes/timeouts/ooms. - -use_value_profile=1 - Leverage libfuzzer internal CMP analysis. Very useful, but blows the corpus up. -- (../../../\_testcases) - The path to the folder, where corpus testcases are going to be saved and loaded from (also loads testcases from there at the start of fuzzing). +- (`../../../_testcases`) - The path to the folder, where corpus testcases are going to be saved and loaded from (also loads testcases from there at the start of fuzzing). Log structure is described here https://llvm.org/docs/LibFuzzer.html diff --git a/barretenberg/cpp/installation/bbup b/barretenberg/cpp/installation/bbup index e26d38999f4..0bdc3a3807a 100755 --- a/barretenberg/cpp/installation/bbup +++ b/barretenberg/cpp/installation/bbup @@ -49,7 +49,7 @@ main() { # Reject unsupported architectures. if [ "${ARCHITECTURE}" != "x86_64" ] && [ "${ARCHITECTURE}" != "aarch64" ]; then - err "unsupported architecure: $ARCHITECTURE-$PLATFORM" + err "unsupported architecture: $ARCHITECTURE-$PLATFORM" fi BBUP_TAG=$BBUP_VERSION @@ -114,4 +114,4 @@ ensure() { if ! "$@"; then err "command failed: $*"; fi } -main "$@" || exit 1 \ No newline at end of file +main "$@" || exit 1 diff --git a/barretenberg/cpp/pil/avm/gadgets/mem_slice.pil b/barretenberg/cpp/pil/avm/gadgets/mem_slice.pil index 1f0b9ee3dd3..03d5d2959e2 100644 --- a/barretenberg/cpp/pil/avm/gadgets/mem_slice.pil +++ b/barretenberg/cpp/pil/avm/gadgets/mem_slice.pil @@ -22,12 +22,12 @@ namespace slice(256); // a memory operation. The following relations ensure that exactly one operation // selector sel_cd_cpy/sel_return is activated per row with a non-zero counter and // that within a given operation the pertaining selector is enabled. (One prevents - // to activate sel_return during a callatacopy operation and vice-versa.) + // to activate sel_return during a calldatacopy operation and vice-versa.) sel_mem_active = sel_cd_cpy + sel_return; // Instruction decomposition guarantees that sel_cd_cpy and sel_return are mutually exclusive on - // the first row of the calldatcopy/return operation. + // the first row of the calldatacopy/return operation. // Show that cnt != 0 <==> sel_mem_active == 1 // one_min_inv == 1 - cnt^(-1) if cnt != 0 else == 0 @@ -76,4 +76,4 @@ namespace slice(256); // In such a case, we have to disable tag check specifically for RETURN opcode. #[LOOKUP_RET_VALUE] - sel_return {col_offset, val} in main.sel_returndata {main.clk, main.returndata}; \ No newline at end of file + sel_return {col_offset, val} in main.sel_returndata {main.clk, main.returndata};