From cd5ef589582a8ea5659392065001b5c9efe0d088 Mon Sep 17 00:00:00 2001 From: "jtriley.eth" Date: Wed, 4 Dec 2024 11:27:14 -0600 Subject: [PATCH 1/4] update noir v1.0.0 --- .github/workflows/test.yml | 2 +- Nargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f9c585..f818925 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: - name: Install Nargo uses: noir-lang/noirup@v0.1.3 with: - toolchain: 0.36.0 + toolchain: 1.0.0-beta.0 - name: Run formatter run: nargo fmt --check diff --git a/Nargo.toml b/Nargo.toml index e7702ab..712a122 100644 --- a/Nargo.toml +++ b/Nargo.toml @@ -2,6 +2,6 @@ name = "noir_base64" type = "lib" authors = [""] -compiler_version = ">=0.36.0" +compiler_version = ">=1.0.0" [dependencies] From 62af5041630f4ed7f47ade312a99d11c3d1eca0d Mon Sep 17 00:00:00 2001 From: "jtriley.eth" Date: Wed, 4 Dec 2024 12:06:27 -0600 Subject: [PATCH 2/4] add deps --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index de2840c..f9cc410 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,13 @@ A Base64 encoding/decoding library written in Noir which can encode arbitrary byte arrays into Base64 and decode Base64-encoded byte arrays (e.g. `"SGVsbG8gV29ybGQ=".as_bytes()`). +## Dependencies + +- Noir >=1.0.0 +- Barretenberg ≥v0.56.1 + +Refer to [Noir's docs](https://noir-lang.org/docs/getting_started/quick_start) and [Barretenberg's docs](https://github.com/AztecProtocol/aztec-packages/blob/master/barretenberg/cpp/src/barretenberg/bb/readme.md#installation) for installation steps. + ## Usage ### Configuration Start by selecting the encoder or decoder for your configuration. These are defined separately so that only one lookup table will be instantiated at a time, since many cases will require either an encoder or a decoder but not both. From 3d1fc1ddd0392c5e58c0fe1c1e1f65cce7115c5a Mon Sep 17 00:00:00 2001 From: "jtriley.eth" Date: Wed, 4 Dec 2024 12:08:14 -0600 Subject: [PATCH 3/4] typo --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f818925..cf8ef03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - toolchain: [nightly, 0.36.0, 1.0.0-beta.0] + toolchain: [nightly, 1.0.0-beta.0] steps: - name: Checkout sources uses: actions/checkout@v4 From af8c7a6eff0b40397bcb731c94ba0f79be9d13f9 Mon Sep 17 00:00:00 2001 From: "jtriley.eth" Date: Wed, 4 Dec 2024 12:31:02 -0600 Subject: [PATCH 4/4] fix --- .github/workflows/test.yml | 4 ++-- Nargo.toml | 2 +- README.md | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf8ef03..2f9c585 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - toolchain: [nightly, 1.0.0-beta.0] + toolchain: [nightly, 0.36.0, 1.0.0-beta.0] steps: - name: Checkout sources uses: actions/checkout@v4 @@ -38,7 +38,7 @@ jobs: - name: Install Nargo uses: noir-lang/noirup@v0.1.3 with: - toolchain: 1.0.0-beta.0 + toolchain: 0.36.0 - name: Run formatter run: nargo fmt --check diff --git a/Nargo.toml b/Nargo.toml index 712a122..e7702ab 100644 --- a/Nargo.toml +++ b/Nargo.toml @@ -2,6 +2,6 @@ name = "noir_base64" type = "lib" authors = [""] -compiler_version = ">=1.0.0" +compiler_version = ">=0.36.0" [dependencies] diff --git a/README.md b/README.md index f9cc410..e60f240 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A Base64 encoding/decoding library written in Noir which can encode arbitrary byte arrays into Base64 and decode Base64-encoded byte arrays (e.g. `"SGVsbG8gV29ybGQ=".as_bytes()`). +## Noir Version Compatibility + +We have tested this library with Noir nightly, 0.36.0, and 1.0.0-beta.0 + ## Dependencies - Noir >=1.0.0