From f597ea833ca952492a5b1e1c50ce86ced2103a73 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:45:31 +0000 Subject: [PATCH 01/46] feat(spartan): cl layer in spartan --- .github/workflows/devnet-deploy.yml | 2 +- .release-please-manifest.json | 2 +- .yarn/install-state.gz | Bin 0 -> 719 bytes barretenberg/ts/CHANGELOG.md | 748 +++++------- barretenberg/ts/package.json | 2 +- .../crates/rollup-block-merge/Prover.toml | 4 + .../block_root/block_root_rollup_inputs.nr | 93 ++ .../src/ssa/opt/normalize_value_ids.rs | 5 +- .../src/ssa/ssa_gen/context.rs | 7 + .../tooling/lsp/src/requests/completion.rs | 1 + package.json | 3 + spartan/aztec-network/.gitignore | 1 + spartan/aztec-network/eth-devnet/README.md | 62 + .../eth-devnet/config/config.yaml | 144 +++ .../eth-devnet/config/genesis.json | 1078 +++++++++++++++++ .../eth-devnet/config/jwt-secret.hex | 1 + .../eth-devnet/config/mnemonics.yaml | 3 + spartan/aztec-network/eth-devnet/create.sh | 173 +++ .../aztec-network/files/config/genesis.json | 179 --- .../files/config/setup-service-addresses.sh | 4 +- spartan/aztec-network/templates/_helpers.tpl | 2 +- .../templates/deploy-l1-verifier.yaml | 2 +- .../aztec-network/templates/eth-beacon.yaml | 120 ++ .../templates/eth-execution.yaml | 120 ++ .../templates/eth-validator.yaml | 101 ++ spartan/aztec-network/templates/reth.yaml | 172 --- .../templates/setup-l2-contracts.yaml | 2 +- spartan/aztec-network/values.yaml | 3 + spartan/aztec-network/values/ci-smoke.yaml | 19 +- spartan/aztec-network/values/ci.yaml | 21 +- yarn-project/aztec/package.json | 2 +- .../bb-prover/src/avm_proving.test.ts | 41 + .../rollup/empty_block_root_rollup_inputs.ts | 2 +- .../end-to-end/scripts/network_test.sh | 44 +- .../end-to-end/src/spartan/4epochs.test.ts | 2 +- .../src/spartan/gating-passive.test.ts | 2 +- .../end-to-end/src/spartan/reorg.test.ts | 2 +- .../end-to-end/src/spartan/smoke.test.ts | 2 +- .../ethereum/src/deploy_l1_contracts.ts | 2 + .../src/orchestrator/orchestrator.ts | 18 +- .../broker_prover_facade.test.ts | 15 + .../proving_broker/broker_prover_facade.ts | 14 + yarn-project/telemetry-client/package.json | 2 +- yarn-project/txe/src/oracle/txe_oracle.ts | 4 + yarn.lock | 12 + 45 files changed, 2383 insertions(+), 855 deletions(-) create mode 100644 .yarn/install-state.gz create mode 100644 package.json create mode 100644 spartan/aztec-network/.gitignore create mode 100644 spartan/aztec-network/eth-devnet/README.md create mode 100644 spartan/aztec-network/eth-devnet/config/config.yaml create mode 100644 spartan/aztec-network/eth-devnet/config/genesis.json create mode 100644 spartan/aztec-network/eth-devnet/config/jwt-secret.hex create mode 100644 spartan/aztec-network/eth-devnet/config/mnemonics.yaml create mode 100755 spartan/aztec-network/eth-devnet/create.sh delete mode 100644 spartan/aztec-network/files/config/genesis.json create mode 100644 spartan/aztec-network/templates/eth-beacon.yaml create mode 100644 spartan/aztec-network/templates/eth-execution.yaml create mode 100644 spartan/aztec-network/templates/eth-validator.yaml delete mode 100644 spartan/aztec-network/templates/reth.yaml create mode 100644 yarn.lock diff --git a/.github/workflows/devnet-deploy.yml b/.github/workflows/devnet-deploy.yml index 73e70ae5e1ad..04a22d5713fd 100644 --- a/.github/workflows/devnet-deploy.yml +++ b/.github/workflows/devnet-deploy.yml @@ -111,7 +111,7 @@ jobs: PXE_PORT="$(jq -r .pxe.service.nodePort helm_values.json)" FAUCET_PORT="$(jq -r .faucet.apiServerPort helm_values.json)" - ETHEREUM_PORT="$(jq -r .ethereum.service.port helm_values.json)" + ETHEREUM_PORT="$(jq -r .ethereum.execution.service.port helm_values.json)" L1_CHAIN_ID="$(jq -r .ethereum.chainId helm_values.json)" MNEMONIC="$(jq -r .aztec.l1DeploymentMnemonic helm_values.json)" diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8047d00eb4a5..78f65973e484 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,4 +4,4 @@ "yarn-project/aztec": "0.71.0", "barretenberg": "0.71.0", "barretenberg/ts": "0.71.0" -} +} \ No newline at end of file diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz new file mode 100644 index 0000000000000000000000000000000000000000..3c5726bddda6971f2d267efe200e7ce6a0c0d010 GIT binary patch literal 719 zcmV;=0x$e5` zRK}CGAmugqXJ0SL?ZQ~8y`%|sQb|Q;P)IbvvY=^{HW?9;P>#lsyn`6H(!qpi6`^q6)=N|LA1byaZDr~rIk#PWrZ>zCHvbi_1##? z^y)(y*LCoKuV~PWOR|a&BHriyU&~0Aqt6#e4jyuCk8hUk-si6Wj%_7}Jl!u&7C;oyFg?#e7Y8!_RC8U8*GjBCByWiftCtp4+-bx$zJ~r444K}%n+Y_3u!KOB|ryLH5;~5T^ zBWCEZZo&8n_ys3FgWvv>dH(=kgr;lq9PMV+?vca3!1_(s!*~{0W>S$=Trt000lG BV}1Yt literal 0 HcmV?d00001 diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index 7e1d7ae532bc..e3ecec31585c 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -2,1414 +2,1218 @@ ## [0.71.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.70.0...barretenberg.js-v0.71.0) (2025-01-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.70.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.1...barretenberg.js-v0.70.0) (2025-01-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.0...barretenberg.js-v0.69.1) (2025-01-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.2...barretenberg.js-v0.69.0) (2025-01-03) - ### Miscellaneous -* Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) +- Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) ## [0.68.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.1...barretenberg.js-v0.68.2) (2024-12-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.0...barretenberg.js-v0.68.1) (2024-12-23) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.1...barretenberg.js-v0.68.0) (2024-12-20) - ### Features -* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) -* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) -* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) - +- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) ### Bug Fixes -* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) -* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) -* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) -* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) -* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) - +- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) ### Miscellaneous -* Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) -* **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) -* **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) -* **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) -* **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) -* **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) -* **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) -* **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) +- Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) +- **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) +- **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) +- **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) +- **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) +- **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) +- **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) +- **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) ## [0.67.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.0...barretenberg.js-v0.67.1) (2024-12-17) - ### Features -* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) - +- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) ### Bug Fixes -* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) ## [0.67.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.66.0...barretenberg.js-v0.67.0) (2024-12-13) - ### Features -* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) - +- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) ### Bug Fixes -* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) ## [0.66.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.2...barretenberg.js-v0.66.0) (2024-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.1...barretenberg.js-v0.65.2) (2024-11-28) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.0...barretenberg.js-v0.65.1) (2024-11-27) - ### Features -* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) - +- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) ### Bug Fixes -* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) ## [0.65.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.64.0...barretenberg.js-v0.65.0) (2024-11-26) - ### Bug Fixes -* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) ## [0.64.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.1...barretenberg.js-v0.64.0) (2024-11-25) - ### Features -* Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) - +- Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) ### Bug Fixes -* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) - +- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) ### Documentation -* Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) +- Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) ## [0.63.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.0...barretenberg.js-v0.63.1) (2024-11-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.63.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.62.0...barretenberg.js-v0.63.0) (2024-11-19) - ### ⚠ BREAKING CHANGES -* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) +- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ### Features -* Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) -* Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) -* Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) - +- Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) +- Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) +- Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) ### Bug Fixes -* Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) - +- Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) ### Miscellaneous -* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) +- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) ## [0.62.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.61.0...barretenberg.js-v0.62.0) (2024-11-01) - ### Features -* Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) +- Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) ## [0.61.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.60.0...barretenberg.js-v0.61.0) (2024-10-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.60.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.59.0...barretenberg.js-v0.60.0) (2024-10-24) - ### Features -* Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) - +- Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) ### Miscellaneous -* Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) +- Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) ## [0.59.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.58.0...barretenberg.js-v0.59.0) (2024-10-21) - ### Bug Fixes -* Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) +- Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) ## [0.58.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.57.0...barretenberg.js-v0.58.0) (2024-10-18) - ### Features -* Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) -* Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) -* Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) - +- Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) +- Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) +- Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) ### Bug Fixes -* Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) -* Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) -* Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) -* Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) -* Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) +- Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) +- Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) +- Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) +- Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) +- Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) ## [0.57.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.56.0...barretenberg.js-v0.57.0) (2024-10-07) - ### Features -* Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) -* CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) -* Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) - +- Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) +- CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) +- Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) ### Bug Fixes -* **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) -* **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) - +- **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) +- **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) ### Miscellaneous -* Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) -* Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) +- Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) +- Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) ## [0.56.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.1...barretenberg.js-v0.56.0) (2024-09-25) - ### Features -* Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) - +- Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) ### Bug Fixes -* Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) - +- Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) ### Miscellaneous -* Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) +- Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) ## [0.55.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.0...barretenberg.js-v0.55.1) (2024-09-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.55.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.54.0...barretenberg.js-v0.55.0) (2024-09-13) - ### Features -* New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) +- New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) ## [0.54.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.53.0...barretenberg.js-v0.54.0) (2024-09-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.53.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.52.0...barretenberg.js-v0.53.0) (2024-09-09) - ### Bug Fixes -* HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) +- HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) ## [0.52.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.1...barretenberg.js-v0.52.0) (2024-09-01) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.0...barretenberg.js-v0.51.1) (2024-08-29) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.1...barretenberg.js-v0.51.0) (2024-08-27) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.0...barretenberg.js-v0.50.1) (2024-08-23) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.2...barretenberg.js-v0.50.0) (2024-08-22) - ### Miscellaneous -* Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) +- Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) ## [0.49.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.1...barretenberg.js-v0.49.2) (2024-08-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.48.0...barretenberg.js-v0.49.0) (2024-08-15) - ### Miscellaneous -* Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) +- Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) ## [0.48.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.1...barretenberg.js-v0.48.0) (2024-08-12) - ### Features -* Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) - +- Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) ### Bug Fixes -* Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) +- Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) ## [0.47.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.0...barretenberg.js-v0.47.1) (2024-07-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.47.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.7...barretenberg.js-v0.47.0) (2024-07-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.6...barretenberg.js-v0.46.7) (2024-07-16) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) - ### Features -* Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) - +- Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) ### Miscellaneous -* **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) - +- **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) ### Documentation -* Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) +- Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) ## [0.46.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.4...barretenberg.js-v0.46.5) (2024-07-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.3...barretenberg.js-v0.46.4) (2024-07-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.2...barretenberg.js-v0.46.3) (2024-07-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.1...barretenberg.js-v0.46.2) (2024-07-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.1...barretenberg.js-v0.46.0) (2024-07-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.0...barretenberg.js-v0.45.1) (2024-07-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) - ### Bug Fixes -* False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) +- False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) ## [0.43.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.42.0...barretenberg.js-v0.43.0) (2024-06-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.42.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.41.0...barretenberg.js-v0.42.0) (2024-06-04) - ### Features -* Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) -* Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) -* Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) -* Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) - +- Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) +- Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) +- Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) +- Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) ### Bug Fixes -* Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) - +- Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) ### Miscellaneous -* Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) -* Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) +- Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) +- Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) ## [0.41.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.1...barretenberg.js-v0.41.0) (2024-05-21) - ### Features -* Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) - +- Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) ### Miscellaneous -* Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) +- Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) ## [0.40.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.0...barretenberg.js-v0.40.1) (2024-05-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.40.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.39.0...barretenberg.js-v0.40.0) (2024-05-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.39.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.38.0...barretenberg.js-v0.39.0) (2024-05-14) - ### ⚠ BREAKING CHANGES -* switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) +- switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ### Features -* Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) +- Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) ## [0.38.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.37.0...barretenberg.js-v0.38.0) (2024-05-07) - ### ⚠ BREAKING CHANGES -* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) +- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ### Features -* `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) -* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) -* Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) -* Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) - +- `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) +- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) +- Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) +- Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) ### Miscellaneous -* Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) -* Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) +- Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) +- Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) ## [0.37.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.36.0...barretenberg.js-v0.37.0) (2024-05-02) - ### Features -* Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) +- Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) ## [0.36.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.1...barretenberg.js-v0.36.0) (2024-04-30) - ### Miscellaneous -* Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) +- Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) ## [0.35.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.0...barretenberg.js-v0.35.1) (2024-04-16) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.35.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.34.0...barretenberg.js-v0.35.0) (2024-04-16) - ### Features -* Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) - +- Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) ### Miscellaneous -* Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) -* TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) +- Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) +- TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) ## [0.34.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.33.0...barretenberg.js-v0.34.0) (2024-04-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.33.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.1...barretenberg.js-v0.33.0) (2024-04-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.32.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.0...barretenberg.js-v0.32.1) (2024-04-02) - ### Features -* Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) - +- Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) ### Bug Fixes -* **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) +- **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) ## [0.32.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.31.0...barretenberg.js-v0.32.0) (2024-03-27) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.31.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.1...barretenberg.js-v0.31.0) (2024-03-26) - ### Features -* Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) -* Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) -* Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) +- Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) +- Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) +- Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) ## [0.30.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.0...barretenberg.js-v0.30.1) (2024-03-20) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.30.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.29.0...barretenberg.js-v0.30.0) (2024-03-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.29.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.1...barretenberg.js-v0.29.0) (2024-03-18) - ### Features -* Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) +- Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) ## [0.28.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.0...barretenberg.js-v0.28.1) (2024-03-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.28.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.2...barretenberg.js-v0.28.0) (2024-03-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.1...barretenberg.js-v0.27.2) (2024-03-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.0...barretenberg.js-v0.27.1) (2024-03-12) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.6...barretenberg.js-v0.27.0) (2024-03-12) - ### Miscellaneous -* Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) +- Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) ## [0.26.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.5...barretenberg.js-v0.26.6) (2024-03-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.4...barretenberg.js-v0.26.5) (2024-03-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.2...barretenberg.js-v0.26.3) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.1...barretenberg.js-v0.26.2) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.0...barretenberg.js-v0.26.1) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.25.0...barretenberg.js-v0.26.0) (2024-03-05) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.25.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.24.0...barretenberg.js-v0.25.0) (2024-03-05) - ### Features -* Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) - +- Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) ### Miscellaneous -* Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) -* Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) -* Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) +- Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) +- Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) +- Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) ## [0.24.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.23.0...barretenberg.js-v0.24.0) (2024-02-13) - ### Features -* Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) +- Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) ## [0.23.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.22.0...barretenberg.js-v0.23.0) (2024-02-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) - ### ⚠ BREAKING CHANGES -* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ### Miscellaneous -* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.20.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.19.0...barretenberg.js-v0.20.0) (2024-01-22) - ### Features -* Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) +- Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) ## [0.19.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.18.0...barretenberg.js-v0.19.0) (2024-01-17) - ### Miscellaneous -* Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) +- Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) ## [0.18.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.17.0...barretenberg.js-v0.18.0) (2024-01-16) - ### Features -* Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) - +- Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) ### Bug Fixes -* Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) +- Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) ## [0.17.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.9...barretenberg.js-v0.17.0) (2024-01-09) - ### ⚠ BREAKING CHANGES -* return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) +- return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ### Features -* Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) -* Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) -* Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) -* Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) - +- Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) +- Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) +- Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) +- Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) ### Miscellaneous -* Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) -* Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) +- Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) +- Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) ## [0.16.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.8...barretenberg.js-v0.16.9) (2023-12-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.7...barretenberg.js-v0.16.8) (2023-12-13) - ### Bug Fixes -* Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) -* Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) +- Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) +- Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) ## [0.16.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.6...barretenberg.js-v0.16.7) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.5...barretenberg.js-v0.16.6) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.3...barretenberg.js-v0.16.4) (2023-12-05) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.2...barretenberg.js-v0.16.3) (2023-12-05) - ### Miscellaneous -* CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) +- CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.1...barretenberg.js-v0.16.2) (2023-12-05) - ### Miscellaneous -* Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) -* Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) +- Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) +- Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) ## [0.16.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.0...barretenberg.js-v0.16.1) (2023-11-28) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.1...barretenberg.js-v0.16.0) (2023-11-27) - ### Miscellaneous -* Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) +- Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) ## [0.15.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.0...barretenberg.js-v0.15.1) (2023-11-21) - ### Features -* **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) - +- **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) ### Miscellaneous -* All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) +- All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) ## [0.15.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.2...barretenberg.js-v0.15.0) (2023-11-16) - ### ⚠ BREAKING CHANGES -* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) +- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ### Bug Fixes -* Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) - +- Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) ### Miscellaneous -* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) -* Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) +- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) +- Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) ## [0.14.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) - ### Features -* Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) +- Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) ## [0.14.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.0...barretenberg.js-v0.14.1) (2023-11-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.14.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.1...barretenberg.js-v0.14.0) (2023-11-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.0...barretenberg.js-v0.13.1) (2023-10-31) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.12.0...barretenberg.js-v0.13.0) (2023-10-31) - ### Features -* New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) - +- New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) ### Miscellaneous -* Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) -* Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) -* Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) +- Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) +- Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) +- Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) ## [0.12.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.1...barretenberg.js-v0.12.0) (2023-10-26) - ### ⚠ BREAKING CHANGES -* remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) +- remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ### Miscellaneous -* Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) -* Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) -* Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) -* Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) +- Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) +- Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) +- Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) +- Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) ## [0.11.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.0...barretenberg.js-v0.11.1) (2023-10-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.11.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) - ### Features -* Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) +- Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) ## [0.10.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.0...barretenberg.js-v0.10.1) (2023-10-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.10.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.9.0...barretenberg.js-v0.10.0) (2023-10-24) - ### Features -* Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) +- Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) ## [0.9.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.14...barretenberg.js-v0.9.0) (2023-10-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.14](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.13...barretenberg.js-v0.8.14) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.13](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.12...barretenberg.js-v0.8.13) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.12](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.11...barretenberg.js-v0.8.12) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.11](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.10...barretenberg.js-v0.8.11) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.9...barretenberg.js-v0.8.10) (2023-10-11) - ### Features -* Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) +- Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) ## [0.8.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.8...barretenberg.js-v0.8.9) (2023-10-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.7...barretenberg.js-v0.8.8) (2023-10-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.6...barretenberg.js-v0.8.7) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.5...barretenberg.js-v0.8.6) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.4...barretenberg.js-v0.8.5) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.3...barretenberg.js-v0.8.4) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.2...barretenberg.js-v0.8.3) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.1...barretenberg.js-v0.8.2) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.0...barretenberg.js-v0.8.1) (2023-10-03) - ### Bug Fixes -* Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) +- Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) ## [0.8.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.10...barretenberg.js-v0.8.0) (2023-10-03) - ### ⚠ BREAKING CHANGES -* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) +- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ### Bug Fixes -* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) - +- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) ### Miscellaneous -* Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) -* Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) -* Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) +- Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) +- Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) +- Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) ## [0.7.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.9...barretenberg.js-v0.7.10) (2023-09-20) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.8...barretenberg.js-v0.7.9) (2023-09-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.7...barretenberg.js-v0.7.8) (2023-09-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.6...barretenberg.js-v0.7.7) (2023-09-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.5...barretenberg.js-v0.7.6) (2023-09-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.4...barretenberg.js-v0.7.5) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.3...barretenberg.js-v0.7.4) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.2...barretenberg.js-v0.7.3) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.1...barretenberg.js-v0.7.2) (2023-09-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.0...barretenberg.js-v0.7.1) (2023-09-14) - ### Miscellaneous -* Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) +- Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) ## [0.7.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) - ### Bug Fixes -* Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) - +- Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) ### Miscellaneous -* Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) +- Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) ## [0.6.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.6...barretenberg.js-v0.6.7) (2023-09-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.5...barretenberg.js-v0.6.6) (2023-09-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.4...barretenberg.js-v0.6.5) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.3...barretenberg.js-v0.6.4) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.2...barretenberg.js-v0.6.3) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.1...barretenberg.js-v0.6.2) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.6.1) (2023-09-08) - ### Miscellaneous -* **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) -* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) -* Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) +- **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) +- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +- Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) ## [0.5.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.5.2) (2023-09-08) - ### Miscellaneous -* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) ## [0.5.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.5.0...barretenberg.js-v0.5.1) (2023-09-05) - ### Features -* Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) -* **ci:** Use content hash in build system, restrict docs build to *.ts or *.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) - +- Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) +- **ci:** Use content hash in build system, restrict docs build to _.ts or _.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) ### Bug Fixes -* **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) -* **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) -* Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) +- **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) +- **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) +- Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) ## [0.5.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.6...barretenberg.js-v0.5.0) (2023-09-01) - ### ⚠ BREAKING CHANGES -* update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) +- update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ### Miscellaneous Chores -* Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) +- Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) ## [0.4.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.5...barretenberg.js-v0.4.6) (2023-08-29) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.4...barretenberg.js-v0.4.5) (2023-08-28) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.3...barretenberg.js-v0.4.4) (2023-08-28) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.2...barretenberg.js-v0.4.3) (2023-08-23) - ### Bug Fixes -* Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) -* Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) +- Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) +- Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) ## [0.4.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.1...barretenberg.js-v0.4.2) (2023-08-21) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.0...barretenberg.js-v0.4.1) (2023-08-21) - ### Bug Fixes -* **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) +- **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) ## [0.4.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.6...barretenberg.js-v0.4.0) (2023-08-21) - ### ⚠ BREAKING CHANGES -* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) +- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ### Bug Fixes -* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) -* Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) -* Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) +- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) +- Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) +- Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) ## [0.3.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.5...barretenberg.js-v0.3.6) (2023-08-08) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.4...barretenberg.js-v0.3.5) (2023-08-07) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.3...barretenberg.js-v0.3.4) (2023-07-25) - ### Features -* Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) +- Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) ## [0.3.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.2...barretenberg.js-v0.3.3) (2023-07-17) - ### Features -* Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) +- Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) ## [0.3.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.1...barretenberg.js-v0.3.2) (2023-07-12) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.0...barretenberg.js-v0.3.1) (2023-07-11) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## 0.3.0 (2023-07-11) - ### Features -* **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) -* **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) -* Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) -* Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) -* **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) - +- **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) +- **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) +- Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) +- Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) +- **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) ### Bug Fixes -* **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) -* bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) -* Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) +- **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) +- bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) +- Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index 5512cb9a003a..51a21aa9dee4 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -102,4 +102,4 @@ "webpack-dev-server": "^4.15.0", "worker-loader": "^3.0.8" } -} +} \ No newline at end of file diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml index 39a35c24c7cb..2170db5dbca0 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml @@ -3403,6 +3403,10 @@ prover_id = "0x0000000000000000000000000000000000000000000000000000000000000051" root = "0x1cffcc63d710ac154b6732b7661770c7a418ccc3c057d66d3f9cf29575d33472" next_available_leaf_index = "0x000000000000000000000000000000000000000000000000000000000000000a" + [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.new_archive] + root = "0x1566582e6653f16bc9df9431aeb78df062bf2700872597c2c497d5fd9f9b1fb2" + next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000009" + [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.start_global_variables] chain_id = "0x0000000000000000000000000000000000000000000000000000000000007a69" version = "0x0000000000000000000000000000000000000000000000000000000000000001" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr index 915eef2cca05..b29d57105772 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr @@ -193,4 +193,97 @@ pub(crate) mod tests { let _ = builder.execute(); } + + #[test] + unconstrained fn correct_block_root_rollup_output() { + let builder = TestBuilder::new().mock_evaluate_blobs(); + + let output = builder.execute(); + + let left_rollup = builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs; + let right_rollup = builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs; + + assert_eq(output.previous_archive, left_rollup.constants.last_archive); + assert(output.new_archive != output.previous_archive); + assert_eq(output.start_global_variables, left_rollup.constants.global_variables); + assert_eq(output.end_global_variables, left_rollup.constants.global_variables); + + let expected_out_hash = accumulate_sha256([left_rollup.out_hash, right_rollup.out_hash]); + assert_eq(output.out_hash, expected_out_hash); + + let expected_fee = FeeRecipient { + recipient: left_rollup.constants.global_variables.coinbase, + value: left_rollup.accumulated_fees + right_rollup.accumulated_fees, + }; + assert_array_eq(output.fees, [expected_fee]); + } + + #[test] + fn correct_blob_with_non_empty_fields() { + // Note: this test will not run in unconstrained, because it reaches the foreign call + // TODO(#10323): remove the oracle and switch this test to unconstrained + + // The below values are generated from block_building_helper.test.ts. + let blob_fields_0 = [ + 0x000000000000000000000000000000000074785f737461727400000500010000, + 0x000000000000000000000000000000000000000000000000000000000000002a, + 0x0002000000000000000000000000000000000000000000000000000000000000, + 0x0000000000000000000000000000000000000000000000000000000004000001, + 0x0000000000000000000000000000000000000000000000000000000000000123, + ]; + let blob_fields_1 = [ + 0x000000000000000000000000000000000074785f737461727400000700010000, + 0x000000000000000000000000000000000000000000000000000000000000002b, + 0x0002000000000000000000000000000000000000000000000000000000000000, + 0x0000000000000000000000000000000000000000000000000000000003000001, + 0x0000000000000000000000000000000000000000000000000000000000006789, + 0x0000000000000000000000000000000000000000000000000000000004000001, + 0x0000000000000000000000000000000000000000000000000000000000000045, + ]; + let expected_blob_commitment = [ + 0x008c32fe581c8fdba12c0d7597911dead2d937d68525bae655508412bb53bb98, + 0x0000000000000000000000000000006aaa0680f21270e7d8de4e19da5164f95c, + ]; + let expected_blobs_hash = + 0x00a965619c8668b834755678b32d023b9c5e8588ce449f44f7fa9335455b5cc5; + let expected_z = 0x1f92b871671f27a378d23f1cef10fbd8f0d90dd7172da9e3c3fc1aa745a072c3; + + let mut builder = TestBuilder::new_with_blobs_fields(blob_fields_0, blob_fields_1); + builder.data.blob_commitments[0].inner = expected_blob_commitment; + builder.data.blobs_hash = expected_blobs_hash; + + let output = builder.execute(); + + let start_sponge_blob = + builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob; + let end_sponge_blob = + builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs.end_sponge_blob; + let blobs_fields = array_concat(blob_fields_0, blob_fields_1); + let mut expected_sponge = start_sponge_blob; + expected_sponge.absorb(blobs_fields, blobs_fields.len()); + assert(!end_sponge_blob.eq(start_sponge_blob)); + assert(end_sponge_blob.eq(expected_sponge)); + + let hashed_tx_effects = expected_sponge.squeeze(); + let computed_z = Poseidon2::hash( + [hashed_tx_effects, expected_blob_commitment[0], expected_blob_commitment[1]], + 3, + ); + assert_eq(computed_z, expected_z); + assert_eq(output.blob_public_inputs[0].inner[0].z, expected_z); + assert_eq( + output.blob_public_inputs[0].inner[0].kzg_commitment.inner, + expected_blob_commitment, + ); + } + + #[test(should_fail_with = "block's first blob sponge was not empty")] + unconstrained fn non_empty_start_blob_fails() { + let mut builder = TestBuilder::new(); + + builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob.fields = + 1; + + let _ = builder.execute(); + } } diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs index b248f6734a90..11986d080d56 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs @@ -3,6 +3,7 @@ use std::collections::BTreeMap; use crate::ssa::{ ir::{ basic_block::BasicBlockId, + dfg::DataFlowGraph, function::{Function, FunctionId}, map::SparseMap, post_order::PostOrder, @@ -25,7 +26,7 @@ impl Ssa { let mut context = Context::default(); context.populate_functions(&self.functions); for function in self.functions.values_mut() { - context.normalize_ids(function); + context.normalize_ids(function, &self.globals.dfg); } self.functions = context.functions.into_btree(); } @@ -65,7 +66,7 @@ impl Context { } } - fn normalize_ids(&mut self, old_function: &mut Function) { + fn normalize_ids(&mut self, old_function: &mut Function, globals: &DataFlowGraph) { self.new_ids.blocks.clear(); self.new_ids.values.clear(); diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index 0b778ef9b78d..c06e22ea66e8 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -123,6 +123,7 @@ impl<'a> FunctionContext<'a> { let definitions = HashMap::default(); let mut this = Self { definitions, builder, shared_context, loops: Vec::new() }; + this.add_globals(); this.add_parameters_to_scope(parameters); this } @@ -146,6 +147,12 @@ impl<'a> FunctionContext<'a> { self.add_parameters_to_scope(&func.parameters); } + fn add_globals(&mut self) { + for (_, value) in self.shared_context.globals_context.dfg.values_iter() { + self.builder.current_function.dfg.make_global(value.get_type().into_owned()); + } + } + /// Add each parameter to the current scope, and return the list of parameter types. /// /// The returned parameter type list will be flattened, so any struct parameters will diff --git a/noir/noir-repo/tooling/lsp/src/requests/completion.rs b/noir/noir-repo/tooling/lsp/src/requests/completion.rs index 0d737e29ff7c..b639e17e4e41 100644 --- a/noir/noir-repo/tooling/lsp/src/requests/completion.rs +++ b/noir/noir-repo/tooling/lsp/src/requests/completion.rs @@ -28,6 +28,7 @@ use noirc_frontend::{ def_map::{CrateDefMap, LocalModuleId, ModuleDefId, ModuleId}, resolution::visibility::{ item_in_module_is_visible, method_call_is_visible, struct_member_is_visible, + trait_member_is_visible, }, }, hir_def::traits::Trait, diff --git a/package.json b/package.json new file mode 100644 index 000000000000..50a9e525b6a2 --- /dev/null +++ b/package.json @@ -0,0 +1,3 @@ +{ + "packageManager": "yarn@4.5.2" +} diff --git a/spartan/aztec-network/.gitignore b/spartan/aztec-network/.gitignore new file mode 100644 index 000000000000..466e24805a90 --- /dev/null +++ b/spartan/aztec-network/.gitignore @@ -0,0 +1 @@ +out/ \ No newline at end of file diff --git a/spartan/aztec-network/eth-devnet/README.md b/spartan/aztec-network/eth-devnet/README.md new file mode 100644 index 000000000000..786be2137e03 --- /dev/null +++ b/spartan/aztec-network/eth-devnet/README.md @@ -0,0 +1,62 @@ +## Eth Devnet + +### Usage + +```bash +./create.sh +``` + +## Args + +Args can be supplied via environment variables. + +### NUMBER_OF_KEYS + +This determines the number of accounts that will be prefunded with eth on the execution layer. + +### MNEMONIC + +The seed phrase from which the keys will be derived. + +### BLOCK_TIME + +The time in seconds between blocks. + +### GAS_LIMIT + +The gas limit for the execution layer. + +### CHAIN_ID + +The chain id for the execution layer. + +--- + +## Common Pitfalls + +If you are struggling to get the network up and running, it is usually due to the genesis.json file having different values from the config.yaml + genesis.ssz file. Make sure that you do not edit any of them by accident after ./create.sh is run. +Note that this script places the configuration values within the /out folder, it will not actually run the testnet. + +SSZ files are not passable thorugh config maps, so they must be base64 encoded, then decoded in the container before running. + +Generating an Ethereum testnet requires a few ingredients: + +## Genesis.json file + +The genesis.json file configures the initial state of the execution layer, it defines what accounts are preloaded with what balances, what hardforks are active etc. +In this case the most important values to set are the deposit contract (ensuring that it is filled with empty state ( and an empty deposit tree )), and the allocation accounts we would like to have preloaded with funds. + +## Config.yaml + +The config.yaml file is used to configure a beacon chain client. It configures what contract address the deposit contract should be read on, as well as configuring when hardforks should be activated. + +## Genesis.ssz + +This file contains the state of the beacon chain at the genesis block, and it is used to bootstrap the network, such as the validator registry at the time of genesis, the deposit root from eth1 at the time of genesis etc. + +## Other files + +### Jwt secret + +The jwt secret is used to authenticate the beacon chain client to the execution layer. +The execution api ports should not be exposed to the open internet. diff --git a/spartan/aztec-network/eth-devnet/config/config.yaml b/spartan/aztec-network/eth-devnet/config/config.yaml new file mode 100644 index 000000000000..2bd8fc026525 --- /dev/null +++ b/spartan/aztec-network/eth-devnet/config/config.yaml @@ -0,0 +1,144 @@ +# Minimal config - from github.com/ethereum-optimism/optimism + +# Extends the minimal preset +PRESET_BASE: "minimal" + +# Free-form short name of the network that this configuration applies to - known +# canonical network names include: +# * 'mainnet' - there can be only one +# * 'prater' - testnet +# Must match the regex: [a-z0-9\-] +CONFIG_NAME: "minimal" + +# Transition +# --------------------------------------------------------------- +# 2**256-2**10 for testing minimal network +TERMINAL_TOTAL_DIFFICULTY: 115792089237316195423570985008687907853269984665640564039457584007913129638912 +# By default, don't use these params +TERMINAL_BLOCK_HASH: 0x0000000000000000000000000000000000000000000000000000000000000000 +TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615 + +# Genesis +# --------------------------------------------------------------- +# [customized] +MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 64 +# Jan 3, 2020 +MIN_GENESIS_TIME: 1578009600 +# Highest byte set to 0xFF, this is dev network +GENESIS_FORK_VERSION: 0x000000FF +# [customized] don't wait with genesis if we don't have to +GENESIS_DELAY: 0 + +# Forking +# --------------------------------------------------------------- +# Values provided for illustrative purposes. +# Individual tests/testnets may set different values. + +# Altair +ALTAIR_FORK_VERSION: 0x01000001 +ALTAIR_FORK_EPOCH: 0 +# Bellatrix +BELLATRIX_FORK_VERSION: 0x02000001 +BELLATRIX_FORK_EPOCH: 0 +# Capella +CAPELLA_FORK_VERSION: 0x03000001 +CAPELLA_FORK_EPOCH: 0 +# DENEB +DENEB_FORK_VERSION: 0x04000001 +DENEB_FORK_EPOCH: 0 + +# EIP6110 +EIP6110_FORK_VERSION: 0x05000001 +EIP6110_FORK_EPOCH: 18446744073709551615 +# EIP7002 +EIP7002_FORK_VERSION: 0x05000001 +EIP7002_FORK_EPOCH: 18446744073709551615 +# WHISK +WHISK_FORK_VERSION: 0x06000001 +WHISK_FORK_EPOCH: 18446744073709551615 + +# Time parameters +# --------------------------------------------------------------- +# [customized] Faster for testing purposes +SECONDS_PER_SLOT: 12 +# 14 (estimate from Eth1 mainnet) +SECONDS_PER_ETH1_BLOCK: 12 +# 2**8 (= 256) epochs +MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256 +# [customized] higher frequency of committee turnover and faster time to acceptable voluntary exit +SHARD_COMMITTEE_PERIOD: 64 +# [customized] process deposits more quickly, but insecure +ETH1_FOLLOW_DISTANCE: 16 + +# Validator cycle +# --------------------------------------------------------------- +# 2**2 (= 4) +INACTIVITY_SCORE_BIAS: 4 +# 2**4 (= 16) +INACTIVITY_SCORE_RECOVERY_RATE: 16 +# 2**4 * 10**9 (= 16,000,000,000) Gwei +EJECTION_BALANCE: 16000000000 +# [customized] more easily demonstrate the difference between this value and the activation churn limit +MIN_PER_EPOCH_CHURN_LIMIT: 2 +# [customized] scale queue churn at much lower validator counts for testing +CHURN_LIMIT_QUOTIENT: 32 +# [New in Deneb:EIP7514] [customized] +MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 4 + +# Fork choice +# --------------------------------------------------------------- +# 40% +PROPOSER_SCORE_BOOST: 40 +# 20% +REORG_HEAD_WEIGHT_THRESHOLD: 20 +# 160% +REORG_PARENT_WEIGHT_THRESHOLD: 160 +# `2` epochs +REORG_MAX_EPOCHS_SINCE_FINALIZATION: 2 + +# Deposit contract +# --------------------------------------------------------------- +# Local Optimism monorepo devnet +DEPOSIT_CHAIN_ID: 1337 +DEPOSIT_NETWORK_ID: 1337 +# Configured on a per testnet basis +DEPOSIT_CONTRACT_ADDRESS: 0x4242424242424242424242424242424242424242 + +# Networking +# --------------------------------------------------------------- +# `10 * 2**20` (= 10485760, 10 MiB) +GOSSIP_MAX_SIZE: 10485760 +# `2**10` (= 1024) +MAX_REQUEST_BLOCKS: 1024 +# `2**8` (= 256) +EPOCHS_PER_SUBNET_SUBSCRIPTION: 256 +# [customized] `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 272) +MIN_EPOCHS_FOR_BLOCK_REQUESTS: 272 +# `10 * 2**20` (=10485760, 10 MiB) +MAX_CHUNK_SIZE: 10485760 +# 5s +TTFB_TIMEOUT: 5 +# 10s +RESP_TIMEOUT: 10 +ATTESTATION_PROPAGATION_SLOT_RANGE: 32 +# 500ms +MAXIMUM_GOSSIP_CLOCK_DISPARITY: 500 +MESSAGE_DOMAIN_INVALID_SNAPPY: 0x00000000 +MESSAGE_DOMAIN_VALID_SNAPPY: 0x01000000 +# 2 subnets per node +SUBNETS_PER_NODE: 2 +# 2**8 (= 64) +ATTESTATION_SUBNET_COUNT: 64 +ATTESTATION_SUBNET_EXTRA_BITS: 0 +# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS +ATTESTATION_SUBNET_PREFIX_BITS: 6 + +# Deneb +# `2**7` (=128) +MAX_REQUEST_BLOCKS_DENEB: 128 +# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK +MAX_REQUEST_BLOB_SIDECARS: 768 +# `2**12` (= 4096 epochs, ~18 days) +MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096 +# `6` +BLOB_SIDECAR_SUBNET_COUNT: 6 diff --git a/spartan/aztec-network/eth-devnet/config/genesis.json b/spartan/aztec-network/eth-devnet/config/genesis.json new file mode 100644 index 000000000000..9566e2ff7d31 --- /dev/null +++ b/spartan/aztec-network/eth-devnet/config/genesis.json @@ -0,0 +1,1078 @@ +{ + "config": { + "chainId": 1337, + "homesteadBlock": 0, + "eip150Block": 0, + "eip155Block": 0, + "eip158Block": 0, + "byzantiumBlock": 0, + "constantinopleBlock": 0, + "petersburgBlock": 0, + "istanbulBlock": 0, + "berlinBlock": 0, + "londonBlock": 0, + "mergeNetsplitBlock": 0, + "depositContractAddress": "0x0000000000000000000000000000000000000000", + "terminalTotalDifficulty": 0, + "terminalTotalDifficultyPassed": true, + "shanghaiTime": 0, + "cancunTime": 0 + }, + "alloc": { + "0x3fab184622dc19b6109349b94811493bf2a45362": { + "balance": "1000000000000000000000000000" + }, + "0x0000000000000000000000000000000000000000": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000001": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000002": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000003": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000004": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000005": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000006": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000007": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000008": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000009": { + "balance": "1" + }, + "0x000000000000000000000000000000000000000a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000000b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000000c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000000d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000000e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000000f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000010": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000011": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000012": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000013": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000014": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000015": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000016": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000017": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000018": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000019": { + "balance": "1" + }, + "0x000000000000000000000000000000000000001a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000001b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000001c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000001d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000001e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000001f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000020": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000021": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000022": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000023": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000024": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000025": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000026": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000027": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000028": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000029": { + "balance": "1" + }, + "0x000000000000000000000000000000000000002a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000002b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000002c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000002d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000002e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000002f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000030": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000031": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000032": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000033": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000034": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000035": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000036": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000037": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000038": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000039": { + "balance": "1" + }, + "0x000000000000000000000000000000000000003a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000003b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000003c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000003d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000003e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000003f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000040": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000041": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000042": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000043": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000044": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000045": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000046": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000047": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000048": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000049": { + "balance": "1" + }, + "0x000000000000000000000000000000000000004a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000004b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000004c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000004d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000004e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000004f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000050": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000051": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000052": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000053": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000054": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000055": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000056": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000057": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000058": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000059": { + "balance": "1" + }, + "0x000000000000000000000000000000000000005a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000005b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000005c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000005d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000005e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000005f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000060": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000061": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000062": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000063": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000064": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000065": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000066": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000067": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000068": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000069": { + "balance": "1" + }, + "0x000000000000000000000000000000000000006a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000006b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000006c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000006d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000006e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000006f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000070": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000071": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000072": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000073": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000074": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000075": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000076": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000077": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000078": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000079": { + "balance": "1" + }, + "0x000000000000000000000000000000000000007a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000007b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000007c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000007d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000007e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000007f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000080": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000081": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000082": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000083": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000084": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000085": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000086": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000087": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000088": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000089": { + "balance": "1" + }, + "0x000000000000000000000000000000000000008a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000008b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000008c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000008d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000008e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000008f": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000090": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000091": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000092": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000093": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000094": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000095": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000096": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000097": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000098": { + "balance": "1" + }, + "0x0000000000000000000000000000000000000099": { + "balance": "1" + }, + "0x000000000000000000000000000000000000009a": { + "balance": "1" + }, + "0x000000000000000000000000000000000000009b": { + "balance": "1" + }, + "0x000000000000000000000000000000000000009c": { + "balance": "1" + }, + "0x000000000000000000000000000000000000009d": { + "balance": "1" + }, + "0x000000000000000000000000000000000000009e": { + "balance": "1" + }, + "0x000000000000000000000000000000000000009f": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a0": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a1": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a2": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a3": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a4": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a5": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a6": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a7": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a8": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000a9": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000aa": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ab": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ac": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ad": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ae": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000af": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b0": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b1": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b2": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b3": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b4": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b5": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b6": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b7": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b8": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000b9": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ba": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000bb": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000bc": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000bd": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000be": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000bf": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c0": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c1": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c2": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c3": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c4": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c5": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c6": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c7": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c8": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000c9": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ca": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000cb": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000cc": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000cd": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ce": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000cf": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d0": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d1": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d2": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d3": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d4": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d5": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d6": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d7": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d8": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000d9": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000da": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000db": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000dc": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000dd": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000de": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000df": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e0": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e1": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e2": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e3": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e4": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e5": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e6": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e7": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e8": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000e9": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ea": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000eb": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ec": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ed": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ee": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ef": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f0": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f1": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f2": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f3": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f4": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f5": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f6": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f7": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f8": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000f9": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000fa": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000fb": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000fc": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000fd": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000fe": { + "balance": "1" + }, + "0x00000000000000000000000000000000000000ff": { + "balance": "1" + }, + "0x4242424242424242424242424242424242424242": { + "balance": "0", + "nonce": 1, + "code": "0x60806040526004361061003f5760003560e01c806301ffc9a71461004457806322895118146100a4578063621fd130146101ba578063c5f2892f14610244575b600080fd5b34801561005057600080fd5b506100906004803603602081101561006757600080fd5b50357fffffffff000000000000000000000000000000000000000000000000000000001661026b565b604080519115158252519081900360200190f35b6101b8600480360360808110156100ba57600080fd5b8101906020810181356401000000008111156100d557600080fd5b8201836020820111156100e757600080fd5b8035906020019184600183028401116401000000008311171561010957600080fd5b91939092909160208101903564010000000081111561012757600080fd5b82018360208201111561013957600080fd5b8035906020019184600183028401116401000000008311171561015b57600080fd5b91939092909160208101903564010000000081111561017957600080fd5b82018360208201111561018b57600080fd5b803590602001918460018302840111640100000000831117156101ad57600080fd5b919350915035610304565b005b3480156101c657600080fd5b506101cf6110b5565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102095781810151838201526020016101f1565b50505050905090810190601f1680156102365780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025057600080fd5b506102596110c7565b60408051918252519081900360200190f35b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806102fe57507fffffffff0000000000000000000000000000000000000000000000000000000082167f8564090700000000000000000000000000000000000000000000000000000000145b92915050565b6030861461035d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806118056026913960400191505060405180910390fd5b602084146103b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061179c6036913960400191505060405180910390fd5b6060821461040f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806118786029913960400191505060405180910390fd5b670de0b6b3a7640000341015610470576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806118526026913960400191505060405180910390fd5b633b9aca003406156104cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806117d26033913960400191505060405180910390fd5b633b9aca00340467ffffffffffffffff811115610535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061182b6027913960400191505060405180910390fd5b6060610540826114ba565b90507f649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c589898989858a8a6105756020546114ba565b6040805160a0808252810189905290819060208201908201606083016080840160c085018e8e80828437600083820152601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690910187810386528c815260200190508c8c808284376000838201819052601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690920188810386528c5181528c51602091820193918e019250908190849084905b83811015610648578181015183820152602001610630565b50505050905090810190601f1680156106755780820380516001836020036101000a031916815260200191505b5086810383528881526020018989808284376000838201819052601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169092018881038452895181528951602091820193918b019250908190849084905b838110156106ef5781810151838201526020016106d7565b50505050905090810190601f16801561071c5780820380516001836020036101000a031916815260200191505b509d505050505050505050505050505060405180910390a1600060028a8a600060801b604051602001808484808284377fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941691909301908152604080517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0818403018152601090920190819052815191955093508392506020850191508083835b602083106107fc57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016107bf565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610859573d6000803e3d6000fd5b5050506040513d602081101561086e57600080fd5b5051905060006002806108846040848a8c6116fe565b6040516020018083838082843780830192505050925050506040516020818303038152906040526040518082805190602001908083835b602083106108f857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016108bb565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610955573d6000803e3d6000fd5b5050506040513d602081101561096a57600080fd5b5051600261097b896040818d6116fe565b60405160009060200180848480828437919091019283525050604080518083038152602092830191829052805190945090925082918401908083835b602083106109f457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016109b7565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610a51573d6000803e3d6000fd5b5050506040513d6020811015610a6657600080fd5b5051604080516020818101949094528082019290925280518083038201815260609092019081905281519192909182918401908083835b60208310610ada57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610a9d565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610b37573d6000803e3d6000fd5b5050506040513d6020811015610b4c57600080fd5b50516040805160208101858152929350600092600292839287928f928f92018383808284378083019250505093505050506040516020818303038152906040526040518082805190602001908083835b60208310610bd957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610b9c565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610c36573d6000803e3d6000fd5b5050506040513d6020811015610c4b57600080fd5b50516040518651600291889160009188916020918201918291908601908083835b60208310610ca957805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610c6c565b6001836020036101000a0380198251168184511680821785525050505050509050018367ffffffffffffffff191667ffffffffffffffff1916815260180182815260200193505050506040516020818303038152906040526040518082805190602001908083835b60208310610d4e57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610d11565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610dab573d6000803e3d6000fd5b5050506040513d6020811015610dc057600080fd5b5051604080516020818101949094528082019290925280518083038201815260609092019081905281519192909182918401908083835b60208310610e3457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610df7565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015610e91573d6000803e3d6000fd5b5050506040513d6020811015610ea657600080fd5b50519050858114610f02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260548152602001806117486054913960600191505060405180910390fd5b60205463ffffffff11610f60576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806117276021913960400191505060405180910390fd5b602080546001019081905560005b60208110156110a9578160011660011415610fa0578260008260208110610f9157fe5b0155506110ac95505050505050565b600260008260208110610faf57fe5b01548460405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b6020831061102557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610fe8565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa158015611082573d6000803e3d6000fd5b5050506040513d602081101561109757600080fd5b50519250600282049150600101610f6e565b50fe5b50505050505050565b60606110c26020546114ba565b905090565b6020546000908190815b60208110156112f05781600116600114156111e6576002600082602081106110f557fe5b01548460405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b6020831061116b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161112e565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa1580156111c8573d6000803e3d6000fd5b5050506040513d60208110156111dd57600080fd5b505192506112e2565b600283602183602081106111f657fe5b015460405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b6020831061126b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161122e565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa1580156112c8573d6000803e3d6000fd5b5050506040513d60208110156112dd57600080fd5b505192505b6002820491506001016110d1565b506002826112ff6020546114ba565b600060401b6040516020018084815260200183805190602001908083835b6020831061135a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161131d565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790527fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000095909516920191825250604080518083037ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8018152601890920190819052815191955093508392850191508083835b6020831061143f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611402565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01801990921691161790526040519190930194509192505080830381855afa15801561149c573d6000803e3d6000fd5b5050506040513d60208110156114b157600080fd5b50519250505090565b60408051600880825281830190925260609160208201818036833701905050905060c082901b8060071a60f81b826000815181106114f457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060061a60f81b8260018151811061153757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060051a60f81b8260028151811061157a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060041a60f81b826003815181106115bd57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060031a60f81b8260048151811061160057fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060021a60f81b8260058151811061164357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060011a60f81b8260068151811061168657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508060001a60f81b826007815181106116c957fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050919050565b6000808585111561170d578182fd5b83861115611719578182fd5b505082019391909203915056fe4465706f736974436f6e74726163743a206d65726b6c6520747265652066756c6c4465706f736974436f6e74726163743a207265636f6e7374727563746564204465706f7369744461746120646f6573206e6f74206d6174636820737570706c696564206465706f7369745f646174615f726f6f744465706f736974436f6e74726163743a20696e76616c6964207769746864726177616c5f63726564656e7469616c73206c656e6774684465706f736974436f6e74726163743a206465706f7369742076616c7565206e6f74206d756c7469706c65206f6620677765694465706f736974436f6e74726163743a20696e76616c6964207075626b6579206c656e6774684465706f736974436f6e74726163743a206465706f7369742076616c756520746f6f20686967684465706f736974436f6e74726163743a206465706f7369742076616c756520746f6f206c6f774465706f736974436f6e74726163743a20696e76616c6964207369676e6174757265206c656e677468a26469706673582212201dd26f37a621703009abf16e77e69c93dc50c79db7f6cc37543e3e0e3decdc9764736f6c634300060b0033", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000022": "0xf5a5fd42d16a20302798ef6ed309979b43003d2320d9f0e8ea9831a92759fb4b", + "0x0000000000000000000000000000000000000000000000000000000000000023": "0xdb56114e00fdd4c1f85c892bf35ac9a89289aaecb1ebd0a96cde606a748b5d71", + "0x0000000000000000000000000000000000000000000000000000000000000024": "0xc78009fdf07fc56a11f122370658a353aaa542ed63e44c4bc15ff4cd105ab33c", + "0x0000000000000000000000000000000000000000000000000000000000000025": "0x536d98837f2dd165a55d5eeae91485954472d56f246df256bf3cae19352a123c", + "0x0000000000000000000000000000000000000000000000000000000000000026": "0x9efde052aa15429fae05bad4d0b1d7c64da64d03d7a1854a588c2cb8430c0d30", + "0x0000000000000000000000000000000000000000000000000000000000000027": "0xd88ddfeed400a8755596b21942c1497e114c302e6118290f91e6772976041fa1", + "0x0000000000000000000000000000000000000000000000000000000000000028": "0x87eb0ddba57e35f6d286673802a4af5975e22506c7cf4c64bb6be5ee11527f2c", + "0x0000000000000000000000000000000000000000000000000000000000000029": "0x26846476fd5fc54a5d43385167c95144f2643f533cc85bb9d16b782f8d7db193", + "0x000000000000000000000000000000000000000000000000000000000000002a": "0x506d86582d252405b840018792cad2bf1259f1ef5aa5f887e13cb2f0094f51e1", + "0x000000000000000000000000000000000000000000000000000000000000002b": "0xffff0ad7e659772f9534c195c815efc4014ef1e1daed4404c06385d11192e92b", + "0x000000000000000000000000000000000000000000000000000000000000002c": "0x6cf04127db05441cd833107a52be852868890e4317e6a02ab47683aa75964220", + "0x000000000000000000000000000000000000000000000000000000000000002d": "0xb7d05f875f140027ef5118a2247bbb84ce8f2f0f1123623085daf7960c329f5f", + "0x000000000000000000000000000000000000000000000000000000000000002e": "0xdf6af5f5bbdb6be9ef8aa618e4bf8073960867171e29676f8b284dea6a08a85e", + "0x000000000000000000000000000000000000000000000000000000000000002f": "0xb58d900f5e182e3c50ef74969ea16c7726c549757cc23523c369587da7293784", + "0x0000000000000000000000000000000000000000000000000000000000000030": "0xd49a7502ffcfb0340b1d7885688500ca308161a7f96b62df9d083b71fcc8f2bb", + "0x0000000000000000000000000000000000000000000000000000000000000031": "0x8fe6b1689256c0d385f42f5bbe2027a22c1996e110ba97c171d3e5948de92beb", + "0x0000000000000000000000000000000000000000000000000000000000000032": "0x8d0d63c39ebade8509e0ae3c9c3876fb5fa112be18f905ecacfecb92057603ab", + "0x0000000000000000000000000000000000000000000000000000000000000033": "0x95eec8b2e541cad4e91de38385f2e046619f54496c2382cb6cacd5b98c26f5a4", + "0x0000000000000000000000000000000000000000000000000000000000000034": "0xf893e908917775b62bff23294dbbe3a1cd8e6cc1c35b4801887b646a6f81f17f", + "0x0000000000000000000000000000000000000000000000000000000000000035": "0xcddba7b592e3133393c16194fac7431abf2f5485ed711db282183c819e08ebaa", + "0x0000000000000000000000000000000000000000000000000000000000000036": "0x8a8d7fe3af8caa085a7639a832001457dfb9128a8061142ad0335629ff23ff9c", + "0x0000000000000000000000000000000000000000000000000000000000000037": "0xfeb3c337d7a51a6fbf00b9e34c52e1c9195c969bd4e7a0bfd51d5c5bed9c1167", + "0x0000000000000000000000000000000000000000000000000000000000000038": "0xe71f0aa83cc32edfbefa9f4d3e0174ca85182eec9f3a09f6a6c0df6377a510d7", + "0x0000000000000000000000000000000000000000000000000000000000000039": "0x31206fa80a50bb6abe29085058f16212212a60eec8f049fecb92d8c8e0a84bc0", + "0x000000000000000000000000000000000000000000000000000000000000003a": "0x21352bfecbeddde993839f614c3dac0a3ee37543f9b412b16199dc158e23b544", + "0x000000000000000000000000000000000000000000000000000000000000003b": "0x619e312724bb6d7c3153ed9de791d764a366b389af13c58bf8a8d90481a46765", + "0x000000000000000000000000000000000000000000000000000000000000003c": "0x7cdd2986268250628d0c10e385c58c6191e6fbe05191bcc04f133f2cea72c1c4", + "0x000000000000000000000000000000000000000000000000000000000000003d": "0x848930bd7ba8cac54661072113fb278869e07bb8587f91392933374d017bcbe1", + "0x000000000000000000000000000000000000000000000000000000000000003e": "0x8869ff2c22b28cc10510d9853292803328be4fb0e80495e8bb8d271f5b889636", + "0x000000000000000000000000000000000000000000000000000000000000003f": "0xb5fe28e79f1b850f8658246ce9b6a1e7b49fc06db7143e8fe0b4f2b0c5523a5c", + "0x0000000000000000000000000000000000000000000000000000000000000040": "0x985e929f70af28d0bdd1a90a808f977f597c7c778c489e98d3bd8910d31ac0f7" + } + }, + "0x4e59b44847b379578588920cA78FbF26c0B4956C": { + "balance": "0", + "nonce": "1", + "code": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3" + }, + "0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02": { + "balance": "0", + "nonce": "1", + "code": "0x3373fffffffffffffffffffffffffffffffffffffffe14604d57602036146024575f5ffd5b5f35801560495762001fff810690815414603c575f5ffd5b62001fff01545f5260205ff35b5f5ffd5b62001fff42064281555f359062001fff015500" + }, + "0x0F792be4B0c0cb4DAE440Ef133E90C0eCD48CCCC": { + "balance": "0", + "nonce": "1", + "code": "0x3373fffffffffffffffffffffffffffffffffffffffe14604657602036036042575f35600143038111604257611fff81430311604257611fff9006545f5260205ff35b5f5ffd5b5f35611fff60014303065500" + }, + "0x0c15F14308530b7CDB8460094BbB9cC28b9AaaAA": { + "balance": "0", + "nonce": "1", + "code": "0x3373fffffffffffffffffffffffffffffffffffffffe1460cb5760115f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff146101f457600182026001905f5b5f82111560685781019083028483029004916001019190604d565b909390049250505036603814608857366101f457346101f4575f5260205ff35b34106101f457600154600101600155600354806003026004013381556001015f35815560010160203590553360601b5f5260385f601437604c5fa0600101600355005b6003546002548082038060101160df575060105b5f5b8181146101835782810160030260040181604c02815460601b8152601401816001015481526020019060020154807fffffffffffffffffffffffffffffffff00000000000000000000000000000000168252906010019060401c908160381c81600701538160301c81600601538160281c81600501538160201c81600401538160181c81600301538160101c81600201538160081c81600101535360010160e1565b910180921461019557906002556101a0565b90505f6002555f6003555b5f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14156101cd57505f5b6001546002828201116101e25750505f6101e8565b01600290035b5f555f600155604c025ff35b5f5ffd", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0x00431F263cE400f4455c2dCf564e53007Ca4bbBb": { + "balance": "0", + "nonce": "1", + "code": "0x3373fffffffffffffffffffffffffffffffffffffffe1460d35760115f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1461019a57600182026001905f5b5f82111560685781019083028483029004916001019190604d565b9093900492505050366060146088573661019a573461019a575f5260205ff35b341061019a57600154600101600155600354806004026004013381556001015f358155600101602035815560010160403590553360601b5f5260605f60143760745fa0600101600355005b6003546002548082038060021160e7575060025b5f5b8181146101295782810160040260040181607402815460601b815260140181600101548152602001816002015481526020019060030154905260010160e9565b910180921461013b5790600255610146565b90505f6002555f6003555b5f54807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff141561017357505f5b6001546001828201116101885750505f61018e565b01600190035b5f555f6001556074025ff35b5f5ffd", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0x8943545177806ED17B9F23F0a21ee5948eCaa776": { + "balance": "1000000000000000000000000000" + }, + "0xE25583099BA105D9ec0A67f5Ae86D90e50036425": { + "balance": "1000000000000000000000000000" + }, + "0x614561D2d143621E126e87831AEF287678B442b8": { + "balance": "1000000000000000000000000000" + }, + "0xf93Ee4Cf8c6c40b329b0c0626F28333c132CF241": { + "balance": "1000000000000000000000000000" + }, + "0x802dCbE1B1A97554B4F50DB5119E37E8e7336417": { + "balance": "1000000000000000000000000000" + }, + "0xAe95d8DA9244C37CaC0a3e16BA966a8e852Bb6D6": { + "balance": "1000000000000000000000000000" + }, + "0x2c57d1CFC6d5f8E4182a56b4cf75421472eBAEa4": { + "balance": "1000000000000000000000000000" + }, + "0x741bFE4802cE1C4b5b00F9Df2F5f179A1C89171A": { + "balance": "1000000000000000000000000000" + }, + "0xc3913d4D8bAb4914328651C2EAE817C8b78E1f4c": { + "balance": "1000000000000000000000000000" + }, + "0x65D08a056c17Ae13370565B04cF77D2AfA1cB9FA": { + "balance": "1000000000000000000000000000" + }, + "0x3e95dFbBaF6B348396E6674C7871546dCC568e56": { + "balance": "1000000000000000000000000000" + }, + "0x5918b2e647464d4743601a865753e64C8059Dc4F": { + "balance": "1000000000000000000000000000" + }, + "0x589A698b7b7dA0Bec545177D3963A2741105C7C9": { + "balance": "1000000000000000000000000000" + }, + "0x4d1CB4eB7969f8806E2CaAc0cbbB71f88C8ec413": { + "balance": "1000000000000000000000000000" + }, + "0xF5504cE2BcC52614F121aff9b93b2001d92715CA": { + "balance": "1000000000000000000000000000" + }, + "0xF61E98E7D47aB884C244E39E031978E33162ff4b": { + "balance": "1000000000000000000000000000" + }, + "0xf1424826861ffbbD25405F5145B5E50d0F1bFc90": { + "balance": "1000000000000000000000000000" + }, + "0xfDCe42116f541fc8f7b0776e2B30832bD5621C85": { + "balance": "1000000000000000000000000000" + }, + "0xD9211042f35968820A3407ac3d80C725f8F75c14": { + "balance": "1000000000000000000000000000" + }, + "0xD8F3183DEF51A987222D845be228e0Bbb932C222": { + "balance": "1000000000000000000000000000" + }, + "0xafF0CA253b97e54440965855cec0A8a2E2399896": { + "balance": "1000000000000000000000000000" + }, + "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": { + "balance": "1000000000000000000000000" + }, + "0x70997970C51812dc3A010C7d01b50e0d17dc79C8": { + "balance": "1000000000000000000000000" + }, + "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC": { + "balance": "1000000000000000000000000" + }, + "0x90F79bf6EB2c4f870365E785982E1f101E93b906": { + "balance": "1000000000000000000000000" + }, + "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65": { + "balance": "1000000000000000000000000" + }, + "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc": { + "balance": "1000000000000000000000000" + }, + "0x976EA74026E726554dB657fA54763abd0C3a0aa9": { + "balance": "1000000000000000000000000" + }, + "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955": { + "balance": "1000000000000000000000000" + }, + "0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f": { + "balance": "1000000000000000000000000" + }, + "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720": { + "balance": "1000000000000000000000000" + }, + "0xBcd4042DE499D14e55001CcbB24a551F3b954096": { + "balance": "1000000000000000000000000" + }, + "0x71bE63f3384f5fb98995898A86B02Fb2426c5788": { + "balance": "1000000000000000000000000" + }, + "0xFABB0ac9d68B0B445fB7357272Ff202C5651694a": { + "balance": "1000000000000000000000000" + }, + "0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec": { + "balance": "1000000000000000000000000" + }, + "0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097": { + "balance": "1000000000000000000000000" + }, + "0xcd3B766CCDd6AE721141F452C550Ca635964ce71": { + "balance": "1000000000000000000000000" + }, + "0x2546BcD3c84621e976D8185a91A922aE77ECEc30": { + "balance": "1000000000000000000000000" + }, + "0xbDA5747bFD65F08deb54cb465eB87D40e51B197E": { + "balance": "1000000000000000000000000" + }, + "0xdD2FD4581271e230360230F9337D5c0430Bf44C0": { + "balance": "1000000000000000000000000" + }, + "0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199": { + "balance": "1000000000000000000000000" + }, + "0x09DB0a93B389bEF724429898f539AEB7ac2Dd55f": { + "balance": "1000000000000000000000000" + }, + "0x02484cb50AAC86Eae85610D6f4Bf026f30f6627D": { + "balance": "1000000000000000000000000" + }, + "0x08135Da0A343E492FA2d4282F2AE34c6c5CC1BbE": { + "balance": "1000000000000000000000000" + }, + "0x5E661B79FE2D3F6cE70F5AAC07d8Cd9abb2743F1": { + "balance": "1000000000000000000000000" + }, + "0x61097BA76cD906d2ba4FD106E757f7Eb455fc295": { + "balance": "1000000000000000000000000" + }, + "0xDf37F81dAAD2b0327A0A50003740e1C935C70913": { + "balance": "1000000000000000000000000" + }, + "0x553BC17A05702530097c3677091C5BB47a3a7931": { + "balance": "1000000000000000000000000" + }, + "0x87BdCE72c06C21cd96219BD8521bDF1F42C78b5e": { + "balance": "1000000000000000000000000" + }, + "0x40Fc963A729c542424cD800349a7E4Ecc4896624": { + "balance": "1000000000000000000000000" + }, + "0x9DCCe783B6464611f38631e6C851bf441907c710": { + "balance": "1000000000000000000000000" + }, + "0x1BcB8e569EedAb4668e55145Cfeaf190902d3CF2": { + "balance": "1000000000000000000000000" + }, + "0x8263Fce86B1b78F95Ab4dae11907d8AF88f841e7": { + "balance": "1000000000000000000000000" + }, + "0xcF2d5b3cBb4D7bF04e3F7bFa8e27081B52191f91": { + "balance": "1000000000000000000000000" + }, + "0x86c53Eb85D0B7548fea5C4B4F82b4205C8f6Ac18": { + "balance": "1000000000000000000000000" + }, + "0x1aac82773CB722166D7dA0d5b0FA35B0307dD99D": { + "balance": "1000000000000000000000000" + }, + "0x2f4f06d218E426344CFE1A83D53dAd806994D325": { + "balance": "1000000000000000000000000" + }, + "0x1003ff39d25F2Ab16dBCc18EcE05a9B6154f65F4": { + "balance": "1000000000000000000000000" + }, + "0x9eAF5590f2c84912A08de97FA28d0529361Deb9E": { + "balance": "1000000000000000000000000" + }, + "0x11e8F3eA3C6FcF12EcfF2722d75CEFC539c51a1C": { + "balance": "1000000000000000000000000" + }, + "0x7D86687F980A56b832e9378952B738b614A99dc6": { + "balance": "1000000000000000000000000" + }, + "0x9eF6c02FB2ECc446146E05F1fF687a788a8BF76d": { + "balance": "1000000000000000000000000" + }, + "0x08A2DE6F3528319123b25935C92888B16db8913E": { + "balance": "1000000000000000000000000" + }, + "0xe141C82D99D85098e03E1a1cC1CdE676556fDdE0": { + "balance": "1000000000000000000000000" + }, + "0x4b23D303D9e3719D6CDf8d172Ea030F80509ea15": { + "balance": "1000000000000000000000000" + }, + "0xC004e69C5C04A223463Ff32042dd36DabF63A25a": { + "balance": "1000000000000000000000000" + }, + "0x5eb15C0992734B5e77c888D713b4FC67b3D679A2": { + "balance": "1000000000000000000000000" + }, + "0x7Ebb637fd68c523613bE51aad27C35C4DB199B9c": { + "balance": "1000000000000000000000000" + }, + "0x3c3E2E178C69D4baD964568415a0f0c84fd6320A": { + "balance": "1000000000000000000000000" + } + }, + "coinbase": "0x0000000000000000000000000000000000000000", + "difficulty": "0x0", + "extraData": "", + "gasLimit": "0xe8d4a51000", + "nonce": "0x1234", + "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestamp": 1736349804 +} \ No newline at end of file diff --git a/spartan/aztec-network/eth-devnet/config/jwt-secret.hex b/spartan/aztec-network/eth-devnet/config/jwt-secret.hex new file mode 100644 index 000000000000..bd827d7b652a --- /dev/null +++ b/spartan/aztec-network/eth-devnet/config/jwt-secret.hex @@ -0,0 +1 @@ +0x61e1dd9539e8cc37b3d71dcf8ce372f0e119cc1c73426ee80472a4214f2a41a1 \ No newline at end of file diff --git a/spartan/aztec-network/eth-devnet/config/mnemonics.yaml b/spartan/aztec-network/eth-devnet/config/mnemonics.yaml new file mode 100644 index 000000000000..2f0c204bc569 --- /dev/null +++ b/spartan/aztec-network/eth-devnet/config/mnemonics.yaml @@ -0,0 +1,3 @@ +# Used with the eth2-testnet-generator +- mnemonic: "test test test test test test test test test test test junk" + count: 64 diff --git a/spartan/aztec-network/eth-devnet/create.sh b/spartan/aztec-network/eth-devnet/create.sh new file mode 100755 index 000000000000..286a0a5e1135 --- /dev/null +++ b/spartan/aztec-network/eth-devnet/create.sh @@ -0,0 +1,173 @@ +#!/bin/bash + +set -euo pipefail + +DIR_PATH=$(git rev-parse --show-toplevel)/spartan/aztec-network/eth-devnet + +## Genesis configuration values are provided as environment variables +NUMBER_OF_KEYS=${NUMBER_OF_KEYS:-16} +MNEMONIC=${MNEMONIC:-"test test test test test test test test test test test junk"} +BLOCK_TIME=${BLOCK_TIME:-"12"} +GAS_LIMIT=${GAS_LIMIT:-"1000000000"} +CHAIN_ID=${CHAIN_ID:-"1337"} + +# Install cast if it is not installed +if ! command -v cast &> /dev/null; then + curl -L https://foundry.paradigm.xyz | bash + ~/.foundry/bin/foundryup + ## add cast to path + export PATH="$PATH:~/.foundry/bin" +fi + +# Function to create execution genesis +# Updates genesis timestamp to current time, helps with triggering Consensus layer +create_execution_genesis() { + local execution_genesis_path="$1" + local execution_genesis_output="$2" + echo "Creating execution genesis..." + + # Get the current timestamp + timestamp=$(date +%s) + + # Read the Genesis JSON template + if [[ ! -f "$execution_genesis_path" ]]; then + echo "Error: Genesis template not found at $execution_genesis_path" + exit 1 + fi + + genesis_json=$(cat "$execution_genesis_path") + + # Replace the timestamp in the Genesis JSON + updated_json=$(echo "$genesis_json" | jq --arg ts "$timestamp" '.timestamp = ($ts | tonumber)') + + # If mnemonic is provided, add prefunded accounts + if [[ -n "${MNEMONIC:-}" ]]; then + echo "Prefunding accounts with mnemonic: $MNEMONIC" + echo "Number of keys: $NUMBER_OF_KEYS" + + updated_json=$(prefund_accounts "$updated_json" "$MNEMONIC" "$NUMBER_OF_KEYS") + fi + + # Update the gas limit to the configured value + if [[ -n "${GAS_LIMIT:-}" ]]; then + updated_json=$(echo "$updated_json" | jq --arg gas_limit "$GAS_LIMIT" '.gasLimit = ($gas_limit | tonumber)') + fi + + if [[ -n "${CHAIN_ID:-}" ]]; then + updated_json=$(echo "$updated_json" | jq --arg chain_id "$CHAIN_ID" '.config.chainId = ($chain_id | tonumber)') + fi + + # Write the updated Genesis JSON to the output file + echo "$updated_json" > "$execution_genesis_output" + echo "Execution genesis created at $execution_genesis_output" +} + +prefund_accounts() { + local genesis_json="$1" + local mnemonic="$2" + local number_of_keys="$3" + local updated_json="$genesis_json" + + # Initialize array to store addresses + declare -a VALIDATOR_ADDRESSES_LIST + + # Generate addresses from mnemonic + for i in $(seq 0 $(($number_of_keys - 1))); do + # Get private key and address + PRIVATE_KEY=$(cast wallet private-key "$MNEMONIC" --mnemonic-index $i) + ADDRESS=$(cast wallet address "$PRIVATE_KEY") + VALIDATOR_ADDRESSES_LIST+=("$ADDRESS") + done + + # Add each address to the genesis allocation + for address in "${VALIDATOR_ADDRESSES_LIST[@]}"; do + updated_json=$(echo "$updated_json" | jq --arg addr "$address" \ + '.alloc[$addr] = {"balance": "1000000000000000000000000000"}') + done + + echo "$updated_json" +} + +# Function to create beacon genesis +# Uses the eth2-testnet-generator to generate beacon genesis state (genesis.ssz file) +# The selected eth1 block +create_beacon_genesis() { + local execution_genesis_path="$1" + local beacon_mnemonics_path="./config/mnemonics.yaml" + local beacon_config_path="./config/config.yaml" + local beacon_genesis_path="./out" + + echo "Creating beacon genesis using:" + echo " Beacon mnemonics path: $beacon_mnemonics_path" + echo " Beacon config path: $beacon_config_path" + echo " Execution genesis path: $execution_genesis_path" + + # update the templates block time if it is provided + cp "$DIR_PATH/$beacon_config_path" "$DIR_PATH/out/config.yaml" + if [[ -n "${BLOCK_TIME:-}" ]]; then + yq eval ".SECONDS_PER_SLOT = ${BLOCK_TIME}" -i "$DIR_PATH/out/config.yaml" + yq eval ".SECONDS_PER_ETH1_BLOCK = ${BLOCK_TIME}" -i "$DIR_PATH/out/config.yaml" + fi + + # Update the chain id if it is provided + if [[ -n "${CHAIN_ID:-}" ]]; then + yq eval ".DEPOSIT_CHAIN_ID = ${CHAIN_ID}" -i "$DIR_PATH/out/config.yaml" + yq eval ".DEPOSIT_NETWORK_ID = ${CHAIN_ID}" -i "$DIR_PATH/out/config.yaml" + fi + + # Run the protolamba's eth2 testnet genesis container + echo "$DIR_PATH/config:/app/config" + echo "$DIR_PATH/out:/app/out" + + docker run --rm \ + -v "$DIR_PATH/config:/app/config" \ + -v "$DIR_PATH/out:/app/out" \ + maddiaa/eth2-testnet-genesis deneb \ + --config="./out/config.yaml" \ + --preset-phase0=minimal \ + --preset-altair=minimal \ + --preset-bellatrix=minimal \ + --preset-capella=minimal \ + --preset-deneb=minimal \ + --eth1-config="./out/genesis.json" \ + --state-output="${beacon_genesis_path}/genesis.ssz" \ + --tranches-dir="$beacon_genesis_path" \ + --mnemonics="$beacon_mnemonics_path" \ + --eth1-withdrawal-address="0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \ + --eth1-match-genesis-time + + if [[ $? -ne 0 ]]; then + echo "Error: eth2-testnet-genesis failed." + exit 1 + fi + + echo "Beacon genesis created at $beacon_genesis_path" +} + +create_deposit_contract_block() { + echo 0 > "$DIR_PATH/out/deposit_contract_block.txt" + echo "Deposit contract block created at $DIR_PATH/out/deposit_contract_block.txt" +} + +## The ssz file must be written in base64 in order for a config map to accept it +write_ssz_file_base64() { + local ssz_file="$DIR_PATH/out/genesis.ssz" + local output_file="$DIR_PATH/out/genesis-ssz" + base64 -w 0 "$ssz_file" > "$output_file" + echo "SSZ file base64 encoded at $output_file" +} + +# Main +beacon_config_path="$DIR_PATH/config/config.yaml" +genesis_json_path="$DIR_PATH/config/genesis.json" + +mkdir -p "$DIR_PATH/out" + +create_execution_genesis "$DIR_PATH/config/genesis.json" "$DIR_PATH/out/genesis.json" +create_beacon_genesis "$DIR_PATH/out/genesis.json" +create_deposit_contract_block +write_ssz_file_base64 + +cp "$beacon_config_path" "$DIR_PATH/out/config.yaml" +cp "$DIR_PATH/config/jwt-secret.hex" "$DIR_PATH/out/jwt-secret.hex" +echo "Genesis files copied to ./out" diff --git a/spartan/aztec-network/files/config/genesis.json b/spartan/aztec-network/files/config/genesis.json deleted file mode 100644 index e899e7f82551..000000000000 --- a/spartan/aztec-network/files/config/genesis.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "config": { - "chainId": 1337, - "homesteadBlock":0, - "eip150Block":0, - "eip155Block":0, - "eip158Block":0, - "byzantiumBlock":0, - "constantinopleBlock":0, - "petersburgBlock":0, - "istanbulBlock":0, - "muirGlacierBlock":0, - "berlinBlock":0, - "londonBlock":0, - "arrowGlacierBlock":0, - "grayGlacierBlock":0, - "mergeNetsplitBlock":0, - "bedrockBlock":0, - "regolithTime":0, - "shanghaiTime":0, - "cancunTime":0, - "terminalTotalDifficulty":0, - "terminalTotalDifficultyPassed":true - }, - "nonce": "0x42", - "timestamp": "0x0", - "extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa", - "gasLimit": "0x1388", - "difficulty": "0x400000000", - "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", - "coinbase": "0x0000000000000000000000000000000000000000", - "alloc": { - "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": { - "balance": "0x56bc75e2d63100000" - }, - "0x70997970C51812dc3A010C7d01b50e0d17dc79C8": { - "balance": "0x56bc75e2d63100000" - }, - "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC": { - "balance": "0x56bc75e2d63100000" - }, - "0x90F79bf6EB2c4f870365E785982E1f101E93b906": { - "balance": "0x56bc75e2d63100000" - }, - "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65": { - "balance": "0x56bc75e2d63100000" - }, - "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc": { - "balance": "0x56bc75e2d63100000" - }, - "0x976EA74026E726554dB657fA54763abd0C3a0aa9": { - "balance": "0x56bc75e2d63100000" - }, - "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955": { - "balance": "0x56bc75e2d63100000" - }, - "0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f": { - "balance": "0x56bc75e2d63100000" - }, - "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720": { - "balance": "0x56bc75e2d63100000" - }, - "0xBcd4042DE499D14e55001CcbB24a551F3b954096": { - "balance": "0x56bc75e2d63100000" - }, - "0x71bE63f3384f5fb98995898A86B02Fb2426c5788": { - "balance": "0x56bc75e2d63100000" - }, - "0xFABB0ac9d68B0B445fB7357272Ff202C5651694a": { - "balance": "0x56bc75e2d63100000" - }, - "0x1CBd3b2770909D4e10f157cABC84C7264073C9Ec": { - "balance": "0x56bc75e2d63100000" - }, - "0xdF3e18d64BC6A983f673Ab319CCaE4f1a57C7097": { - "balance": "0x56bc75e2d63100000" - }, - "0xcd3B766CCDd6AE721141F452C550Ca635964ce71": { - "balance": "0x56bc75e2d63100000" - }, - "0x2546BcD3c84621e976D8185a91A922aE77ECEc30": { - "balance": "0x56bc75e2d63100000" - }, - "0xbDA5747bFD65F08deb54cb465eB87D40e51B197E": { - "balance": "0x56bc75e2d63100000" - }, - "0xdD2FD4581271e230360230F9337D5c0430Bf44C0": { - "balance": "0x56bc75e2d63100000" - }, - "0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199": { - "balance": "0x56bc75e2d63100000" - }, - "0x09DB0a93B389bEF724429898f539AEB7ac2Dd55f": { - "balance": "0x56bc75e2d63100000" - }, - "0x02484cb50AAC86Eae85610D6f4Bf026f30f6627D": { - "balance": "0x56bc75e2d63100000" - }, - "0x08135Da0A343E492FA2d4282F2AE34c6c5CC1BbE": { - "balance": "0x56bc75e2d63100000" - }, - "0x5E661B79FE2D3F6cE70F5AAC07d8Cd9abb2743F1": { - "balance": "0x56bc75e2d63100000" - }, - "0x61097BA76cD906d2ba4FD106E757f7Eb455fc295": { - "balance": "0x56bc75e2d63100000" - }, - "0xDf37F81dAAD2b0327A0A50003740e1C935C70913": { - "balance": "0x56bc75e2d63100000" - }, - "0x553BC17A05702530097c3677091C5BB47a3a7931": { - "balance": "0x56bc75e2d63100000" - }, - "0x87BdCE72c06C21cd96219BD8521bDF1F42C78b5e": { - "balance": "0x56bc75e2d63100000" - }, - "0x40Fc963A729c542424cD800349a7E4Ecc4896624": { - "balance": "0x56bc75e2d63100000" - }, - "0x9DCCe783B6464611f38631e6C851bf441907c710": { - "balance": "0x56bc75e2d63100000" - }, - "0x1BcB8e569EedAb4668e55145Cfeaf190902d3CF2": { - "balance": "0x56bc75e2d63100000" - }, - "0x8263Fce86B1b78F95Ab4dae11907d8AF88f841e7": { - "balance": "0x56bc75e2d63100000" - }, - "0xcF2d5b3cBb4D7bF04e3F7bFa8e27081B52191f91": { - "balance": "0x56bc75e2d63100000" - }, - "0x86c53Eb85D0B7548fea5C4B4F82b4205C8f6Ac18": { - "balance": "0x56bc75e2d63100000" - }, - "0x1aac82773CB722166D7dA0d5b0FA35B0307dD99D": { - "balance": "0x56bc75e2d63100000" - }, - "0x2f4f06d218E426344CFE1A83D53dAd806994D325": { - "balance": "0x56bc75e2d63100000" - }, - "0x1003ff39d25F2Ab16dBCc18EcE05a9B6154f65F4": { - "balance": "0x56bc75e2d63100000" - }, - "0x9eAF5590f2c84912A08de97FA28d0529361Deb9E": { - "balance": "0x56bc75e2d63100000" - }, - "0x11e8F3eA3C6FcF12EcfF2722d75CEFC539c51a1C": { - "balance": "0x56bc75e2d63100000" - }, - "0x7D86687F980A56b832e9378952B738b614A99dc6": { - "balance": "0x56bc75e2d63100000" - }, - "0x9eF6c02FB2ECc446146E05F1fF687a788a8BF76d": { - "balance": "0x56bc75e2d63100000" - }, - "0x08A2DE6F3528319123b25935C92888B16db8913E": { - "balance": "0x56bc75e2d63100000" - }, - "0xe141C82D99D85098e03E1a1cC1CdE676556fDdE0": { - "balance": "0x56bc75e2d63100000" - }, - "0x4b23D303D9e3719D6CDf8d172Ea030F80509ea15": { - "balance": "0x56bc75e2d63100000" - }, - "0xC004e69C5C04A223463Ff32042dd36DabF63A25a": { - "balance": "0x56bc75e2d63100000" - }, - "0x5eb15C0992734B5e77c888D713b4FC67b3D679A2": { - "balance": "0x56bc75e2d63100000" - }, - "0x7Ebb637fd68c523613bE51aad27C35C4DB199B9c": { - "balance": "0x56bc75e2d63100000" - }, - "0x3c3E2E178C69D4baD964568415a0f0c84fd6320A": { - "balance": "0x56bc75e2d63100000" - } - }, - "number": "0x0" - } \ No newline at end of file diff --git a/spartan/aztec-network/files/config/setup-service-addresses.sh b/spartan/aztec-network/files/config/setup-service-addresses.sh index e3d6431c4ad5..05934ad5916c 100644 --- a/spartan/aztec-network/files/config/setup-service-addresses.sh +++ b/spartan/aztec-network/files/config/setup-service-addresses.sh @@ -56,9 +56,9 @@ get_service_address() { if [ "${EXTERNAL_ETHEREUM_HOST}" != "" ]; then ETHEREUM_ADDR="${EXTERNAL_ETHEREUM_HOST}" elif [ "${NETWORK_PUBLIC}" = "true" ]; then - ETHEREUM_ADDR=$(get_service_address "ethereum" "${ETHEREUM_PORT}") + ETHEREUM_ADDR=$(get_service_address "eth-execution" "${ETHEREUM_PORT}") else - ETHEREUM_ADDR="http://${SERVICE_NAME}-ethereum.${NAMESPACE}:${ETHEREUM_PORT}" + ETHEREUM_ADDR="http://${SERVICE_NAME}-eth-execution.${NAMESPACE}:${ETHEREUM_PORT}" fi # Configure Boot Node address diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index 2e303c811121..722c7325a90f 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -144,7 +144,7 @@ Service Address Setup Container - name: EXTERNAL_ETHEREUM_HOST value: "{{ .Values.ethereum.externalHost }}" - name: ETHEREUM_PORT - value: "{{ .Values.ethereum.service.port }}" + value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST value: "{{ .Values.bootNode.externalHost }}" - name: BOOT_NODE_PORT diff --git a/spartan/aztec-network/templates/deploy-l1-verifier.yaml b/spartan/aztec-network/templates/deploy-l1-verifier.yaml index c21dcccbe933..41ae73d7dcca 100644 --- a/spartan/aztec-network/templates/deploy-l1-verifier.yaml +++ b/spartan/aztec-network/templates/deploy-l1-verifier.yaml @@ -101,7 +101,7 @@ spec: - name: EXTERNAL_ETHEREUM_HOST value: "{{ .Values.ethereum.externalHost }}" - name: ETHEREUM_PORT - value: "{{ .Values.ethereum.service.port }}" + value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST value: "{{ .Values.bootNode.externalHost }}" - name: BOOT_NODE_PORT diff --git a/spartan/aztec-network/templates/eth-beacon.yaml b/spartan/aztec-network/templates/eth-beacon.yaml new file mode 100644 index 000000000000..af528260766a --- /dev/null +++ b/spartan/aztec-network/templates/eth-beacon.yaml @@ -0,0 +1,120 @@ +{{- if not .Values.ethereum.externalHost }} +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-beacon + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + replicas: 1 + selector: + matchLabels: + {{- include "aztec-network.selectorLabels" . | nindent 6 }} + app: eth-beacon + template: + metadata: + labels: + {{- include "aztec-network.selectorLabels" . | nindent 8 }} + app: eth-beacon + spec: + {{- if .Values.network.public }} + hostNetwork: true + {{- end }} + containers: + - name: eth-beacon + image: "{{ .Values.images.lighthouse.image }}" + imagePullPolicy: {{ .Values.images.lighthouse.pullPolicy }} + command: ["/bin/sh", "-c"] + args: + # Genesis information is copied such that we can write into it + # First serialize the ssz file + - >- + cp -r /genesis-template /genesis && + base64 -d /genesis/genesis-ssz > /genesis/genesis.ssz && + + + lighthouse bn + --disable-peer-scoring + --disable-packet-filter + --enable-private-discovery + --disable-enr-auto-update + --staking + --http + --http-address=0.0.0.0 + --http-port=5052 + --validator-monitor-auto + --http-allow-origin='*' + --listen-address=0.0.0.0 + {{- include "helpers.flag" (list "port" .Values.ethereum.beacon.port) }} + --target-peers=0 + --testnet-dir=/genesis + --execution-endpoints="http://{{ include "aztec-network.fullname" . }}-eth-execution.{{ .Release.Namespace }}.svc.cluster.local:8551" + --execution-jwt-secret-key="61e1dd9539e8cc37b3d71dcf8ce372f0e119cc1c73426ee80472a4214f2a41a1" + --allow-insecure-genesis-sync + --debug-level=info + volumeMounts: + - name: shared-volume + mountPath: /data + - name: genesis + mountPath: /genesis-template + resources: + {{- toYaml .Values.ethereum.beacon.resources | nindent 12 }} + volumes: + - name: shared-volume + persistentVolumeClaim: + claimName: {{ include "aztec-network.fullname" . }}-eth-beacon-pvc + - name: genesis + configMap: + name: {{ include "aztec-network.fullname" . }}-eth-beacon-genesis +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-beacon + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + {{- if .Values.network.public}} + type: LoadBalancer + {{- else }} + type: ClusterIP + {{- end }} + selector: + {{- include "aztec-network.selectorLabels" . | nindent 4 }} + app: eth-beacon + ports: + - protocol: TCP + port: {{ .Values.ethereum.beacon.service.port }} + targetPort: {{ .Values.ethereum.beacon.service.targetPort }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-beacon-genesis + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +data: + config.yaml: | + {{ .Files.Get "eth-devnet/out/config.yaml" | nindent 4 }} + deposit_contract_block.txt: | + {{ .Files.Get "eth-devnet/out/deposit_contract_block.txt" | nindent 4 }} + jwt-secret.hex: | + {{ .Files.Get "eth-devnet/out/jwt-secret.hex" | nindent 4 }} + genesis-ssz: | + {{ .Files.Get "eth-devnet/out/genesis-ssz" | nindent 4 }} +--- +{{- if gt (.Values.ethereum.replicas | int) 0 }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-beacon-pvc + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + accessModes: ["ReadWriteOnce"] + resources: + requests: + storage: {{ .Values.ethereum.beacon.storageSize }} +{{- end }} +--- +{{ end }} diff --git a/spartan/aztec-network/templates/eth-execution.yaml b/spartan/aztec-network/templates/eth-execution.yaml new file mode 100644 index 000000000000..c4bcc29947b4 --- /dev/null +++ b/spartan/aztec-network/templates/eth-execution.yaml @@ -0,0 +1,120 @@ +{{- if not .Values.ethereum.externalHost }} +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-execution + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + replicas: {{ .Values.ethereum.replicas }} + selector: + matchLabels: + {{- include "aztec-network.selectorLabels" . | nindent 6 }} + app: eth-execution + template: + metadata: + labels: + {{- include "aztec-network.selectorLabels" . | nindent 8 }} + app: eth-execution + spec: + {{- if .Values.network.public }} + hostNetwork: true + {{- end }} + containers: + - name: ethereum + image: "{{ .Values.images.reth.image }}" + imagePullPolicy: {{ .Values.images.reth.pullPolicy }} + command: ["/bin/sh", "-c"] + args: + - >- + reth node + {{ include "helpers.flag" (list "http.port" .Values.ethereum.execution.service.port) }} + --http + --http.addr="0.0.0.0" + --http.api="admin,net,eth,web3,debug,trace" + --http.corsdomain="*" + --max-outbound-peers=0 + --max-inbound-peers=0 + --ipcdisable + --disable-discovery + --authrpc.addr="0.0.0.0" + --authrpc.port=8551 + --authrpc.jwtsecret="/genesis/jwt-secret.hex" + --chain="/genesis/genesis.json" + --datadir="/data" + -vvvv + + ports: + - containerPort: {{ .Values.ethereum.execution.service.port }} + name: eth-execution + volumeMounts: + - name: genesis + mountPath: /genesis + - name: shared-volume + mountPath: /data + resources: + {{- toYaml .Values.ethereum.resources | nindent 12 }} + volumes: + - name: shared-volume + persistentVolumeClaim: + claimName: {{ include "aztec-network.fullname" . }}-eth-execution-pvc + - name: genesis + configMap: + name: {{ include "aztec-network.fullname" . }}-eth-execution-genesis +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-execution + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + {{- if .Values.network.public }} + type: LoadBalancer + {{- else }} + type: ClusterIP + {{- end }} + selector: + {{- include "aztec-network.selectorLabels" . | nindent 4 }} + app: eth-execution + ports: + - name: jsonrpc + protocol: TCP + port: {{ .Values.ethereum.execution.service.port }} + targetPort: {{ .Values.ethereum.execution.service.targetPort }} + {{- if and (eq .Values.ethereum.execution.service.type "NodePort") .Values.ethereum.execution.service.nodePort }} + nodePort: {{ .Values.ethereum.execution.service.nodePort }} + {{- end }} + # Engine Api + - name: engine + protocol: TCP + port: 8551 + targetPort: 8551 +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-execution-genesis + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +data: + genesis.json: | + {{ .Files.Get "eth-devnet/out/genesis.json" | nindent 4 }} + jwt-secret.hex: | + {{ .Files.Get "eth-devnet/out/jwt-secret.hex" | nindent 4 }} +--- +{{- if gt (.Values.ethereum.replicas | int) 0 }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-execution-pvc + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + accessModes: ["ReadWriteOnce"] + resources: + requests: + storage: {{ .Values.ethereum.execution.storageSize }} +{{- end }} +--- +{{ end }} \ No newline at end of file diff --git a/spartan/aztec-network/templates/eth-validator.yaml b/spartan/aztec-network/templates/eth-validator.yaml new file mode 100644 index 000000000000..6f259e67aad9 --- /dev/null +++ b/spartan/aztec-network/templates/eth-validator.yaml @@ -0,0 +1,101 @@ +{{- if not .Values.ethereum.externalHost }} +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-validator + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + replicas: 1 + selector: + matchLabels: + {{- include "aztec-network.selectorLabels" . | nindent 6 }} + app: eth-validator + template: + metadata: + labels: + {{- include "aztec-network.selectorLabels" . | nindent 8 }} + app: eth-validator + spec: + initContainers: + - name: create-genesis + image: maddiaa/eth2-val-tools:latest + imagePullPolicy: IfNotPresent + command: ["/bin/sh", "-c"] + # Generate keystores based on the provided mnemonic, then copy them into the /validator-setup directory + args: + - >- + echo "Generating validator keys..." && + ./eth2-val-tools keystores + --source-min=0 + --source-max=64 + --source-mnemonic="${DEPLOYMENT_MNEMONIC}" + --out-loc=data && + + mkdir -p /validator-setup && + cp -r ./data/* /validator-setup && + rm -rf /validator-setup/lodestar-secrets /validator-setup/nimbus-keys /validator-setup/prysm /validator-setup/teku-keys /validator-setup/teku-secrets && + echo "Validator key generation complete!" + env: + - name: DEPLOYMENT_MNEMONIC + value: {{ .Values.aztec.l1DeploymentMnemonic }} + volumeMounts: + - name: validator-setup + mountPath: /validator-setup + containers: + - name: eth-validator + image: "{{ .Values.images.lighthouse.image }}" + imagePullPolicy: {{ .Values.images.lighthouse.pullPolicy }} + command: ["/bin/sh", "-c"] + # Copy the genesis and validator setup into the data directory + args: + - >- + cp -r /genesis-template /genesis && + mkdir -p /data/validators && + mkdir -p /data/secrets && + cp -r /validator-setup/keys/* /data/validators && + cp -r /validator-setup/secrets/* /data/secrets && + base64 -d /genesis/genesis-ssz > /genesis/genesis.ssz && + + lighthouse vc + --datadir="/data" + --beacon-nodes="http://{{ include "aztec-network.fullname" . }}-eth-beacon.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.ethereum.beacon.service.port }}" + --testnet-dir=/genesis + --init-slashing-protection + --suggested-fee-recipient="0xff00000000000000000000000000000000c0ffee" + --debug-level=debug + volumeMounts: + - name: shared-volume + mountPath: /data + - name: genesis + mountPath: /genesis-template + - name: validator-setup + mountPath: /validator-setup + resources: + {{- toYaml .Values.ethereum.validator.resources | nindent 12 }} + volumes: + - name: shared-volume + persistentVolumeClaim: + claimName: {{ include "aztec-network.fullname" . }}-eth-validator-pvc + # Beacon genesis is defined with eth-beacon + - name: genesis + configMap: + name: {{ include "aztec-network.fullname" . }}-eth-beacon-genesis + - name: validator-setup + emptyDir: {} +{{- if gt (.Values.ethereum.replicas | int) 0 }} +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ include "aztec-network.fullname" . }}-eth-validator-pvc + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + accessModes: ["ReadWriteOnce"] + resources: + requests: + storage: {{ .Values.ethereum.validator.storageSize }} +{{- end }} +--- +{{ end }} diff --git a/spartan/aztec-network/templates/reth.yaml b/spartan/aztec-network/templates/reth.yaml deleted file mode 100644 index 323b5846874c..000000000000 --- a/spartan/aztec-network/templates/reth.yaml +++ /dev/null @@ -1,172 +0,0 @@ -{{- if not .Values.ethereum.externalHost }} -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "aztec-network.fullname" . }}-ethereum - labels: - {{- include "aztec-network.labels" . | nindent 4 }} -spec: - replicas: {{ .Values.ethereum.replicas }} - selector: - matchLabels: - {{- include "aztec-network.selectorLabels" . | nindent 6 }} - app: ethereum - template: - metadata: - labels: - {{- include "aztec-network.selectorLabels" . | nindent 8 }} - app: ethereum - spec: - {{- if .Values.network.public }} - hostNetwork: true - {{- end }} - initContainers: - - name: prepare-genesis - image: node:18-alpine - command: ["/bin/sh", "-c"] - args: - - | - cd /tmp - npm init -y - npm install ethers@6 - cat > derive.js << 'EOF' - const { ethers } = require('ethers'); - const fs = require('fs'); - - async function main() { - const mnemonic = process.env.DEPLOYMENT_MNEMONIC; - const wallet = ethers.Wallet.fromPhrase(mnemonic); - - const genesis = JSON.parse(fs.readFileSync('/genesis-template/genesis.json', 'utf8')); - - genesis.alloc[wallet.address] = { - balance: '0x3635c9adc5dea00000', // 1000 ETH in wei - }; - - // Generate wallets for each index - const numValidators = {{ .Values.validator.replicas }}; - const numExtraAccounts = {{ .Values.ethereum.extraAccounts }}; - const totalAccounts = numValidators + numExtraAccounts; - - const path = "m/44'/60'/0'/0/"; - for (let i = 0; i < totalAccounts; i++) { - // Derive wallet for the current index - const childWallet = ethers.HDNodeWallet.fromPhrase( - mnemonic, - null, - `${path}${i}` - ); - - // Add the wallet's address and balance to the genesis allocation - genesis.alloc[childWallet.address] = { - balance: '0x3635c9adc5dea00000', // 1000 ETH in wei - }; - - console.log(`Added wallet ${i}: ${childWallet.address}`); - } - - - // We rely on the deterministic deployment proxy to deploy the contracts - // It comes preloaded on anvil (https://book.getfoundry.sh/tutorials/create2-tutorial) - // But we need to do it ourselves for reth - // Addresses/tx in https://github.com/Arachnid/deterministic-deployment-proxy/tree/master - const deployer = '0x3fab184622dc19b6109349b94811493bf2a45362' - genesis.alloc[deployer] = { - balance: '0x3635c9adc5dea00000' // 1000 ETH in wei - }; - - fs.writeFileSync('/genesis-output/genesis.json', JSON.stringify(genesis, null, 2)); - } - - main().catch(console.error); - EOF - node derive.js - env: - - name: DEPLOYMENT_MNEMONIC - value: {{ .Values.aztec.l1DeploymentMnemonic }} - volumeMounts: - - name: genesis-template - mountPath: /genesis-template - - name: genesis-output - mountPath: /genesis-output - containers: - - name: ethereum - image: "{{ .Values.images.reth.image }}" - imagePullPolicy: {{ .Values.images.reth.pullPolicy }} - command: ["/bin/sh", "-c"] - args: - - >- - reth node {{ include "helpers.flag" (list "http.addr" "0.0.0.0") }} - {{- include "helpers.flag" (list "http.port" .Values.ethereum.service.port) }} - {{- include "helpers.flag" (list "builder.gaslimit" .Values.ethereum.gasLimit) }} - {{- include "helpers.flag" (list "txpool.gas-limit" .Values.ethereum.gasLimit) }} - {{- include "helpers.flag" (list "dev.block-time" .Values.ethereum.blockTime) }} - --chain /genesis/genesis.json - --datadir /data - --dev - ports: - - containerPort: {{ .Values.ethereum.service.port }} - name: reth - volumeMounts: - - name: shared-volume - mountPath: /data - - name: genesis-output - mountPath: /genesis - resources: - {{- toYaml .Values.ethereum.resources | nindent 12 }} - volumes: - - name: shared-volume - persistentVolumeClaim: - claimName: {{ include "aztec-network.fullname" . }}-ethereum-pvc - - name: genesis-template - configMap: - name: {{ include "aztec-network.fullname" . }}-reth-genesis - - name: genesis-output - emptyDir: {} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ include "aztec-network.fullname" . }}-ethereum - labels: - {{- include "aztec-network.labels" . | nindent 4 }} -spec: - {{- if .Values.network.public }} - type: LoadBalancer - {{- else }} - type: ClusterIP - clusterIP: None - {{- end }} - selector: - {{- include "aztec-network.selectorLabels" . | nindent 4 }} - app: ethereum - ports: - - protocol: TCP - port: {{ .Values.ethereum.service.port }} - targetPort: {{ .Values.ethereum.service.targetPort }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ include "aztec-network.fullname" . }}-reth-genesis - labels: - {{- include "aztec-network.labels" . | nindent 4 }} -data: - genesis.json: | - {{ .Files.Get "files/config/genesis.json" | nindent 4 }} ---- -{{- if gt (.Values.ethereum.replicas | int) 0 }} -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: {{ include "aztec-network.fullname" . }}-ethereum-pvc - labels: - {{- include "aztec-network.labels" . | nindent 4 }} -spec: - accessModes: ["ReadWriteOnce"] - resources: - requests: - storage: {{ .Values.ethereum.storageSize }} -{{- end }} ---- -{{ end }} \ No newline at end of file diff --git a/spartan/aztec-network/templates/setup-l2-contracts.yaml b/spartan/aztec-network/templates/setup-l2-contracts.yaml index 807421d84cd1..87bf387baa1b 100644 --- a/spartan/aztec-network/templates/setup-l2-contracts.yaml +++ b/spartan/aztec-network/templates/setup-l2-contracts.yaml @@ -89,7 +89,7 @@ spec: - name: EXTERNAL_ETHEREUM_HOST value: "{{ .Values.ethereum.externalHost }}" - name: ETHEREUM_PORT - value: "{{ .Values.ethereum.service.port }}" + value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST value: "{{ .Values.bootNode.externalHost }}" - name: BOOT_NODE_PORT diff --git a/spartan/aztec-network/values.yaml b/spartan/aztec-network/values.yaml index 546abfb3608c..7f2709bd01f5 100644 --- a/spartan/aztec-network/values.yaml +++ b/spartan/aztec-network/values.yaml @@ -34,6 +34,9 @@ images: reth: image: ghcr.io/paradigmxyz/reth:v1.0.8 pullPolicy: IfNotPresent + lighthouse: + image: sigp/lighthouse:v6.0.1 + pullPolicy: IfNotPresent aztec: slotDuration: 24 # in seconds, aka L2 slot duration. Must be a multiple of {{ ethereum.blockTime }} diff --git a/spartan/aztec-network/values/ci-smoke.yaml b/spartan/aztec-network/values/ci-smoke.yaml index 4d6cc4ad481b..27f30733331d 100644 --- a/spartan/aztec-network/values/ci-smoke.yaml +++ b/spartan/aztec-network/values/ci-smoke.yaml @@ -29,10 +29,21 @@ bot: cpu: "200m" ethereum: - resources: - requests: - memory: "2Gi" - cpu: "200m" + execution: + resources: + requests: + memory: "2Gi" + cpu: "200m" + beacon: + resources: + requests: + memory: "2Gi" + cpu: "200m" + validator: + resources: + requests: + memory: "2Gi" + cpu: "200m" proverAgent: resources: diff --git a/spartan/aztec-network/values/ci.yaml b/spartan/aztec-network/values/ci.yaml index caedad70d8aa..6c6949ce8a6a 100644 --- a/spartan/aztec-network/values/ci.yaml +++ b/spartan/aztec-network/values/ci.yaml @@ -4,11 +4,22 @@ aztec: epochProofClaimWindow: 2 ethereum: - blockTime: 8sec - resources: - requests: - memory: "2Gi" - cpu: "200m" + blockTime: 8 + execution: + resources: + requests: + memory: "2Gi" + cpu: "200m" + beacon: + resources: + requests: + memory: "2Gi" + cpu: "200m" + validator: + resources: + requests: + memory: "2Gi" + cpu: "200m" telemetry: enabled: true diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index 19e7e64f0b00..ed1f89249f7b 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -116,4 +116,4 @@ "engines": { "node": ">=18" } -} +} \ No newline at end of file diff --git a/yarn-project/bb-prover/src/avm_proving.test.ts b/yarn-project/bb-prover/src/avm_proving.test.ts index feb7581be9e3..154c810f73b4 100644 --- a/yarn-project/bb-prover/src/avm_proving.test.ts +++ b/yarn-project/bb-prover/src/avm_proving.test.ts @@ -290,6 +290,47 @@ describe('AVM WitGen, "check circuit" tests', () => { }, TIMEOUT, ); + it( + 'Should prove and verify multiple app logic enqueued calls (set storage in first call, read it in next)', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ [], + /*setupArgs=*/ [], + /*appFunctionNames=*/ ['set_storage_single', 'read_assert_storage_single'], + /*appArgs=*/ [[new Fr(5)], [new Fr(5)]], + ); + }, + TIMEOUT, + ); + it( + 'Should prove and verify multiple app logic enqueued calls (like `enqueue_public_from_private`)', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ [], + /*setupArgs=*/ [], + /*appFunctionNames=*/ ['set_opcode_u8', 'set_read_storage_single'], + /*appArgs=*/ [[], [new Fr(5)]], + ); + }, + TIMEOUT, + ); + it.skip( + 'Should prove and verify enqueued calls in every phase, with enqueued calls that depend on each other', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], + /*setupArgs=*/ [[new Fr(0)], [new Fr(5)]], + /*appFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], + /*appArgs=*/ [[new Fr(5)], [new Fr(10)]], + /*teardownFunctionName=*/ 'read_assert_storage_single', + /*teardownArgs=*/ [new Fr(10)], + ); + }, + TIMEOUT, + ); }); /** diff --git a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts index f36a6091d207..77512f94446e 100644 --- a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts +++ b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts @@ -1,5 +1,5 @@ import { bufferSchemaFor } from '@aztec/foundation/schemas'; -import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; +import { BufferReader, type Tuple, serializeToBuffer } from '@aztec/foundation/serialize'; import { bufferToHex, hexToBuffer } from '@aztec/foundation/string'; import { type FieldsOf } from '@aztec/foundation/types'; diff --git a/yarn-project/end-to-end/scripts/network_test.sh b/yarn-project/end-to-end/scripts/network_test.sh index e65ded1a4ac5..b34469e4cdbf 100755 --- a/yarn-project/end-to-end/scripts/network_test.sh +++ b/yarn-project/end-to-end/scripts/network_test.sh @@ -124,6 +124,7 @@ function cleanup() { } trap cleanup SIGINT SIGTERM EXIT + # if we don't have a chaos values, remove any existing chaos experiments if [ -z "${CHAOS_VALUES:-}" ]; then echo "Deleting existing network chaos experiments..." @@ -131,6 +132,40 @@ if [ -z "${CHAOS_VALUES:-}" ]; then fi VALUES_PATH="$REPO/spartan/aztec-network/values/$VALUES_FILE" +DEFAULT_VALUES_PATH="$REPO/spartan/aztec-network/values.yaml" + +function read_values_file() { + local key="$1" + + value=$(yq -r ".$key" "$VALUES_PATH") + if [ -z "$value" ] || [ "$value" = "null" ]; then + value=$(yq -r ".$key" "$DEFAULT_VALUES_PATH") + fi + echo "$value" +} + +## Some configuration values are set in the eth-devnet/config/config.yaml file +## and are used to generate the genesis.json file. +## We need to read these values and pass them into the eth devnet create.sh script +## so that it can generate the genesis.json and config.yaml file with the correct values. +function generate_eth_devnet_config() { + export NUMBER_OF_KEYS=$(read_values_file "validator.replicas") + export NUMBER_OF_KEYS=$(read_values_file "validator.replicas") + export MNEMONIC=$(read_values_file "aztec.l1DeploymentMnemonic") + export BLOCK_TIME=$(read_values_file "ethereum.blockTime") + export GAS_LIMIT=$(read_values_file "ethereum.gasLimit") + export CHAIN_ID=$(read_values_file "ethereum.chainId") + + echo "Generating eth devnet config..." + echo "NUMBER_OF_KEYS: $NUMBER_OF_KEYS" + echo "MNEMONIC: $MNEMONIC" + echo "BLOCK_TIME: $BLOCK_TIME" + echo "GAS_LIMIT: $GAS_LIMIT" + echo "CHAIN_ID: $CHAIN_ID" + + $REPO/spartan/aztec-network/eth-devnet/create.sh +} +generate_eth_devnet_config # Install the Helm chart helm upgrade --install spartan "$REPO/spartan/aztec-network/" \ @@ -169,11 +204,10 @@ if ! handle_network_shaping; then fi # Get the values from the values file -VALUES=$(cat "$VALUES_PATH") -ETHEREUM_SLOT_DURATION=$(yq -r '.ethereum.blockTime' <<<"$VALUES") -AZTEC_SLOT_DURATION=$(yq -r '.aztec.slotDuration' <<<"$VALUES") -AZTEC_EPOCH_DURATION=$(yq -r '.aztec.epochDuration' <<<"$VALUES") -AZTEC_EPOCH_PROOF_CLAIM_WINDOW_IN_L2_SLOTS=$(yq -r '.aztec.epochProofClaimWindow' <<<"$VALUES") +ETHEREUM_SLOT_DURATION=$(read_values_file "ethereum.blockTime") +AZTEC_SLOT_DURATION=$(read_values_file "aztec.slotDuration") +AZTEC_EPOCH_DURATION=$(read_values_file "aztec.epochDuration") +AZTEC_EPOCH_PROOF_CLAIM_WINDOW_IN_L2_SLOTS=$(read_values_file "aztec.epochProofClaimWindow") # Run the test if $TEST is not empty if [ -n "$TEST" ]; then diff --git a/yarn-project/end-to-end/src/spartan/4epochs.test.ts b/yarn-project/end-to-end/src/spartan/4epochs.test.ts index 2e73cf2d1dd4..4aa433070715 100644 --- a/yarn-project/end-to-end/src/spartan/4epochs.test.ts +++ b/yarn-project/end-to-end/src/spartan/4epochs.test.ts @@ -37,7 +37,7 @@ describe('token transfer test', () => { hostPort: config.HOST_PXE_PORT, }); await startPortForward({ - resource: `svc/${config.INSTANCE_NAME}-aztec-network-ethereum`, + resource: `svc/${config.INSTANCE_NAME}-aztec-network-eth-execution`, namespace: config.NAMESPACE, containerPort: config.CONTAINER_ETHEREUM_PORT, hostPort: config.HOST_ETHEREUM_PORT, diff --git a/yarn-project/end-to-end/src/spartan/gating-passive.test.ts b/yarn-project/end-to-end/src/spartan/gating-passive.test.ts index 6a596d83966f..06007d05b7f8 100644 --- a/yarn-project/end-to-end/src/spartan/gating-passive.test.ts +++ b/yarn-project/end-to-end/src/spartan/gating-passive.test.ts @@ -76,7 +76,7 @@ describe('a test that passively observes the network in the presence of network hostPort: HOST_PXE_PORT, }); await startPortForward({ - resource: `svc/${config.INSTANCE_NAME}-aztec-network-ethereum`, + resource: `svc/${config.INSTANCE_NAME}-aztec-network-eth-execution`, namespace: NAMESPACE, containerPort: CONTAINER_ETHEREUM_PORT, hostPort: HOST_ETHEREUM_PORT, diff --git a/yarn-project/end-to-end/src/spartan/reorg.test.ts b/yarn-project/end-to-end/src/spartan/reorg.test.ts index ad221bbade78..78d0c3942323 100644 --- a/yarn-project/end-to-end/src/spartan/reorg.test.ts +++ b/yarn-project/end-to-end/src/spartan/reorg.test.ts @@ -54,7 +54,7 @@ describe('reorg test', () => { hostPort: HOST_PXE_PORT, }); await startPortForward({ - resource: `svc/${config.INSTANCE_NAME}-aztec-network-ethereum`, + resource: `svc/${config.INSTANCE_NAME}-aztec-network-eth-execution`, namespace: NAMESPACE, containerPort: CONTAINER_ETHEREUM_PORT, hostPort: HOST_ETHEREUM_PORT, diff --git a/yarn-project/end-to-end/src/spartan/smoke.test.ts b/yarn-project/end-to-end/src/spartan/smoke.test.ts index 5b4e2eb68c11..8be3ebee3214 100644 --- a/yarn-project/end-to-end/src/spartan/smoke.test.ts +++ b/yarn-project/end-to-end/src/spartan/smoke.test.ts @@ -61,7 +61,7 @@ describe('smoke test', () => { // Leaving this test skipped commented out because it requires the ethereum node // to be running and forwarded, e.g. - // kubectl port-forward -n smoke service/spartan-aztec-network-ethereum 8545:8545 + // kubectl port-forward -n smoke service/spartan-aztec-network-eth-execution 8545:8545 // also because it assumes foundry. it.skip('should be able to get rollup info', async () => { diff --git a/yarn-project/ethereum/src/deploy_l1_contracts.ts b/yarn-project/ethereum/src/deploy_l1_contracts.ts index 09e49baf2627..57be542f17ac 100644 --- a/yarn-project/ethereum/src/deploy_l1_contracts.ts +++ b/yarn-project/ethereum/src/deploy_l1_contracts.ts @@ -346,6 +346,8 @@ export const deployL1Contracts = async ( account.address.toString(), rollupConfigArgs, ]; + await deployer.waitForDeployments(); + const rollupAddress = await deployer.deploy(l1Artifacts.rollup, rollupArgs); logger.verbose(`Deployed Rollup at ${rollupAddress}`, rollupConfigArgs); diff --git a/yarn-project/prover-client/src/orchestrator/orchestrator.ts b/yarn-project/prover-client/src/orchestrator/orchestrator.ts index 3d96c3b06d6d..f5329d57b58e 100644 --- a/yarn-project/prover-client/src/orchestrator/orchestrator.ts +++ b/yarn-project/prover-client/src/orchestrator/orchestrator.ts @@ -20,7 +20,7 @@ import { BaseParityInputs, type BlockHeader, Fr, - type GlobalVariables, + GlobalVariables, L1_TO_L2_MSG_SUBTREE_HEIGHT, L1_TO_L2_MSG_SUBTREE_SIBLING_PATH_LENGTH, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, @@ -161,6 +161,22 @@ export class ProvingOrchestrator implements EpochProver { const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db); const newArchiveSiblingPath = await getRootTreeSiblingPath(MerkleTreeId.ARCHIVE, db); + const partial = new PartialStateReference( + await getTreeSnapshot(MerkleTreeId.NOTE_HASH_TREE, db), + await getTreeSnapshot(MerkleTreeId.NULLIFIER_TREE, db), + await getTreeSnapshot(MerkleTreeId.PUBLIC_DATA_TREE, db), + ); + const state = new StateReference(messageTreeSnapshot, partial); + // TODO: Construct the full previousBlockHeader. + const previousBlockHeader = BlockHeader.from({ + lastArchive: startArchiveSnapshot, + contentCommitment: ContentCommitment.empty(), + state, + globalVariables: GlobalVariables.empty(), + totalFees: Fr.ZERO, + totalManaUsed: Fr.ZERO, + }); + const blockProvingState = this.provingState!.startNewBlock( globalVariables, l1ToL2Messages, diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts index a502209d5104..9044091385a7 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts @@ -180,4 +180,19 @@ describe('BrokerCircuitProverFacade', () => { await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); }); + + it('rejects jobs when the facade is stopped', async () => { + const inputs = makeBaseParityInputs(); + const controller = new AbortController(); + + const resultPromise = promiseWithResolvers(); + jest.spyOn(broker, 'enqueueProvingJob'); + jest.spyOn(prover, 'getBaseParityProof').mockReturnValue(resultPromise.promise); + + const promise = facade.getBaseParityProof(inputs, controller.signal, 42).catch(err => ({ err })); + + await facade.stop(); + + await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); + }); }); diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts index 833979906d17..3841220bdbc0 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts @@ -59,6 +59,20 @@ type ProvingJob = { signal?: AbortSignal; }; +// Perform a snapshot sync every 30 seconds +const SNAPSHOT_SYNC_INTERVAL_MS = 30_000; + +const MAX_CONCURRENT_JOB_SETTLED_REQUESTS = 10; +const SNAPSHOT_SYNC_CHECK_MAX_REQUEST_SIZE = 1000; + +type ProvingJob = { + id: ProvingJobId; + type: ProvingRequestType; + promise: PromiseWithResolvers; + abortFn?: () => Promise; + signal?: AbortSignal; +}; + export class BrokerCircuitProverFacade implements ServerCircuitProver { private jobs: Map = new Map(); private runningPromise?: RunningPromise; diff --git a/yarn-project/telemetry-client/package.json b/yarn-project/telemetry-client/package.json index 887088da9179..d2f76ca021ea 100644 --- a/yarn-project/telemetry-client/package.json +++ b/yarn-project/telemetry-client/package.json @@ -88,4 +88,4 @@ "../../foundation/src/jest/setup.mjs" ] } -} +} \ No newline at end of file diff --git a/yarn-project/txe/src/oracle/txe_oracle.ts b/yarn-project/txe/src/oracle/txe_oracle.ts index b338e756b65d..ca96c406db8c 100644 --- a/yarn-project/txe/src/oracle/txe_oracle.ts +++ b/yarn-project/txe/src/oracle/txe_oracle.ts @@ -120,6 +120,10 @@ export class TXE implements TypedOracle { private noteCache: ExecutionNoteCache; + private simulationProvider = new WASMSimulator(); + + private noteCache: ExecutionNoteCache; + debug: LogFn; constructor( diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 000000000000..11cbfd15729a --- /dev/null +++ b/yarn.lock @@ -0,0 +1,12 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + +__metadata: + version: 8 + cacheKey: 10c0 + +"root-workspace-0b6124@workspace:.": + version: 0.0.0-use.local + resolution: "root-workspace-0b6124@workspace:." + languageName: unknown + linkType: soft From abeb13ca4e91a0c4d66787ad5725a988c0098743 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:33:01 +0000 Subject: [PATCH 02/46] fix: dirty rebase --- .release-please-manifest.json | 2 +- barretenberg/ts/CHANGELOG.md | 748 +++++++++++------- barretenberg/ts/package.json | 2 +- .../crates/private-kernel-init/Prover.toml | 2 +- .../crates/private-kernel-inner/Prover.toml | 4 +- .../crates/private-kernel-reset/Prover.toml | 2 +- .../private-kernel-tail-to-public/Prover.toml | 2 +- .../crates/private-kernel-tail/Prover.toml | 2 +- .../crates/rollup-base-private/Prover.toml | 4 +- .../crates/rollup-base-public/Prover.toml | 8 +- .../crates/rollup-block-merge/Prover.toml | 4 - .../block_root/block_root_rollup_inputs.nr | 93 --- .../crates/rollup-merge/Prover.toml | 2 +- .../src/ssa/opt/normalize_value_ids.rs | 5 +- .../src/ssa/ssa_gen/context.rs | 7 - .../tooling/lsp/src/requests/completion.rs | 1 - spartan/aztec-network/values.yaml | 2 +- yarn-project/aztec/package.json | 2 +- .../bb-prover/src/avm_proving.test.ts | 41 - .../rollup/empty_block_root_rollup_inputs.ts | 2 +- .../src/orchestrator/orchestrator.ts | 18 +- .../broker_prover_facade.test.ts | 15 - .../proving_broker/broker_prover_facade.ts | 14 - yarn-project/txe/src/oracle/txe_oracle.ts | 4 - 24 files changed, 493 insertions(+), 493 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 78f65973e484..8047d00eb4a5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,4 +4,4 @@ "yarn-project/aztec": "0.71.0", "barretenberg": "0.71.0", "barretenberg/ts": "0.71.0" -} \ No newline at end of file +} diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index e3ecec31585c..7e1d7ae532bc 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -2,1218 +2,1414 @@ ## [0.71.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.70.0...barretenberg.js-v0.71.0) (2025-01-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.70.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.1...barretenberg.js-v0.70.0) (2025-01-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.0...barretenberg.js-v0.69.1) (2025-01-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.2...barretenberg.js-v0.69.0) (2025-01-03) + ### Miscellaneous -- Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) +* Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) ## [0.68.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.1...barretenberg.js-v0.68.2) (2024-12-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.0...barretenberg.js-v0.68.1) (2024-12-23) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.1...barretenberg.js-v0.68.0) (2024-12-20) + ### Features -- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) -- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) -- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) +* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) + ### Bug Fixes -- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) -- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) -- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) -- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) -- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) +* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) + ### Miscellaneous -- Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) -- **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) -- **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) -- **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) -- **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) -- **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) -- **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) -- **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) +* Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) +* **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) +* **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) +* **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) +* **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) +* **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) +* **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) +* **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) ## [0.67.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.0...barretenberg.js-v0.67.1) (2024-12-17) + ### Features -- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) + ### Bug Fixes -- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) ## [0.67.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.66.0...barretenberg.js-v0.67.0) (2024-12-13) + ### Features -- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) + ### Bug Fixes -- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) ## [0.66.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.2...barretenberg.js-v0.66.0) (2024-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.1...barretenberg.js-v0.65.2) (2024-11-28) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.0...barretenberg.js-v0.65.1) (2024-11-27) + ### Features -- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) +* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) + ### Bug Fixes -- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) ## [0.65.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.64.0...barretenberg.js-v0.65.0) (2024-11-26) + ### Bug Fixes -- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) ## [0.64.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.1...barretenberg.js-v0.64.0) (2024-11-25) + ### Features -- Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) +* Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) + ### Bug Fixes -- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) +* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) + ### Documentation -- Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) +* Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) ## [0.63.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.0...barretenberg.js-v0.63.1) (2024-11-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.63.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.62.0...barretenberg.js-v0.63.0) (2024-11-19) + ### ⚠ BREAKING CHANGES -- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) +* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ### Features -- Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) -- Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) -- Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) +* Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) +* Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) +* Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) + ### Bug Fixes -- Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) +* Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) + ### Miscellaneous -- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) +* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) ## [0.62.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.61.0...barretenberg.js-v0.62.0) (2024-11-01) + ### Features -- Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) +* Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) ## [0.61.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.60.0...barretenberg.js-v0.61.0) (2024-10-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.60.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.59.0...barretenberg.js-v0.60.0) (2024-10-24) + ### Features -- Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) +* Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) + ### Miscellaneous -- Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) +* Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) ## [0.59.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.58.0...barretenberg.js-v0.59.0) (2024-10-21) + ### Bug Fixes -- Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) +* Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) ## [0.58.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.57.0...barretenberg.js-v0.58.0) (2024-10-18) + ### Features -- Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) -- Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) -- Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) +* Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) +* Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) +* Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) + ### Bug Fixes -- Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) -- Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) -- Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) -- Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) -- Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) +* Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) +* Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) +* Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) +* Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) +* Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) ## [0.57.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.56.0...barretenberg.js-v0.57.0) (2024-10-07) + ### Features -- Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) -- CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) -- Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) +* Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) +* CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) +* Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) + ### Bug Fixes -- **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) -- **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) +* **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) +* **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) + ### Miscellaneous -- Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) -- Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) +* Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) +* Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) ## [0.56.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.1...barretenberg.js-v0.56.0) (2024-09-25) + ### Features -- Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) +* Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) + ### Bug Fixes -- Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) +* Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) + ### Miscellaneous -- Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) +* Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) ## [0.55.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.0...barretenberg.js-v0.55.1) (2024-09-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.55.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.54.0...barretenberg.js-v0.55.0) (2024-09-13) + ### Features -- New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) +* New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) ## [0.54.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.53.0...barretenberg.js-v0.54.0) (2024-09-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.53.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.52.0...barretenberg.js-v0.53.0) (2024-09-09) + ### Bug Fixes -- HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) +* HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) ## [0.52.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.1...barretenberg.js-v0.52.0) (2024-09-01) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.0...barretenberg.js-v0.51.1) (2024-08-29) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.1...barretenberg.js-v0.51.0) (2024-08-27) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.0...barretenberg.js-v0.50.1) (2024-08-23) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.2...barretenberg.js-v0.50.0) (2024-08-22) + ### Miscellaneous -- Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) +* Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) ## [0.49.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.1...barretenberg.js-v0.49.2) (2024-08-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.48.0...barretenberg.js-v0.49.0) (2024-08-15) + ### Miscellaneous -- Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) +* Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) ## [0.48.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.1...barretenberg.js-v0.48.0) (2024-08-12) + ### Features -- Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) +* Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) + ### Bug Fixes -- Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) +* Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) ## [0.47.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.0...barretenberg.js-v0.47.1) (2024-07-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.47.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.7...barretenberg.js-v0.47.0) (2024-07-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.6...barretenberg.js-v0.46.7) (2024-07-16) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) + ### Features -- Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) +* Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) + ### Miscellaneous -- **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) +* **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) + ### Documentation -- Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) +* Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) ## [0.46.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.4...barretenberg.js-v0.46.5) (2024-07-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.3...barretenberg.js-v0.46.4) (2024-07-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.2...barretenberg.js-v0.46.3) (2024-07-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.1...barretenberg.js-v0.46.2) (2024-07-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.1...barretenberg.js-v0.46.0) (2024-07-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.0...barretenberg.js-v0.45.1) (2024-07-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) + ### Bug Fixes -- False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) +* False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) ## [0.43.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.42.0...barretenberg.js-v0.43.0) (2024-06-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.42.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.41.0...barretenberg.js-v0.42.0) (2024-06-04) + ### Features -- Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) -- Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) -- Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) -- Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) +* Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) +* Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) +* Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) +* Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) + ### Bug Fixes -- Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) +* Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) + ### Miscellaneous -- Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) -- Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) +* Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) +* Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) ## [0.41.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.1...barretenberg.js-v0.41.0) (2024-05-21) + ### Features -- Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) +* Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) + ### Miscellaneous -- Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) +* Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) ## [0.40.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.0...barretenberg.js-v0.40.1) (2024-05-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.40.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.39.0...barretenberg.js-v0.40.0) (2024-05-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.39.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.38.0...barretenberg.js-v0.39.0) (2024-05-14) + ### ⚠ BREAKING CHANGES -- switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) +* switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ### Features -- Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) +* Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) ## [0.38.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.37.0...barretenberg.js-v0.38.0) (2024-05-07) + ### ⚠ BREAKING CHANGES -- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) +* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ### Features -- `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) -- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) -- Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) -- Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) +* `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) +* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) +* Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) +* Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) + ### Miscellaneous -- Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) -- Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) +* Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) +* Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) ## [0.37.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.36.0...barretenberg.js-v0.37.0) (2024-05-02) + ### Features -- Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) +* Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) ## [0.36.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.1...barretenberg.js-v0.36.0) (2024-04-30) + ### Miscellaneous -- Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) +* Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) ## [0.35.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.0...barretenberg.js-v0.35.1) (2024-04-16) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.35.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.34.0...barretenberg.js-v0.35.0) (2024-04-16) + ### Features -- Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) +* Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) + ### Miscellaneous -- Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) -- TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) +* Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) +* TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) ## [0.34.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.33.0...barretenberg.js-v0.34.0) (2024-04-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.33.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.1...barretenberg.js-v0.33.0) (2024-04-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.32.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.0...barretenberg.js-v0.32.1) (2024-04-02) + ### Features -- Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) +* Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) + ### Bug Fixes -- **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) +* **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) ## [0.32.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.31.0...barretenberg.js-v0.32.0) (2024-03-27) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.31.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.1...barretenberg.js-v0.31.0) (2024-03-26) + ### Features -- Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) -- Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) -- Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) +* Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) +* Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) +* Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) ## [0.30.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.0...barretenberg.js-v0.30.1) (2024-03-20) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.30.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.29.0...barretenberg.js-v0.30.0) (2024-03-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.29.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.1...barretenberg.js-v0.29.0) (2024-03-18) + ### Features -- Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) +* Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) ## [0.28.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.0...barretenberg.js-v0.28.1) (2024-03-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.28.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.2...barretenberg.js-v0.28.0) (2024-03-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.1...barretenberg.js-v0.27.2) (2024-03-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.0...barretenberg.js-v0.27.1) (2024-03-12) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.6...barretenberg.js-v0.27.0) (2024-03-12) + ### Miscellaneous -- Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) +* Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) ## [0.26.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.5...barretenberg.js-v0.26.6) (2024-03-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.4...barretenberg.js-v0.26.5) (2024-03-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.2...barretenberg.js-v0.26.3) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.1...barretenberg.js-v0.26.2) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.0...barretenberg.js-v0.26.1) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.25.0...barretenberg.js-v0.26.0) (2024-03-05) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.25.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.24.0...barretenberg.js-v0.25.0) (2024-03-05) + ### Features -- Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) +* Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) + ### Miscellaneous -- Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) -- Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) -- Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) +* Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) +* Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) +* Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) ## [0.24.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.23.0...barretenberg.js-v0.24.0) (2024-02-13) + ### Features -- Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) +* Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) ## [0.23.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.22.0...barretenberg.js-v0.23.0) (2024-02-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) + ### ⚠ BREAKING CHANGES -- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ### Miscellaneous -- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.20.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.19.0...barretenberg.js-v0.20.0) (2024-01-22) + ### Features -- Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) +* Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) ## [0.19.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.18.0...barretenberg.js-v0.19.0) (2024-01-17) + ### Miscellaneous -- Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) +* Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) ## [0.18.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.17.0...barretenberg.js-v0.18.0) (2024-01-16) + ### Features -- Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) +* Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) + ### Bug Fixes -- Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) +* Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) ## [0.17.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.9...barretenberg.js-v0.17.0) (2024-01-09) + ### ⚠ BREAKING CHANGES -- return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) +* return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ### Features -- Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) -- Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) -- Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) -- Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) +* Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) +* Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) +* Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) +* Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) + ### Miscellaneous -- Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) -- Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) +* Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) +* Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) ## [0.16.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.8...barretenberg.js-v0.16.9) (2023-12-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.7...barretenberg.js-v0.16.8) (2023-12-13) + ### Bug Fixes -- Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) -- Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) +* Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) +* Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) ## [0.16.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.6...barretenberg.js-v0.16.7) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.5...barretenberg.js-v0.16.6) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.3...barretenberg.js-v0.16.4) (2023-12-05) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.2...barretenberg.js-v0.16.3) (2023-12-05) + ### Miscellaneous -- CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) +* CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.1...barretenberg.js-v0.16.2) (2023-12-05) + ### Miscellaneous -- Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) -- Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) +* Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) +* Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) ## [0.16.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.0...barretenberg.js-v0.16.1) (2023-11-28) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.1...barretenberg.js-v0.16.0) (2023-11-27) + ### Miscellaneous -- Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) +* Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) ## [0.15.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.0...barretenberg.js-v0.15.1) (2023-11-21) + ### Features -- **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) +* **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) + ### Miscellaneous -- All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) +* All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) ## [0.15.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.2...barretenberg.js-v0.15.0) (2023-11-16) + ### ⚠ BREAKING CHANGES -- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) +* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ### Bug Fixes -- Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) +* Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) + ### Miscellaneous -- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) -- Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) +* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) +* Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) ## [0.14.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) + ### Features -- Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) +* Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) ## [0.14.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.0...barretenberg.js-v0.14.1) (2023-11-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.14.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.1...barretenberg.js-v0.14.0) (2023-11-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.0...barretenberg.js-v0.13.1) (2023-10-31) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.12.0...barretenberg.js-v0.13.0) (2023-10-31) + ### Features -- New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) +* New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) + ### Miscellaneous -- Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) -- Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) -- Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) +* Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) +* Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) +* Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) ## [0.12.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.1...barretenberg.js-v0.12.0) (2023-10-26) + ### ⚠ BREAKING CHANGES -- remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) +* remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ### Miscellaneous -- Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) -- Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) -- Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) -- Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) +* Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) +* Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) +* Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) +* Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) ## [0.11.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.0...barretenberg.js-v0.11.1) (2023-10-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.11.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) + ### Features -- Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) +* Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) ## [0.10.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.0...barretenberg.js-v0.10.1) (2023-10-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.10.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.9.0...barretenberg.js-v0.10.0) (2023-10-24) + ### Features -- Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) +* Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) ## [0.9.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.14...barretenberg.js-v0.9.0) (2023-10-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.14](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.13...barretenberg.js-v0.8.14) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.13](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.12...barretenberg.js-v0.8.13) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.12](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.11...barretenberg.js-v0.8.12) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.11](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.10...barretenberg.js-v0.8.11) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.9...barretenberg.js-v0.8.10) (2023-10-11) + ### Features -- Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) +* Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) ## [0.8.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.8...barretenberg.js-v0.8.9) (2023-10-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.7...barretenberg.js-v0.8.8) (2023-10-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.6...barretenberg.js-v0.8.7) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.5...barretenberg.js-v0.8.6) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.4...barretenberg.js-v0.8.5) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.3...barretenberg.js-v0.8.4) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.2...barretenberg.js-v0.8.3) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.1...barretenberg.js-v0.8.2) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.0...barretenberg.js-v0.8.1) (2023-10-03) + ### Bug Fixes -- Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) +* Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) ## [0.8.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.10...barretenberg.js-v0.8.0) (2023-10-03) + ### ⚠ BREAKING CHANGES -- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) +* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ### Bug Fixes -- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) +* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) + ### Miscellaneous -- Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) -- Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) -- Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) +* Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) +* Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) +* Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) ## [0.7.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.9...barretenberg.js-v0.7.10) (2023-09-20) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.8...barretenberg.js-v0.7.9) (2023-09-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.7...barretenberg.js-v0.7.8) (2023-09-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.6...barretenberg.js-v0.7.7) (2023-09-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.5...barretenberg.js-v0.7.6) (2023-09-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.4...barretenberg.js-v0.7.5) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.3...barretenberg.js-v0.7.4) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.2...barretenberg.js-v0.7.3) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.1...barretenberg.js-v0.7.2) (2023-09-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.0...barretenberg.js-v0.7.1) (2023-09-14) + ### Miscellaneous -- Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) +* Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) ## [0.7.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) + ### Bug Fixes -- Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) +* Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) + ### Miscellaneous -- Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) +* Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) ## [0.6.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.6...barretenberg.js-v0.6.7) (2023-09-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.5...barretenberg.js-v0.6.6) (2023-09-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.4...barretenberg.js-v0.6.5) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.3...barretenberg.js-v0.6.4) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.2...barretenberg.js-v0.6.3) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.1...barretenberg.js-v0.6.2) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.6.1) (2023-09-08) + ### Miscellaneous -- **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) -- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) -- Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) +* **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) +* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +* Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) ## [0.5.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.5.2) (2023-09-08) + ### Miscellaneous -- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) ## [0.5.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.5.0...barretenberg.js-v0.5.1) (2023-09-05) + ### Features -- Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) -- **ci:** Use content hash in build system, restrict docs build to _.ts or _.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) +* Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) +* **ci:** Use content hash in build system, restrict docs build to *.ts or *.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) + ### Bug Fixes -- **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) -- **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) -- Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) +* **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) +* **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) +* Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) ## [0.5.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.6...barretenberg.js-v0.5.0) (2023-09-01) + ### ⚠ BREAKING CHANGES -- update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) +* update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ### Miscellaneous Chores -- Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) +* Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) ## [0.4.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.5...barretenberg.js-v0.4.6) (2023-08-29) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.4...barretenberg.js-v0.4.5) (2023-08-28) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.3...barretenberg.js-v0.4.4) (2023-08-28) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.2...barretenberg.js-v0.4.3) (2023-08-23) + ### Bug Fixes -- Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) -- Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) +* Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) +* Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) ## [0.4.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.1...barretenberg.js-v0.4.2) (2023-08-21) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.0...barretenberg.js-v0.4.1) (2023-08-21) + ### Bug Fixes -- **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) +* **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) ## [0.4.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.6...barretenberg.js-v0.4.0) (2023-08-21) + ### ⚠ BREAKING CHANGES -- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) +* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ### Bug Fixes -- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) -- Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) -- Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) +* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) +* Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) +* Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) ## [0.3.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.5...barretenberg.js-v0.3.6) (2023-08-08) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.4...barretenberg.js-v0.3.5) (2023-08-07) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.3...barretenberg.js-v0.3.4) (2023-07-25) + ### Features -- Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) +* Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) ## [0.3.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.2...barretenberg.js-v0.3.3) (2023-07-17) + ### Features -- Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) +* Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) ## [0.3.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.1...barretenberg.js-v0.3.2) (2023-07-12) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.0...barretenberg.js-v0.3.1) (2023-07-11) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## 0.3.0 (2023-07-11) + ### Features -- **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) -- **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) -- Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) -- Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) -- **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) +* **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) +* **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) +* Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) +* Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) +* **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) + ### Bug Fixes -- **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) -- bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) -- Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) +* **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) +* bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) +* Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index 51a21aa9dee4..5512cb9a003a 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -102,4 +102,4 @@ "webpack-dev-server": "^4.15.0", "worker-loader": "^3.0.8" } -} \ No newline at end of file +} diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml index 9877bddbb294..e100087b7852 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml @@ -1508,7 +1508,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml index 00bc295c0d2f..5f4c15854556 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -6515,7 +6515,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml index 688c672456c9..a66d94dd7dc1 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml index f58192d9177e..3cacd4ec5ae6 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml index 0c32cd703fcc..facffe6c4068 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml index 4da7e2355bdb..7dabe5fa7a98 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml @@ -22,7 +22,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x0ad7cf4b139c253b28143ba262c4b5710870e8be54333f3b15ed3617f7ae5f92" @@ -5244,7 +5244,7 @@ fee_write_sibling_path = [ ] [inputs.archive_root_membership_witness] -leaf_index = "7" +leaf_index = "5" sibling_path = [ "0x05c625ad4e12187e136570b29b020dea7e3963650e899ffd0fa073d73464a887", "0x2af669b88877cf3ac3d65e3d64c94dab025dcdbec4a3658b6a818057acf2be21", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml index 2f4f4d813754..0bb6cf1e8d95 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml @@ -18,7 +18,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -3515,7 +3515,7 @@ reverted = false [inputs.avm_proof_data.public_inputs.start_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.avm_proof_data.public_inputs.start_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -4853,7 +4853,7 @@ inner = "0x0000000000000000000000000000000000000000000000000000000000000000" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -19073,7 +19073,7 @@ public_data_tree_sibling_paths = [ ] [inputs.archive_root_membership_witness] -leaf_index = "8" +leaf_index = "5" sibling_path = [ "0x190e7dc0a4fcb9c317c351190ee064f5cd8a5f575da0377390f8add3c5d5d4d9", "0x0186a873772f6337a7539a2062dd2e501cf9a991df463cee3e9e068fe8058d98", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml index 2170db5dbca0..39a35c24c7cb 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml @@ -3403,10 +3403,6 @@ prover_id = "0x0000000000000000000000000000000000000000000000000000000000000051" root = "0x1cffcc63d710ac154b6732b7661770c7a418ccc3c057d66d3f9cf29575d33472" next_available_leaf_index = "0x000000000000000000000000000000000000000000000000000000000000000a" - [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.new_archive] - root = "0x1566582e6653f16bc9df9431aeb78df062bf2700872597c2c497d5fd9f9b1fb2" - next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000009" - [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.start_global_variables] chain_id = "0x0000000000000000000000000000000000000000000000000000000000007a69" version = "0x0000000000000000000000000000000000000000000000000000000000000001" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr index b29d57105772..915eef2cca05 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr @@ -193,97 +193,4 @@ pub(crate) mod tests { let _ = builder.execute(); } - - #[test] - unconstrained fn correct_block_root_rollup_output() { - let builder = TestBuilder::new().mock_evaluate_blobs(); - - let output = builder.execute(); - - let left_rollup = builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs; - let right_rollup = builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs; - - assert_eq(output.previous_archive, left_rollup.constants.last_archive); - assert(output.new_archive != output.previous_archive); - assert_eq(output.start_global_variables, left_rollup.constants.global_variables); - assert_eq(output.end_global_variables, left_rollup.constants.global_variables); - - let expected_out_hash = accumulate_sha256([left_rollup.out_hash, right_rollup.out_hash]); - assert_eq(output.out_hash, expected_out_hash); - - let expected_fee = FeeRecipient { - recipient: left_rollup.constants.global_variables.coinbase, - value: left_rollup.accumulated_fees + right_rollup.accumulated_fees, - }; - assert_array_eq(output.fees, [expected_fee]); - } - - #[test] - fn correct_blob_with_non_empty_fields() { - // Note: this test will not run in unconstrained, because it reaches the foreign call - // TODO(#10323): remove the oracle and switch this test to unconstrained - - // The below values are generated from block_building_helper.test.ts. - let blob_fields_0 = [ - 0x000000000000000000000000000000000074785f737461727400000500010000, - 0x000000000000000000000000000000000000000000000000000000000000002a, - 0x0002000000000000000000000000000000000000000000000000000000000000, - 0x0000000000000000000000000000000000000000000000000000000004000001, - 0x0000000000000000000000000000000000000000000000000000000000000123, - ]; - let blob_fields_1 = [ - 0x000000000000000000000000000000000074785f737461727400000700010000, - 0x000000000000000000000000000000000000000000000000000000000000002b, - 0x0002000000000000000000000000000000000000000000000000000000000000, - 0x0000000000000000000000000000000000000000000000000000000003000001, - 0x0000000000000000000000000000000000000000000000000000000000006789, - 0x0000000000000000000000000000000000000000000000000000000004000001, - 0x0000000000000000000000000000000000000000000000000000000000000045, - ]; - let expected_blob_commitment = [ - 0x008c32fe581c8fdba12c0d7597911dead2d937d68525bae655508412bb53bb98, - 0x0000000000000000000000000000006aaa0680f21270e7d8de4e19da5164f95c, - ]; - let expected_blobs_hash = - 0x00a965619c8668b834755678b32d023b9c5e8588ce449f44f7fa9335455b5cc5; - let expected_z = 0x1f92b871671f27a378d23f1cef10fbd8f0d90dd7172da9e3c3fc1aa745a072c3; - - let mut builder = TestBuilder::new_with_blobs_fields(blob_fields_0, blob_fields_1); - builder.data.blob_commitments[0].inner = expected_blob_commitment; - builder.data.blobs_hash = expected_blobs_hash; - - let output = builder.execute(); - - let start_sponge_blob = - builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob; - let end_sponge_blob = - builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs.end_sponge_blob; - let blobs_fields = array_concat(blob_fields_0, blob_fields_1); - let mut expected_sponge = start_sponge_blob; - expected_sponge.absorb(blobs_fields, blobs_fields.len()); - assert(!end_sponge_blob.eq(start_sponge_blob)); - assert(end_sponge_blob.eq(expected_sponge)); - - let hashed_tx_effects = expected_sponge.squeeze(); - let computed_z = Poseidon2::hash( - [hashed_tx_effects, expected_blob_commitment[0], expected_blob_commitment[1]], - 3, - ); - assert_eq(computed_z, expected_z); - assert_eq(output.blob_public_inputs[0].inner[0].z, expected_z); - assert_eq( - output.blob_public_inputs[0].inner[0].kzg_commitment.inner, - expected_blob_commitment, - ); - } - - #[test(should_fail_with = "block's first blob sponge was not empty")] - unconstrained fn non_empty_start_blob_fails() { - let mut builder = TestBuilder::new(); - - builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob.fields = - 1; - - let _ = builder.execute(); - } } diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml index e4468220d356..edd8af37b725 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml @@ -882,7 +882,7 @@ next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000 "0x234ad0eebbc903d5819d1d912167965e70a71b1cad76b7c094b9c948ec3334f0", "0x25e6ff8e72ba7a1d4fc3b7c0459287c577dfe649c9426a52bf4538eecfdb0eae" ] - cache_size = "0x0000000000000000000000000000000000000000000000000000000000000002" + cache_size = "0x0000000000000000000000000000000000000000000000000000000000000003" squeeze_mode = false [inputs.previous_rollup_data.proof] diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs index 11986d080d56..b248f6734a90 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs @@ -3,7 +3,6 @@ use std::collections::BTreeMap; use crate::ssa::{ ir::{ basic_block::BasicBlockId, - dfg::DataFlowGraph, function::{Function, FunctionId}, map::SparseMap, post_order::PostOrder, @@ -26,7 +25,7 @@ impl Ssa { let mut context = Context::default(); context.populate_functions(&self.functions); for function in self.functions.values_mut() { - context.normalize_ids(function, &self.globals.dfg); + context.normalize_ids(function); } self.functions = context.functions.into_btree(); } @@ -66,7 +65,7 @@ impl Context { } } - fn normalize_ids(&mut self, old_function: &mut Function, globals: &DataFlowGraph) { + fn normalize_ids(&mut self, old_function: &mut Function) { self.new_ids.blocks.clear(); self.new_ids.values.clear(); diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index c06e22ea66e8..0b778ef9b78d 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -123,7 +123,6 @@ impl<'a> FunctionContext<'a> { let definitions = HashMap::default(); let mut this = Self { definitions, builder, shared_context, loops: Vec::new() }; - this.add_globals(); this.add_parameters_to_scope(parameters); this } @@ -147,12 +146,6 @@ impl<'a> FunctionContext<'a> { self.add_parameters_to_scope(&func.parameters); } - fn add_globals(&mut self) { - for (_, value) in self.shared_context.globals_context.dfg.values_iter() { - self.builder.current_function.dfg.make_global(value.get_type().into_owned()); - } - } - /// Add each parameter to the current scope, and return the list of parameter types. /// /// The returned parameter type list will be flattened, so any struct parameters will diff --git a/noir/noir-repo/tooling/lsp/src/requests/completion.rs b/noir/noir-repo/tooling/lsp/src/requests/completion.rs index b639e17e4e41..0d737e29ff7c 100644 --- a/noir/noir-repo/tooling/lsp/src/requests/completion.rs +++ b/noir/noir-repo/tooling/lsp/src/requests/completion.rs @@ -28,7 +28,6 @@ use noirc_frontend::{ def_map::{CrateDefMap, LocalModuleId, ModuleDefId, ModuleId}, resolution::visibility::{ item_in_module_is_visible, method_call_is_visible, struct_member_is_visible, - trait_member_is_visible, }, }, hir_def::traits::Trait, diff --git a/spartan/aztec-network/values.yaml b/spartan/aztec-network/values.yaml index 7f2709bd01f5..ebd9ab61ba87 100644 --- a/spartan/aztec-network/values.yaml +++ b/spartan/aztec-network/values.yaml @@ -224,7 +224,7 @@ ethereum: externalHost: "" replicas: 1 chainId: 1337 - blockTime: 12sec + blockTime: 12 extraAccounts: 10 # 1 billion gas limit # helps ensure we can deploy public contracts diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index ed1f89249f7b..19e7e64f0b00 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -116,4 +116,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/yarn-project/bb-prover/src/avm_proving.test.ts b/yarn-project/bb-prover/src/avm_proving.test.ts index 154c810f73b4..feb7581be9e3 100644 --- a/yarn-project/bb-prover/src/avm_proving.test.ts +++ b/yarn-project/bb-prover/src/avm_proving.test.ts @@ -290,47 +290,6 @@ describe('AVM WitGen, "check circuit" tests', () => { }, TIMEOUT, ); - it( - 'Should prove and verify multiple app logic enqueued calls (set storage in first call, read it in next)', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ [], - /*setupArgs=*/ [], - /*appFunctionNames=*/ ['set_storage_single', 'read_assert_storage_single'], - /*appArgs=*/ [[new Fr(5)], [new Fr(5)]], - ); - }, - TIMEOUT, - ); - it( - 'Should prove and verify multiple app logic enqueued calls (like `enqueue_public_from_private`)', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ [], - /*setupArgs=*/ [], - /*appFunctionNames=*/ ['set_opcode_u8', 'set_read_storage_single'], - /*appArgs=*/ [[], [new Fr(5)]], - ); - }, - TIMEOUT, - ); - it.skip( - 'Should prove and verify enqueued calls in every phase, with enqueued calls that depend on each other', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], - /*setupArgs=*/ [[new Fr(0)], [new Fr(5)]], - /*appFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], - /*appArgs=*/ [[new Fr(5)], [new Fr(10)]], - /*teardownFunctionName=*/ 'read_assert_storage_single', - /*teardownArgs=*/ [new Fr(10)], - ); - }, - TIMEOUT, - ); }); /** diff --git a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts index 77512f94446e..f36a6091d207 100644 --- a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts +++ b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts @@ -1,5 +1,5 @@ import { bufferSchemaFor } from '@aztec/foundation/schemas'; -import { BufferReader, type Tuple, serializeToBuffer } from '@aztec/foundation/serialize'; +import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; import { bufferToHex, hexToBuffer } from '@aztec/foundation/string'; import { type FieldsOf } from '@aztec/foundation/types'; diff --git a/yarn-project/prover-client/src/orchestrator/orchestrator.ts b/yarn-project/prover-client/src/orchestrator/orchestrator.ts index f5329d57b58e..3d96c3b06d6d 100644 --- a/yarn-project/prover-client/src/orchestrator/orchestrator.ts +++ b/yarn-project/prover-client/src/orchestrator/orchestrator.ts @@ -20,7 +20,7 @@ import { BaseParityInputs, type BlockHeader, Fr, - GlobalVariables, + type GlobalVariables, L1_TO_L2_MSG_SUBTREE_HEIGHT, L1_TO_L2_MSG_SUBTREE_SIBLING_PATH_LENGTH, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, @@ -161,22 +161,6 @@ export class ProvingOrchestrator implements EpochProver { const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db); const newArchiveSiblingPath = await getRootTreeSiblingPath(MerkleTreeId.ARCHIVE, db); - const partial = new PartialStateReference( - await getTreeSnapshot(MerkleTreeId.NOTE_HASH_TREE, db), - await getTreeSnapshot(MerkleTreeId.NULLIFIER_TREE, db), - await getTreeSnapshot(MerkleTreeId.PUBLIC_DATA_TREE, db), - ); - const state = new StateReference(messageTreeSnapshot, partial); - // TODO: Construct the full previousBlockHeader. - const previousBlockHeader = BlockHeader.from({ - lastArchive: startArchiveSnapshot, - contentCommitment: ContentCommitment.empty(), - state, - globalVariables: GlobalVariables.empty(), - totalFees: Fr.ZERO, - totalManaUsed: Fr.ZERO, - }); - const blockProvingState = this.provingState!.startNewBlock( globalVariables, l1ToL2Messages, diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts index 9044091385a7..a502209d5104 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts @@ -180,19 +180,4 @@ describe('BrokerCircuitProverFacade', () => { await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); }); - - it('rejects jobs when the facade is stopped', async () => { - const inputs = makeBaseParityInputs(); - const controller = new AbortController(); - - const resultPromise = promiseWithResolvers(); - jest.spyOn(broker, 'enqueueProvingJob'); - jest.spyOn(prover, 'getBaseParityProof').mockReturnValue(resultPromise.promise); - - const promise = facade.getBaseParityProof(inputs, controller.signal, 42).catch(err => ({ err })); - - await facade.stop(); - - await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); - }); }); diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts index 3841220bdbc0..833979906d17 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts @@ -59,20 +59,6 @@ type ProvingJob = { signal?: AbortSignal; }; -// Perform a snapshot sync every 30 seconds -const SNAPSHOT_SYNC_INTERVAL_MS = 30_000; - -const MAX_CONCURRENT_JOB_SETTLED_REQUESTS = 10; -const SNAPSHOT_SYNC_CHECK_MAX_REQUEST_SIZE = 1000; - -type ProvingJob = { - id: ProvingJobId; - type: ProvingRequestType; - promise: PromiseWithResolvers; - abortFn?: () => Promise; - signal?: AbortSignal; -}; - export class BrokerCircuitProverFacade implements ServerCircuitProver { private jobs: Map = new Map(); private runningPromise?: RunningPromise; diff --git a/yarn-project/txe/src/oracle/txe_oracle.ts b/yarn-project/txe/src/oracle/txe_oracle.ts index ca96c406db8c..b338e756b65d 100644 --- a/yarn-project/txe/src/oracle/txe_oracle.ts +++ b/yarn-project/txe/src/oracle/txe_oracle.ts @@ -120,10 +120,6 @@ export class TXE implements TypedOracle { private noteCache: ExecutionNoteCache; - private simulationProvider = new WASMSimulator(); - - private noteCache: ExecutionNoteCache; - debug: LogFn; constructor( From 76cc51d318a512376bfcafbeeb3e7d3b55c33d74 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 02:33:17 +0000 Subject: [PATCH 03/46] fix: dirty merge --- spartan/aztec-network/values.yaml | 32 +++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/spartan/aztec-network/values.yaml b/spartan/aztec-network/values.yaml index ebd9ab61ba87..f3dec7d93c07 100644 --- a/spartan/aztec-network/values.yaml +++ b/spartan/aztec-network/values.yaml @@ -221,7 +221,6 @@ bot: otelExcludeMetrics: "" ethereum: - externalHost: "" replicas: 1 chainId: 1337 blockTime: 12 @@ -230,9 +229,34 @@ ethereum: # helps ensure we can deploy public contracts gasLimit: "1000000000" args: "" - service: - port: 8545 - targetPort: 8545 + execution: + externalHost: "" + service: + port: 8545 + targetPort: 8545 + nodePort: "" + resources: + requests: + memory: "4Gi" + cpu: "1" + storageSize: "80Gi" + beacon: + externalHost: "" + service: + port: 5052 + targetPort: 5052 + nodePort: "" + resources: + requests: + memory: "4Gi" + cpu: "1" + storageSize: "80Gi" + validator: + resources: + requests: + memory: "4Gi" + cpu: "1" + storageSize: "80Gi" readinessProbe: initialDelaySeconds: 5 periodSeconds: 10 From ee07f274fb0d339c6486a9aaf332b589be1bc1a3 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 02:37:15 +0000 Subject: [PATCH 04/46] fix: dirty merge --- .../aztec-network/templates/boot-node.yaml | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/spartan/aztec-network/templates/boot-node.yaml b/spartan/aztec-network/templates/boot-node.yaml index 56b0ee5d916d..c467ea50c9cf 100644 --- a/spartan/aztec-network/templates/boot-node.yaml +++ b/spartan/aztec-network/templates/boot-node.yaml @@ -52,30 +52,6 @@ spec: - name: config mountPath: /shared/config {{- if .Values.bootNode.deployContracts }} - - name: deploy-create2-deployer - image: {{ .Values.images.foundry.image }} - command: - - /bin/sh - - -c - - | - set -eux - source /shared/config/service-addresses - # it is possible that even though we asserted this above, the DNS resolver of *this* pod - # is not yet ready to resolve the ethereum host. - # so we need to wait for it to be ready. - until cast rpc --rpc-url ${ETHEREUM_HOST} eth_chainId | grep 0x; do - echo "Waiting for Ethereum node ${ETHEREUM_HOST}..." - sleep 5 - done - echo "Ethereum node is ready!" - PROXY_CODE="$(cast code --rpc-url ${ETHEREUM_HOST} 0x4e59b44847b379578588920ca78fbf26c0b4956c)" - if [ "$PROXY_CODE" = "0x" ]; then - echo "Deploying Deterministic Deployment Proxy" - cast publish --rpc-url ${ETHEREUM_HOST} 0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222 - fi - volumeMounts: - - name: config - mountPath: /shared/config - name: deploy-l1-contracts {{- include "aztec-network.image" . | nindent 10 }} command: From fe5c7b96c35ccc120d42ded7bebd6b5fc0b70189 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 15:34:06 +0000 Subject: [PATCH 05/46] fix --- spartan/aztec-network/templates/_helpers.tpl | 2 +- spartan/aztec-network/templates/deploy-l1-verifier.yaml | 2 +- spartan/aztec-network/templates/setup-l2-contracts.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index 722c7325a90f..1dac76584ca5 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -142,7 +142,7 @@ Service Address Setup Container - name: OTEL_COLLECTOR_ENDPOINT value: "{{ .Values.telemetry.otelCollectorEndpoint }}" - name: EXTERNAL_ETHEREUM_HOST - value: "{{ .Values.ethereum.externalHost }}" + value: "{{ .Values.ethereum.exection.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST diff --git a/spartan/aztec-network/templates/deploy-l1-verifier.yaml b/spartan/aztec-network/templates/deploy-l1-verifier.yaml index 41ae73d7dcca..11eea82ab1b7 100644 --- a/spartan/aztec-network/templates/deploy-l1-verifier.yaml +++ b/spartan/aztec-network/templates/deploy-l1-verifier.yaml @@ -99,7 +99,7 @@ spec: - name: NAMESPACE value: {{ .Release.Namespace }} - name: EXTERNAL_ETHEREUM_HOST - value: "{{ .Values.ethereum.externalHost }}" + value: "{{ .Values.ethereum.exection.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST diff --git a/spartan/aztec-network/templates/setup-l2-contracts.yaml b/spartan/aztec-network/templates/setup-l2-contracts.yaml index 87bf387baa1b..65fef3677f32 100644 --- a/spartan/aztec-network/templates/setup-l2-contracts.yaml +++ b/spartan/aztec-network/templates/setup-l2-contracts.yaml @@ -87,7 +87,7 @@ spec: - name: NAMESPACE value: {{ .Release.Namespace }} - name: EXTERNAL_ETHEREUM_HOST - value: "{{ .Values.ethereum.externalHost }}" + value: "{{ .Values.ethereum.exection.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST From 0f60492d590247a79556cb3d8cceae9990f91b49 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 16:03:19 +0000 Subject: [PATCH 06/46] fix: typo --- spartan/aztec-network/templates/_helpers.tpl | 2 +- spartan/aztec-network/templates/deploy-l1-verifier.yaml | 2 +- spartan/aztec-network/templates/setup-l2-contracts.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index 1dac76584ca5..9e23dc5ffdb8 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -142,7 +142,7 @@ Service Address Setup Container - name: OTEL_COLLECTOR_ENDPOINT value: "{{ .Values.telemetry.otelCollectorEndpoint }}" - name: EXTERNAL_ETHEREUM_HOST - value: "{{ .Values.ethereum.exection.externalHost }}" + value: "{{ .Values.ethereum.execution.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST diff --git a/spartan/aztec-network/templates/deploy-l1-verifier.yaml b/spartan/aztec-network/templates/deploy-l1-verifier.yaml index 11eea82ab1b7..ac165f393a7c 100644 --- a/spartan/aztec-network/templates/deploy-l1-verifier.yaml +++ b/spartan/aztec-network/templates/deploy-l1-verifier.yaml @@ -99,7 +99,7 @@ spec: - name: NAMESPACE value: {{ .Release.Namespace }} - name: EXTERNAL_ETHEREUM_HOST - value: "{{ .Values.ethereum.exection.externalHost }}" + value: "{{ .Values.ethereum.execution.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST diff --git a/spartan/aztec-network/templates/setup-l2-contracts.yaml b/spartan/aztec-network/templates/setup-l2-contracts.yaml index 65fef3677f32..804ed7cc7e1f 100644 --- a/spartan/aztec-network/templates/setup-l2-contracts.yaml +++ b/spartan/aztec-network/templates/setup-l2-contracts.yaml @@ -87,7 +87,7 @@ spec: - name: NAMESPACE value: {{ .Release.Namespace }} - name: EXTERNAL_ETHEREUM_HOST - value: "{{ .Values.ethereum.exection.externalHost }}" + value: "{{ .Values.ethereum.execution.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST From cbeb8dbdc55ad42529c1be073ae43de57e66349e Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 17:56:11 +0000 Subject: [PATCH 07/46] fix: dirty rebase --- .../crates/private-kernel-init/Prover.toml | 2 +- .../crates/private-kernel-inner/Prover.toml | 4 ++-- .../crates/private-kernel-reset/Prover.toml | 2 +- .../crates/private-kernel-tail-to-public/Prover.toml | 2 +- .../crates/private-kernel-tail/Prover.toml | 2 +- .../crates/rollup-base-private/Prover.toml | 4 ++-- .../crates/rollup-base-public/Prover.toml | 8 ++++---- .../crates/rollup-merge/Prover.toml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml index e100087b7852..9877bddbb294 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml @@ -1508,7 +1508,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml index 5f4c15854556..00bc295c0d2f 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -6515,7 +6515,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml index a66d94dd7dc1..688c672456c9 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml index 3cacd4ec5ae6..f58192d9177e 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml index facffe6c4068..0c32cd703fcc 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml index 7dabe5fa7a98..4da7e2355bdb 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml @@ -22,7 +22,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x0ad7cf4b139c253b28143ba262c4b5710870e8be54333f3b15ed3617f7ae5f92" @@ -5244,7 +5244,7 @@ fee_write_sibling_path = [ ] [inputs.archive_root_membership_witness] -leaf_index = "5" +leaf_index = "7" sibling_path = [ "0x05c625ad4e12187e136570b29b020dea7e3963650e899ffd0fa073d73464a887", "0x2af669b88877cf3ac3d65e3d64c94dab025dcdbec4a3658b6a818057acf2be21", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml index 0bb6cf1e8d95..2f4f4d813754 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml @@ -18,7 +18,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -3515,7 +3515,7 @@ reverted = false [inputs.avm_proof_data.public_inputs.start_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" [inputs.avm_proof_data.public_inputs.start_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -4853,7 +4853,7 @@ inner = "0x0000000000000000000000000000000000000000000000000000000000000000" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -19073,7 +19073,7 @@ public_data_tree_sibling_paths = [ ] [inputs.archive_root_membership_witness] -leaf_index = "5" +leaf_index = "8" sibling_path = [ "0x190e7dc0a4fcb9c317c351190ee064f5cd8a5f575da0377390f8add3c5d5d4d9", "0x0186a873772f6337a7539a2062dd2e501cf9a991df463cee3e9e068fe8058d98", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml index edd8af37b725..e4468220d356 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml @@ -882,7 +882,7 @@ next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000 "0x234ad0eebbc903d5819d1d912167965e70a71b1cad76b7c094b9c948ec3334f0", "0x25e6ff8e72ba7a1d4fc3b7c0459287c577dfe649c9426a52bf4538eecfdb0eae" ] - cache_size = "0x0000000000000000000000000000000000000000000000000000000000000003" + cache_size = "0x0000000000000000000000000000000000000000000000000000000000000002" squeeze_mode = false [inputs.previous_rollup_data.proof] From 4f13f27a74eaa834d23498ff0e463ac0d12b0773 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:45:31 +0000 Subject: [PATCH 08/46] feat(spartan): cl layer in spartan --- .release-please-manifest.json | 2 +- barretenberg/ts/CHANGELOG.md | 748 +++++++----------- barretenberg/ts/package.json | 2 +- .../crates/rollup-block-merge/Prover.toml | 4 + .../block_root/block_root_rollup_inputs.nr | 93 +++ .../src/ssa/opt/normalize_value_ids.rs | 5 +- .../src/ssa/ssa_gen/context.rs | 7 + .../tooling/lsp/src/requests/completion.rs | 1 + yarn-project/aztec/package.json | 2 +- .../bb-prover/src/avm_proving.test.ts | 41 + .../rollup/empty_block_root_rollup_inputs.ts | 2 +- .../src/orchestrator/orchestrator.ts | 18 +- .../broker_prover_facade.test.ts | 15 + .../proving_broker/broker_prover_facade.ts | 14 + yarn-project/txe/src/oracle/txe_oracle.ts | 4 + 15 files changed, 479 insertions(+), 479 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8047d00eb4a5..78f65973e484 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,4 +4,4 @@ "yarn-project/aztec": "0.71.0", "barretenberg": "0.71.0", "barretenberg/ts": "0.71.0" -} +} \ No newline at end of file diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index 7e1d7ae532bc..e3ecec31585c 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -2,1414 +2,1218 @@ ## [0.71.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.70.0...barretenberg.js-v0.71.0) (2025-01-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.70.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.1...barretenberg.js-v0.70.0) (2025-01-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.0...barretenberg.js-v0.69.1) (2025-01-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.2...barretenberg.js-v0.69.0) (2025-01-03) - ### Miscellaneous -* Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) +- Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) ## [0.68.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.1...barretenberg.js-v0.68.2) (2024-12-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.0...barretenberg.js-v0.68.1) (2024-12-23) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.1...barretenberg.js-v0.68.0) (2024-12-20) - ### Features -* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) -* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) -* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) - +- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) ### Bug Fixes -* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) -* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) -* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) -* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) -* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) - +- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) ### Miscellaneous -* Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) -* **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) -* **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) -* **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) -* **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) -* **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) -* **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) -* **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) +- Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) +- **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) +- **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) +- **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) +- **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) +- **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) +- **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) +- **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) ## [0.67.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.0...barretenberg.js-v0.67.1) (2024-12-17) - ### Features -* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) - +- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) ### Bug Fixes -* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) ## [0.67.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.66.0...barretenberg.js-v0.67.0) (2024-12-13) - ### Features -* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) - +- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) ### Bug Fixes -* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) ## [0.66.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.2...barretenberg.js-v0.66.0) (2024-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.1...barretenberg.js-v0.65.2) (2024-11-28) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.0...barretenberg.js-v0.65.1) (2024-11-27) - ### Features -* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) - +- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) ### Bug Fixes -* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) ## [0.65.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.64.0...barretenberg.js-v0.65.0) (2024-11-26) - ### Bug Fixes -* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) ## [0.64.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.1...barretenberg.js-v0.64.0) (2024-11-25) - ### Features -* Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) - +- Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) ### Bug Fixes -* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) - +- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) ### Documentation -* Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) +- Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) ## [0.63.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.0...barretenberg.js-v0.63.1) (2024-11-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.63.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.62.0...barretenberg.js-v0.63.0) (2024-11-19) - ### ⚠ BREAKING CHANGES -* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) +- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ### Features -* Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) -* Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) -* Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) - +- Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) +- Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) +- Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) ### Bug Fixes -* Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) - +- Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) ### Miscellaneous -* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) +- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) ## [0.62.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.61.0...barretenberg.js-v0.62.0) (2024-11-01) - ### Features -* Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) +- Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) ## [0.61.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.60.0...barretenberg.js-v0.61.0) (2024-10-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.60.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.59.0...barretenberg.js-v0.60.0) (2024-10-24) - ### Features -* Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) - +- Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) ### Miscellaneous -* Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) +- Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) ## [0.59.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.58.0...barretenberg.js-v0.59.0) (2024-10-21) - ### Bug Fixes -* Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) +- Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) ## [0.58.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.57.0...barretenberg.js-v0.58.0) (2024-10-18) - ### Features -* Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) -* Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) -* Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) - +- Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) +- Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) +- Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) ### Bug Fixes -* Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) -* Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) -* Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) -* Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) -* Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) +- Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) +- Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) +- Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) +- Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) +- Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) ## [0.57.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.56.0...barretenberg.js-v0.57.0) (2024-10-07) - ### Features -* Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) -* CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) -* Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) - +- Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) +- CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) +- Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) ### Bug Fixes -* **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) -* **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) - +- **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) +- **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) ### Miscellaneous -* Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) -* Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) +- Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) +- Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) ## [0.56.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.1...barretenberg.js-v0.56.0) (2024-09-25) - ### Features -* Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) - +- Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) ### Bug Fixes -* Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) - +- Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) ### Miscellaneous -* Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) +- Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) ## [0.55.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.0...barretenberg.js-v0.55.1) (2024-09-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.55.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.54.0...barretenberg.js-v0.55.0) (2024-09-13) - ### Features -* New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) +- New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) ## [0.54.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.53.0...barretenberg.js-v0.54.0) (2024-09-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.53.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.52.0...barretenberg.js-v0.53.0) (2024-09-09) - ### Bug Fixes -* HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) +- HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) ## [0.52.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.1...barretenberg.js-v0.52.0) (2024-09-01) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.0...barretenberg.js-v0.51.1) (2024-08-29) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.1...barretenberg.js-v0.51.0) (2024-08-27) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.0...barretenberg.js-v0.50.1) (2024-08-23) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.2...barretenberg.js-v0.50.0) (2024-08-22) - ### Miscellaneous -* Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) +- Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) ## [0.49.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.1...barretenberg.js-v0.49.2) (2024-08-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.48.0...barretenberg.js-v0.49.0) (2024-08-15) - ### Miscellaneous -* Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) +- Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) ## [0.48.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.1...barretenberg.js-v0.48.0) (2024-08-12) - ### Features -* Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) - +- Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) ### Bug Fixes -* Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) +- Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) ## [0.47.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.0...barretenberg.js-v0.47.1) (2024-07-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.47.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.7...barretenberg.js-v0.47.0) (2024-07-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.6...barretenberg.js-v0.46.7) (2024-07-16) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) - ### Features -* Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) - +- Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) ### Miscellaneous -* **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) - +- **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) ### Documentation -* Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) +- Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) ## [0.46.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.4...barretenberg.js-v0.46.5) (2024-07-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.3...barretenberg.js-v0.46.4) (2024-07-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.2...barretenberg.js-v0.46.3) (2024-07-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.1...barretenberg.js-v0.46.2) (2024-07-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.1...barretenberg.js-v0.46.0) (2024-07-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.0...barretenberg.js-v0.45.1) (2024-07-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) - ### Bug Fixes -* False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) +- False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) ## [0.43.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.42.0...barretenberg.js-v0.43.0) (2024-06-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.42.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.41.0...barretenberg.js-v0.42.0) (2024-06-04) - ### Features -* Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) -* Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) -* Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) -* Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) - +- Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) +- Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) +- Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) +- Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) ### Bug Fixes -* Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) - +- Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) ### Miscellaneous -* Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) -* Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) +- Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) +- Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) ## [0.41.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.1...barretenberg.js-v0.41.0) (2024-05-21) - ### Features -* Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) - +- Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) ### Miscellaneous -* Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) +- Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) ## [0.40.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.0...barretenberg.js-v0.40.1) (2024-05-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.40.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.39.0...barretenberg.js-v0.40.0) (2024-05-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.39.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.38.0...barretenberg.js-v0.39.0) (2024-05-14) - ### ⚠ BREAKING CHANGES -* switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) +- switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ### Features -* Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) +- Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) ## [0.38.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.37.0...barretenberg.js-v0.38.0) (2024-05-07) - ### ⚠ BREAKING CHANGES -* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) +- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ### Features -* `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) -* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) -* Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) -* Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) - +- `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) +- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) +- Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) +- Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) ### Miscellaneous -* Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) -* Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) +- Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) +- Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) ## [0.37.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.36.0...barretenberg.js-v0.37.0) (2024-05-02) - ### Features -* Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) +- Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) ## [0.36.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.1...barretenberg.js-v0.36.0) (2024-04-30) - ### Miscellaneous -* Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) +- Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) ## [0.35.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.0...barretenberg.js-v0.35.1) (2024-04-16) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.35.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.34.0...barretenberg.js-v0.35.0) (2024-04-16) - ### Features -* Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) - +- Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) ### Miscellaneous -* Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) -* TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) +- Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) +- TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) ## [0.34.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.33.0...barretenberg.js-v0.34.0) (2024-04-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.33.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.1...barretenberg.js-v0.33.0) (2024-04-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.32.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.0...barretenberg.js-v0.32.1) (2024-04-02) - ### Features -* Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) - +- Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) ### Bug Fixes -* **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) +- **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) ## [0.32.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.31.0...barretenberg.js-v0.32.0) (2024-03-27) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.31.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.1...barretenberg.js-v0.31.0) (2024-03-26) - ### Features -* Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) -* Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) -* Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) +- Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) +- Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) +- Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) ## [0.30.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.0...barretenberg.js-v0.30.1) (2024-03-20) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.30.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.29.0...barretenberg.js-v0.30.0) (2024-03-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.29.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.1...barretenberg.js-v0.29.0) (2024-03-18) - ### Features -* Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) +- Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) ## [0.28.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.0...barretenberg.js-v0.28.1) (2024-03-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.28.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.2...barretenberg.js-v0.28.0) (2024-03-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.1...barretenberg.js-v0.27.2) (2024-03-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.0...barretenberg.js-v0.27.1) (2024-03-12) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.6...barretenberg.js-v0.27.0) (2024-03-12) - ### Miscellaneous -* Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) +- Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) ## [0.26.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.5...barretenberg.js-v0.26.6) (2024-03-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.4...barretenberg.js-v0.26.5) (2024-03-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.2...barretenberg.js-v0.26.3) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.1...barretenberg.js-v0.26.2) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.0...barretenberg.js-v0.26.1) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.25.0...barretenberg.js-v0.26.0) (2024-03-05) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.25.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.24.0...barretenberg.js-v0.25.0) (2024-03-05) - ### Features -* Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) - +- Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) ### Miscellaneous -* Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) -* Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) -* Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) +- Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) +- Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) +- Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) ## [0.24.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.23.0...barretenberg.js-v0.24.0) (2024-02-13) - ### Features -* Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) +- Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) ## [0.23.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.22.0...barretenberg.js-v0.23.0) (2024-02-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) - ### ⚠ BREAKING CHANGES -* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ### Miscellaneous -* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.20.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.19.0...barretenberg.js-v0.20.0) (2024-01-22) - ### Features -* Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) +- Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) ## [0.19.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.18.0...barretenberg.js-v0.19.0) (2024-01-17) - ### Miscellaneous -* Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) +- Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) ## [0.18.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.17.0...barretenberg.js-v0.18.0) (2024-01-16) - ### Features -* Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) - +- Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) ### Bug Fixes -* Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) +- Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) ## [0.17.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.9...barretenberg.js-v0.17.0) (2024-01-09) - ### ⚠ BREAKING CHANGES -* return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) +- return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ### Features -* Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) -* Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) -* Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) -* Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) - +- Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) +- Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) +- Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) +- Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) ### Miscellaneous -* Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) -* Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) +- Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) +- Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) ## [0.16.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.8...barretenberg.js-v0.16.9) (2023-12-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.7...barretenberg.js-v0.16.8) (2023-12-13) - ### Bug Fixes -* Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) -* Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) +- Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) +- Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) ## [0.16.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.6...barretenberg.js-v0.16.7) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.5...barretenberg.js-v0.16.6) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.3...barretenberg.js-v0.16.4) (2023-12-05) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.2...barretenberg.js-v0.16.3) (2023-12-05) - ### Miscellaneous -* CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) +- CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.1...barretenberg.js-v0.16.2) (2023-12-05) - ### Miscellaneous -* Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) -* Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) +- Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) +- Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) ## [0.16.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.0...barretenberg.js-v0.16.1) (2023-11-28) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.1...barretenberg.js-v0.16.0) (2023-11-27) - ### Miscellaneous -* Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) +- Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) ## [0.15.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.0...barretenberg.js-v0.15.1) (2023-11-21) - ### Features -* **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) - +- **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) ### Miscellaneous -* All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) +- All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) ## [0.15.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.2...barretenberg.js-v0.15.0) (2023-11-16) - ### ⚠ BREAKING CHANGES -* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) +- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ### Bug Fixes -* Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) - +- Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) ### Miscellaneous -* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) -* Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) +- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) +- Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) ## [0.14.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) - ### Features -* Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) +- Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) ## [0.14.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.0...barretenberg.js-v0.14.1) (2023-11-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.14.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.1...barretenberg.js-v0.14.0) (2023-11-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.0...barretenberg.js-v0.13.1) (2023-10-31) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.12.0...barretenberg.js-v0.13.0) (2023-10-31) - ### Features -* New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) - +- New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) ### Miscellaneous -* Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) -* Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) -* Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) +- Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) +- Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) +- Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) ## [0.12.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.1...barretenberg.js-v0.12.0) (2023-10-26) - ### ⚠ BREAKING CHANGES -* remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) +- remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ### Miscellaneous -* Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) -* Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) -* Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) -* Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) +- Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) +- Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) +- Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) +- Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) ## [0.11.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.0...barretenberg.js-v0.11.1) (2023-10-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.11.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) - ### Features -* Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) +- Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) ## [0.10.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.0...barretenberg.js-v0.10.1) (2023-10-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.10.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.9.0...barretenberg.js-v0.10.0) (2023-10-24) - ### Features -* Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) +- Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) ## [0.9.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.14...barretenberg.js-v0.9.0) (2023-10-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.14](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.13...barretenberg.js-v0.8.14) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.13](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.12...barretenberg.js-v0.8.13) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.12](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.11...barretenberg.js-v0.8.12) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.11](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.10...barretenberg.js-v0.8.11) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.9...barretenberg.js-v0.8.10) (2023-10-11) - ### Features -* Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) +- Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) ## [0.8.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.8...barretenberg.js-v0.8.9) (2023-10-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.7...barretenberg.js-v0.8.8) (2023-10-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.6...barretenberg.js-v0.8.7) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.5...barretenberg.js-v0.8.6) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.4...barretenberg.js-v0.8.5) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.3...barretenberg.js-v0.8.4) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.2...barretenberg.js-v0.8.3) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.1...barretenberg.js-v0.8.2) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.0...barretenberg.js-v0.8.1) (2023-10-03) - ### Bug Fixes -* Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) +- Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) ## [0.8.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.10...barretenberg.js-v0.8.0) (2023-10-03) - ### ⚠ BREAKING CHANGES -* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) +- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ### Bug Fixes -* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) - +- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) ### Miscellaneous -* Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) -* Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) -* Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) +- Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) +- Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) +- Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) ## [0.7.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.9...barretenberg.js-v0.7.10) (2023-09-20) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.8...barretenberg.js-v0.7.9) (2023-09-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.7...barretenberg.js-v0.7.8) (2023-09-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.6...barretenberg.js-v0.7.7) (2023-09-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.5...barretenberg.js-v0.7.6) (2023-09-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.4...barretenberg.js-v0.7.5) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.3...barretenberg.js-v0.7.4) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.2...barretenberg.js-v0.7.3) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.1...barretenberg.js-v0.7.2) (2023-09-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.0...barretenberg.js-v0.7.1) (2023-09-14) - ### Miscellaneous -* Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) +- Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) ## [0.7.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) - ### Bug Fixes -* Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) - +- Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) ### Miscellaneous -* Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) +- Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) ## [0.6.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.6...barretenberg.js-v0.6.7) (2023-09-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.5...barretenberg.js-v0.6.6) (2023-09-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.4...barretenberg.js-v0.6.5) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.3...barretenberg.js-v0.6.4) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.2...barretenberg.js-v0.6.3) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.1...barretenberg.js-v0.6.2) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.6.1) (2023-09-08) - ### Miscellaneous -* **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) -* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) -* Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) +- **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) +- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +- Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) ## [0.5.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.5.2) (2023-09-08) - ### Miscellaneous -* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) ## [0.5.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.5.0...barretenberg.js-v0.5.1) (2023-09-05) - ### Features -* Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) -* **ci:** Use content hash in build system, restrict docs build to *.ts or *.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) - +- Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) +- **ci:** Use content hash in build system, restrict docs build to _.ts or _.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) ### Bug Fixes -* **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) -* **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) -* Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) +- **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) +- **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) +- Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) ## [0.5.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.6...barretenberg.js-v0.5.0) (2023-09-01) - ### ⚠ BREAKING CHANGES -* update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) +- update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ### Miscellaneous Chores -* Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) +- Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) ## [0.4.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.5...barretenberg.js-v0.4.6) (2023-08-29) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.4...barretenberg.js-v0.4.5) (2023-08-28) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.3...barretenberg.js-v0.4.4) (2023-08-28) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.2...barretenberg.js-v0.4.3) (2023-08-23) - ### Bug Fixes -* Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) -* Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) +- Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) +- Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) ## [0.4.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.1...barretenberg.js-v0.4.2) (2023-08-21) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.0...barretenberg.js-v0.4.1) (2023-08-21) - ### Bug Fixes -* **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) +- **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) ## [0.4.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.6...barretenberg.js-v0.4.0) (2023-08-21) - ### ⚠ BREAKING CHANGES -* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) +- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ### Bug Fixes -* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) -* Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) -* Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) +- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) +- Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) +- Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) ## [0.3.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.5...barretenberg.js-v0.3.6) (2023-08-08) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.4...barretenberg.js-v0.3.5) (2023-08-07) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.3...barretenberg.js-v0.3.4) (2023-07-25) - ### Features -* Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) +- Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) ## [0.3.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.2...barretenberg.js-v0.3.3) (2023-07-17) - ### Features -* Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) +- Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) ## [0.3.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.1...barretenberg.js-v0.3.2) (2023-07-12) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.0...barretenberg.js-v0.3.1) (2023-07-11) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## 0.3.0 (2023-07-11) - ### Features -* **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) -* **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) -* Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) -* Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) -* **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) - +- **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) +- **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) +- Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) +- Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) +- **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) ### Bug Fixes -* **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) -* bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) -* Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) +- **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) +- bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) +- Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index 5512cb9a003a..51a21aa9dee4 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -102,4 +102,4 @@ "webpack-dev-server": "^4.15.0", "worker-loader": "^3.0.8" } -} +} \ No newline at end of file diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml index 39a35c24c7cb..2170db5dbca0 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml @@ -3403,6 +3403,10 @@ prover_id = "0x0000000000000000000000000000000000000000000000000000000000000051" root = "0x1cffcc63d710ac154b6732b7661770c7a418ccc3c057d66d3f9cf29575d33472" next_available_leaf_index = "0x000000000000000000000000000000000000000000000000000000000000000a" + [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.new_archive] + root = "0x1566582e6653f16bc9df9431aeb78df062bf2700872597c2c497d5fd9f9b1fb2" + next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000009" + [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.start_global_variables] chain_id = "0x0000000000000000000000000000000000000000000000000000000000007a69" version = "0x0000000000000000000000000000000000000000000000000000000000000001" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr index 915eef2cca05..b29d57105772 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr @@ -193,4 +193,97 @@ pub(crate) mod tests { let _ = builder.execute(); } + + #[test] + unconstrained fn correct_block_root_rollup_output() { + let builder = TestBuilder::new().mock_evaluate_blobs(); + + let output = builder.execute(); + + let left_rollup = builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs; + let right_rollup = builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs; + + assert_eq(output.previous_archive, left_rollup.constants.last_archive); + assert(output.new_archive != output.previous_archive); + assert_eq(output.start_global_variables, left_rollup.constants.global_variables); + assert_eq(output.end_global_variables, left_rollup.constants.global_variables); + + let expected_out_hash = accumulate_sha256([left_rollup.out_hash, right_rollup.out_hash]); + assert_eq(output.out_hash, expected_out_hash); + + let expected_fee = FeeRecipient { + recipient: left_rollup.constants.global_variables.coinbase, + value: left_rollup.accumulated_fees + right_rollup.accumulated_fees, + }; + assert_array_eq(output.fees, [expected_fee]); + } + + #[test] + fn correct_blob_with_non_empty_fields() { + // Note: this test will not run in unconstrained, because it reaches the foreign call + // TODO(#10323): remove the oracle and switch this test to unconstrained + + // The below values are generated from block_building_helper.test.ts. + let blob_fields_0 = [ + 0x000000000000000000000000000000000074785f737461727400000500010000, + 0x000000000000000000000000000000000000000000000000000000000000002a, + 0x0002000000000000000000000000000000000000000000000000000000000000, + 0x0000000000000000000000000000000000000000000000000000000004000001, + 0x0000000000000000000000000000000000000000000000000000000000000123, + ]; + let blob_fields_1 = [ + 0x000000000000000000000000000000000074785f737461727400000700010000, + 0x000000000000000000000000000000000000000000000000000000000000002b, + 0x0002000000000000000000000000000000000000000000000000000000000000, + 0x0000000000000000000000000000000000000000000000000000000003000001, + 0x0000000000000000000000000000000000000000000000000000000000006789, + 0x0000000000000000000000000000000000000000000000000000000004000001, + 0x0000000000000000000000000000000000000000000000000000000000000045, + ]; + let expected_blob_commitment = [ + 0x008c32fe581c8fdba12c0d7597911dead2d937d68525bae655508412bb53bb98, + 0x0000000000000000000000000000006aaa0680f21270e7d8de4e19da5164f95c, + ]; + let expected_blobs_hash = + 0x00a965619c8668b834755678b32d023b9c5e8588ce449f44f7fa9335455b5cc5; + let expected_z = 0x1f92b871671f27a378d23f1cef10fbd8f0d90dd7172da9e3c3fc1aa745a072c3; + + let mut builder = TestBuilder::new_with_blobs_fields(blob_fields_0, blob_fields_1); + builder.data.blob_commitments[0].inner = expected_blob_commitment; + builder.data.blobs_hash = expected_blobs_hash; + + let output = builder.execute(); + + let start_sponge_blob = + builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob; + let end_sponge_blob = + builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs.end_sponge_blob; + let blobs_fields = array_concat(blob_fields_0, blob_fields_1); + let mut expected_sponge = start_sponge_blob; + expected_sponge.absorb(blobs_fields, blobs_fields.len()); + assert(!end_sponge_blob.eq(start_sponge_blob)); + assert(end_sponge_blob.eq(expected_sponge)); + + let hashed_tx_effects = expected_sponge.squeeze(); + let computed_z = Poseidon2::hash( + [hashed_tx_effects, expected_blob_commitment[0], expected_blob_commitment[1]], + 3, + ); + assert_eq(computed_z, expected_z); + assert_eq(output.blob_public_inputs[0].inner[0].z, expected_z); + assert_eq( + output.blob_public_inputs[0].inner[0].kzg_commitment.inner, + expected_blob_commitment, + ); + } + + #[test(should_fail_with = "block's first blob sponge was not empty")] + unconstrained fn non_empty_start_blob_fails() { + let mut builder = TestBuilder::new(); + + builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob.fields = + 1; + + let _ = builder.execute(); + } } diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs index b248f6734a90..11986d080d56 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs @@ -3,6 +3,7 @@ use std::collections::BTreeMap; use crate::ssa::{ ir::{ basic_block::BasicBlockId, + dfg::DataFlowGraph, function::{Function, FunctionId}, map::SparseMap, post_order::PostOrder, @@ -25,7 +26,7 @@ impl Ssa { let mut context = Context::default(); context.populate_functions(&self.functions); for function in self.functions.values_mut() { - context.normalize_ids(function); + context.normalize_ids(function, &self.globals.dfg); } self.functions = context.functions.into_btree(); } @@ -65,7 +66,7 @@ impl Context { } } - fn normalize_ids(&mut self, old_function: &mut Function) { + fn normalize_ids(&mut self, old_function: &mut Function, globals: &DataFlowGraph) { self.new_ids.blocks.clear(); self.new_ids.values.clear(); diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index 0b778ef9b78d..c06e22ea66e8 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -123,6 +123,7 @@ impl<'a> FunctionContext<'a> { let definitions = HashMap::default(); let mut this = Self { definitions, builder, shared_context, loops: Vec::new() }; + this.add_globals(); this.add_parameters_to_scope(parameters); this } @@ -146,6 +147,12 @@ impl<'a> FunctionContext<'a> { self.add_parameters_to_scope(&func.parameters); } + fn add_globals(&mut self) { + for (_, value) in self.shared_context.globals_context.dfg.values_iter() { + self.builder.current_function.dfg.make_global(value.get_type().into_owned()); + } + } + /// Add each parameter to the current scope, and return the list of parameter types. /// /// The returned parameter type list will be flattened, so any struct parameters will diff --git a/noir/noir-repo/tooling/lsp/src/requests/completion.rs b/noir/noir-repo/tooling/lsp/src/requests/completion.rs index 0d737e29ff7c..b639e17e4e41 100644 --- a/noir/noir-repo/tooling/lsp/src/requests/completion.rs +++ b/noir/noir-repo/tooling/lsp/src/requests/completion.rs @@ -28,6 +28,7 @@ use noirc_frontend::{ def_map::{CrateDefMap, LocalModuleId, ModuleDefId, ModuleId}, resolution::visibility::{ item_in_module_is_visible, method_call_is_visible, struct_member_is_visible, + trait_member_is_visible, }, }, hir_def::traits::Trait, diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index 19e7e64f0b00..ed1f89249f7b 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -116,4 +116,4 @@ "engines": { "node": ">=18" } -} +} \ No newline at end of file diff --git a/yarn-project/bb-prover/src/avm_proving.test.ts b/yarn-project/bb-prover/src/avm_proving.test.ts index feb7581be9e3..154c810f73b4 100644 --- a/yarn-project/bb-prover/src/avm_proving.test.ts +++ b/yarn-project/bb-prover/src/avm_proving.test.ts @@ -290,6 +290,47 @@ describe('AVM WitGen, "check circuit" tests', () => { }, TIMEOUT, ); + it( + 'Should prove and verify multiple app logic enqueued calls (set storage in first call, read it in next)', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ [], + /*setupArgs=*/ [], + /*appFunctionNames=*/ ['set_storage_single', 'read_assert_storage_single'], + /*appArgs=*/ [[new Fr(5)], [new Fr(5)]], + ); + }, + TIMEOUT, + ); + it( + 'Should prove and verify multiple app logic enqueued calls (like `enqueue_public_from_private`)', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ [], + /*setupArgs=*/ [], + /*appFunctionNames=*/ ['set_opcode_u8', 'set_read_storage_single'], + /*appArgs=*/ [[], [new Fr(5)]], + ); + }, + TIMEOUT, + ); + it.skip( + 'Should prove and verify enqueued calls in every phase, with enqueued calls that depend on each other', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], + /*setupArgs=*/ [[new Fr(0)], [new Fr(5)]], + /*appFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], + /*appArgs=*/ [[new Fr(5)], [new Fr(10)]], + /*teardownFunctionName=*/ 'read_assert_storage_single', + /*teardownArgs=*/ [new Fr(10)], + ); + }, + TIMEOUT, + ); }); /** diff --git a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts index f36a6091d207..77512f94446e 100644 --- a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts +++ b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts @@ -1,5 +1,5 @@ import { bufferSchemaFor } from '@aztec/foundation/schemas'; -import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; +import { BufferReader, type Tuple, serializeToBuffer } from '@aztec/foundation/serialize'; import { bufferToHex, hexToBuffer } from '@aztec/foundation/string'; import { type FieldsOf } from '@aztec/foundation/types'; diff --git a/yarn-project/prover-client/src/orchestrator/orchestrator.ts b/yarn-project/prover-client/src/orchestrator/orchestrator.ts index 3d96c3b06d6d..f5329d57b58e 100644 --- a/yarn-project/prover-client/src/orchestrator/orchestrator.ts +++ b/yarn-project/prover-client/src/orchestrator/orchestrator.ts @@ -20,7 +20,7 @@ import { BaseParityInputs, type BlockHeader, Fr, - type GlobalVariables, + GlobalVariables, L1_TO_L2_MSG_SUBTREE_HEIGHT, L1_TO_L2_MSG_SUBTREE_SIBLING_PATH_LENGTH, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, @@ -161,6 +161,22 @@ export class ProvingOrchestrator implements EpochProver { const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db); const newArchiveSiblingPath = await getRootTreeSiblingPath(MerkleTreeId.ARCHIVE, db); + const partial = new PartialStateReference( + await getTreeSnapshot(MerkleTreeId.NOTE_HASH_TREE, db), + await getTreeSnapshot(MerkleTreeId.NULLIFIER_TREE, db), + await getTreeSnapshot(MerkleTreeId.PUBLIC_DATA_TREE, db), + ); + const state = new StateReference(messageTreeSnapshot, partial); + // TODO: Construct the full previousBlockHeader. + const previousBlockHeader = BlockHeader.from({ + lastArchive: startArchiveSnapshot, + contentCommitment: ContentCommitment.empty(), + state, + globalVariables: GlobalVariables.empty(), + totalFees: Fr.ZERO, + totalManaUsed: Fr.ZERO, + }); + const blockProvingState = this.provingState!.startNewBlock( globalVariables, l1ToL2Messages, diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts index a502209d5104..9044091385a7 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts @@ -180,4 +180,19 @@ describe('BrokerCircuitProverFacade', () => { await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); }); + + it('rejects jobs when the facade is stopped', async () => { + const inputs = makeBaseParityInputs(); + const controller = new AbortController(); + + const resultPromise = promiseWithResolvers(); + jest.spyOn(broker, 'enqueueProvingJob'); + jest.spyOn(prover, 'getBaseParityProof').mockReturnValue(resultPromise.promise); + + const promise = facade.getBaseParityProof(inputs, controller.signal, 42).catch(err => ({ err })); + + await facade.stop(); + + await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); + }); }); diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts index 833979906d17..3841220bdbc0 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts @@ -59,6 +59,20 @@ type ProvingJob = { signal?: AbortSignal; }; +// Perform a snapshot sync every 30 seconds +const SNAPSHOT_SYNC_INTERVAL_MS = 30_000; + +const MAX_CONCURRENT_JOB_SETTLED_REQUESTS = 10; +const SNAPSHOT_SYNC_CHECK_MAX_REQUEST_SIZE = 1000; + +type ProvingJob = { + id: ProvingJobId; + type: ProvingRequestType; + promise: PromiseWithResolvers; + abortFn?: () => Promise; + signal?: AbortSignal; +}; + export class BrokerCircuitProverFacade implements ServerCircuitProver { private jobs: Map = new Map(); private runningPromise?: RunningPromise; diff --git a/yarn-project/txe/src/oracle/txe_oracle.ts b/yarn-project/txe/src/oracle/txe_oracle.ts index b338e756b65d..ca96c406db8c 100644 --- a/yarn-project/txe/src/oracle/txe_oracle.ts +++ b/yarn-project/txe/src/oracle/txe_oracle.ts @@ -120,6 +120,10 @@ export class TXE implements TypedOracle { private noteCache: ExecutionNoteCache; + private simulationProvider = new WASMSimulator(); + + private noteCache: ExecutionNoteCache; + debug: LogFn; constructor( From 4b916e957cdbbb2a0af4a32d2987e9378a63ad6c Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:33:01 +0000 Subject: [PATCH 09/46] fix: dirty rebase --- .release-please-manifest.json | 2 +- barretenberg/ts/CHANGELOG.md | 748 +++++++++++------- barretenberg/ts/package.json | 2 +- .../crates/private-kernel-init/Prover.toml | 2 +- .../crates/private-kernel-inner/Prover.toml | 4 +- .../crates/private-kernel-reset/Prover.toml | 2 +- .../private-kernel-tail-to-public/Prover.toml | 2 +- .../crates/private-kernel-tail/Prover.toml | 2 +- .../crates/rollup-base-private/Prover.toml | 4 +- .../crates/rollup-base-public/Prover.toml | 8 +- .../crates/rollup-block-merge/Prover.toml | 4 - .../block_root/block_root_rollup_inputs.nr | 93 --- .../crates/rollup-merge/Prover.toml | 2 +- .../src/ssa/opt/normalize_value_ids.rs | 5 +- .../src/ssa/ssa_gen/context.rs | 7 - .../tooling/lsp/src/requests/completion.rs | 1 - yarn-project/aztec/package.json | 2 +- .../bb-prover/src/avm_proving.test.ts | 41 - .../rollup/empty_block_root_rollup_inputs.ts | 2 +- .../src/orchestrator/orchestrator.ts | 18 +- .../broker_prover_facade.test.ts | 15 - .../proving_broker/broker_prover_facade.ts | 14 - yarn-project/txe/src/oracle/txe_oracle.ts | 4 - 23 files changed, 492 insertions(+), 492 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 78f65973e484..8047d00eb4a5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,4 +4,4 @@ "yarn-project/aztec": "0.71.0", "barretenberg": "0.71.0", "barretenberg/ts": "0.71.0" -} \ No newline at end of file +} diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index e3ecec31585c..7e1d7ae532bc 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -2,1218 +2,1414 @@ ## [0.71.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.70.0...barretenberg.js-v0.71.0) (2025-01-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.70.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.1...barretenberg.js-v0.70.0) (2025-01-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.0...barretenberg.js-v0.69.1) (2025-01-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.2...barretenberg.js-v0.69.0) (2025-01-03) + ### Miscellaneous -- Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) +* Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) ## [0.68.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.1...barretenberg.js-v0.68.2) (2024-12-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.0...barretenberg.js-v0.68.1) (2024-12-23) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.1...barretenberg.js-v0.68.0) (2024-12-20) + ### Features -- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) -- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) -- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) +* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) + ### Bug Fixes -- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) -- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) -- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) -- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) -- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) +* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) + ### Miscellaneous -- Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) -- **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) -- **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) -- **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) -- **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) -- **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) -- **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) -- **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) +* Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) +* **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) +* **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) +* **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) +* **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) +* **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) +* **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) +* **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) ## [0.67.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.0...barretenberg.js-v0.67.1) (2024-12-17) + ### Features -- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) + ### Bug Fixes -- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) ## [0.67.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.66.0...barretenberg.js-v0.67.0) (2024-12-13) + ### Features -- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) + ### Bug Fixes -- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) ## [0.66.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.2...barretenberg.js-v0.66.0) (2024-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.1...barretenberg.js-v0.65.2) (2024-11-28) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.0...barretenberg.js-v0.65.1) (2024-11-27) + ### Features -- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) +* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) + ### Bug Fixes -- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) ## [0.65.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.64.0...barretenberg.js-v0.65.0) (2024-11-26) + ### Bug Fixes -- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) ## [0.64.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.1...barretenberg.js-v0.64.0) (2024-11-25) + ### Features -- Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) +* Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) + ### Bug Fixes -- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) +* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) + ### Documentation -- Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) +* Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) ## [0.63.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.0...barretenberg.js-v0.63.1) (2024-11-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.63.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.62.0...barretenberg.js-v0.63.0) (2024-11-19) + ### ⚠ BREAKING CHANGES -- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) +* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ### Features -- Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) -- Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) -- Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) +* Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) +* Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) +* Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) + ### Bug Fixes -- Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) +* Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) + ### Miscellaneous -- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) +* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) ## [0.62.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.61.0...barretenberg.js-v0.62.0) (2024-11-01) + ### Features -- Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) +* Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) ## [0.61.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.60.0...barretenberg.js-v0.61.0) (2024-10-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.60.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.59.0...barretenberg.js-v0.60.0) (2024-10-24) + ### Features -- Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) +* Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) + ### Miscellaneous -- Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) +* Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) ## [0.59.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.58.0...barretenberg.js-v0.59.0) (2024-10-21) + ### Bug Fixes -- Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) +* Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) ## [0.58.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.57.0...barretenberg.js-v0.58.0) (2024-10-18) + ### Features -- Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) -- Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) -- Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) +* Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) +* Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) +* Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) + ### Bug Fixes -- Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) -- Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) -- Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) -- Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) -- Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) +* Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) +* Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) +* Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) +* Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) +* Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) ## [0.57.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.56.0...barretenberg.js-v0.57.0) (2024-10-07) + ### Features -- Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) -- CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) -- Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) +* Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) +* CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) +* Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) + ### Bug Fixes -- **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) -- **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) +* **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) +* **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) + ### Miscellaneous -- Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) -- Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) +* Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) +* Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) ## [0.56.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.1...barretenberg.js-v0.56.0) (2024-09-25) + ### Features -- Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) +* Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) + ### Bug Fixes -- Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) +* Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) + ### Miscellaneous -- Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) +* Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) ## [0.55.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.0...barretenberg.js-v0.55.1) (2024-09-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.55.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.54.0...barretenberg.js-v0.55.0) (2024-09-13) + ### Features -- New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) +* New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) ## [0.54.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.53.0...barretenberg.js-v0.54.0) (2024-09-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.53.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.52.0...barretenberg.js-v0.53.0) (2024-09-09) + ### Bug Fixes -- HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) +* HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) ## [0.52.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.1...barretenberg.js-v0.52.0) (2024-09-01) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.0...barretenberg.js-v0.51.1) (2024-08-29) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.1...barretenberg.js-v0.51.0) (2024-08-27) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.0...barretenberg.js-v0.50.1) (2024-08-23) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.2...barretenberg.js-v0.50.0) (2024-08-22) + ### Miscellaneous -- Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) +* Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) ## [0.49.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.1...barretenberg.js-v0.49.2) (2024-08-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.48.0...barretenberg.js-v0.49.0) (2024-08-15) + ### Miscellaneous -- Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) +* Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) ## [0.48.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.1...barretenberg.js-v0.48.0) (2024-08-12) + ### Features -- Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) +* Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) + ### Bug Fixes -- Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) +* Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) ## [0.47.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.0...barretenberg.js-v0.47.1) (2024-07-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.47.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.7...barretenberg.js-v0.47.0) (2024-07-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.6...barretenberg.js-v0.46.7) (2024-07-16) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) + ### Features -- Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) +* Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) + ### Miscellaneous -- **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) +* **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) + ### Documentation -- Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) +* Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) ## [0.46.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.4...barretenberg.js-v0.46.5) (2024-07-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.3...barretenberg.js-v0.46.4) (2024-07-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.2...barretenberg.js-v0.46.3) (2024-07-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.1...barretenberg.js-v0.46.2) (2024-07-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.1...barretenberg.js-v0.46.0) (2024-07-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.0...barretenberg.js-v0.45.1) (2024-07-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) + ### Bug Fixes -- False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) +* False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) ## [0.43.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.42.0...barretenberg.js-v0.43.0) (2024-06-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.42.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.41.0...barretenberg.js-v0.42.0) (2024-06-04) + ### Features -- Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) -- Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) -- Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) -- Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) +* Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) +* Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) +* Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) +* Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) + ### Bug Fixes -- Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) +* Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) + ### Miscellaneous -- Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) -- Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) +* Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) +* Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) ## [0.41.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.1...barretenberg.js-v0.41.0) (2024-05-21) + ### Features -- Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) +* Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) + ### Miscellaneous -- Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) +* Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) ## [0.40.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.0...barretenberg.js-v0.40.1) (2024-05-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.40.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.39.0...barretenberg.js-v0.40.0) (2024-05-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.39.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.38.0...barretenberg.js-v0.39.0) (2024-05-14) + ### ⚠ BREAKING CHANGES -- switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) +* switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ### Features -- Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) +* Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) ## [0.38.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.37.0...barretenberg.js-v0.38.0) (2024-05-07) + ### ⚠ BREAKING CHANGES -- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) +* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ### Features -- `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) -- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) -- Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) -- Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) +* `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) +* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) +* Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) +* Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) + ### Miscellaneous -- Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) -- Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) +* Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) +* Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) ## [0.37.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.36.0...barretenberg.js-v0.37.0) (2024-05-02) + ### Features -- Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) +* Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) ## [0.36.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.1...barretenberg.js-v0.36.0) (2024-04-30) + ### Miscellaneous -- Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) +* Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) ## [0.35.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.0...barretenberg.js-v0.35.1) (2024-04-16) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.35.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.34.0...barretenberg.js-v0.35.0) (2024-04-16) + ### Features -- Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) +* Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) + ### Miscellaneous -- Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) -- TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) +* Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) +* TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) ## [0.34.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.33.0...barretenberg.js-v0.34.0) (2024-04-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.33.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.1...barretenberg.js-v0.33.0) (2024-04-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.32.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.0...barretenberg.js-v0.32.1) (2024-04-02) + ### Features -- Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) +* Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) + ### Bug Fixes -- **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) +* **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) ## [0.32.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.31.0...barretenberg.js-v0.32.0) (2024-03-27) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.31.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.1...barretenberg.js-v0.31.0) (2024-03-26) + ### Features -- Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) -- Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) -- Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) +* Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) +* Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) +* Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) ## [0.30.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.0...barretenberg.js-v0.30.1) (2024-03-20) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.30.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.29.0...barretenberg.js-v0.30.0) (2024-03-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.29.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.1...barretenberg.js-v0.29.0) (2024-03-18) + ### Features -- Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) +* Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) ## [0.28.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.0...barretenberg.js-v0.28.1) (2024-03-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.28.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.2...barretenberg.js-v0.28.0) (2024-03-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.1...barretenberg.js-v0.27.2) (2024-03-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.0...barretenberg.js-v0.27.1) (2024-03-12) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.6...barretenberg.js-v0.27.0) (2024-03-12) + ### Miscellaneous -- Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) +* Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) ## [0.26.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.5...barretenberg.js-v0.26.6) (2024-03-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.4...barretenberg.js-v0.26.5) (2024-03-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.2...barretenberg.js-v0.26.3) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.1...barretenberg.js-v0.26.2) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.0...barretenberg.js-v0.26.1) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.25.0...barretenberg.js-v0.26.0) (2024-03-05) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.25.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.24.0...barretenberg.js-v0.25.0) (2024-03-05) + ### Features -- Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) +* Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) + ### Miscellaneous -- Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) -- Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) -- Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) +* Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) +* Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) +* Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) ## [0.24.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.23.0...barretenberg.js-v0.24.0) (2024-02-13) + ### Features -- Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) +* Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) ## [0.23.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.22.0...barretenberg.js-v0.23.0) (2024-02-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) + ### ⚠ BREAKING CHANGES -- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ### Miscellaneous -- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.20.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.19.0...barretenberg.js-v0.20.0) (2024-01-22) + ### Features -- Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) +* Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) ## [0.19.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.18.0...barretenberg.js-v0.19.0) (2024-01-17) + ### Miscellaneous -- Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) +* Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) ## [0.18.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.17.0...barretenberg.js-v0.18.0) (2024-01-16) + ### Features -- Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) +* Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) + ### Bug Fixes -- Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) +* Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) ## [0.17.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.9...barretenberg.js-v0.17.0) (2024-01-09) + ### ⚠ BREAKING CHANGES -- return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) +* return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ### Features -- Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) -- Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) -- Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) -- Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) +* Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) +* Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) +* Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) +* Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) + ### Miscellaneous -- Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) -- Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) +* Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) +* Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) ## [0.16.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.8...barretenberg.js-v0.16.9) (2023-12-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.7...barretenberg.js-v0.16.8) (2023-12-13) + ### Bug Fixes -- Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) -- Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) +* Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) +* Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) ## [0.16.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.6...barretenberg.js-v0.16.7) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.5...barretenberg.js-v0.16.6) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.3...barretenberg.js-v0.16.4) (2023-12-05) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.2...barretenberg.js-v0.16.3) (2023-12-05) + ### Miscellaneous -- CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) +* CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.1...barretenberg.js-v0.16.2) (2023-12-05) + ### Miscellaneous -- Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) -- Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) +* Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) +* Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) ## [0.16.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.0...barretenberg.js-v0.16.1) (2023-11-28) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.1...barretenberg.js-v0.16.0) (2023-11-27) + ### Miscellaneous -- Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) +* Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) ## [0.15.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.0...barretenberg.js-v0.15.1) (2023-11-21) + ### Features -- **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) +* **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) + ### Miscellaneous -- All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) +* All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) ## [0.15.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.2...barretenberg.js-v0.15.0) (2023-11-16) + ### ⚠ BREAKING CHANGES -- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) +* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ### Bug Fixes -- Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) +* Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) + ### Miscellaneous -- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) -- Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) +* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) +* Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) ## [0.14.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) + ### Features -- Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) +* Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) ## [0.14.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.0...barretenberg.js-v0.14.1) (2023-11-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.14.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.1...barretenberg.js-v0.14.0) (2023-11-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.0...barretenberg.js-v0.13.1) (2023-10-31) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.12.0...barretenberg.js-v0.13.0) (2023-10-31) + ### Features -- New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) +* New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) + ### Miscellaneous -- Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) -- Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) -- Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) +* Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) +* Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) +* Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) ## [0.12.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.1...barretenberg.js-v0.12.0) (2023-10-26) + ### ⚠ BREAKING CHANGES -- remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) +* remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ### Miscellaneous -- Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) -- Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) -- Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) -- Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) +* Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) +* Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) +* Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) +* Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) ## [0.11.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.0...barretenberg.js-v0.11.1) (2023-10-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.11.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) + ### Features -- Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) +* Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) ## [0.10.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.0...barretenberg.js-v0.10.1) (2023-10-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.10.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.9.0...barretenberg.js-v0.10.0) (2023-10-24) + ### Features -- Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) +* Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) ## [0.9.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.14...barretenberg.js-v0.9.0) (2023-10-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.14](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.13...barretenberg.js-v0.8.14) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.13](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.12...barretenberg.js-v0.8.13) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.12](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.11...barretenberg.js-v0.8.12) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.11](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.10...barretenberg.js-v0.8.11) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.9...barretenberg.js-v0.8.10) (2023-10-11) + ### Features -- Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) +* Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) ## [0.8.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.8...barretenberg.js-v0.8.9) (2023-10-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.7...barretenberg.js-v0.8.8) (2023-10-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.6...barretenberg.js-v0.8.7) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.5...barretenberg.js-v0.8.6) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.4...barretenberg.js-v0.8.5) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.3...barretenberg.js-v0.8.4) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.2...barretenberg.js-v0.8.3) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.1...barretenberg.js-v0.8.2) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.0...barretenberg.js-v0.8.1) (2023-10-03) + ### Bug Fixes -- Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) +* Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) ## [0.8.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.10...barretenberg.js-v0.8.0) (2023-10-03) + ### ⚠ BREAKING CHANGES -- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) +* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ### Bug Fixes -- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) +* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) + ### Miscellaneous -- Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) -- Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) -- Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) +* Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) +* Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) +* Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) ## [0.7.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.9...barretenberg.js-v0.7.10) (2023-09-20) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.8...barretenberg.js-v0.7.9) (2023-09-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.7...barretenberg.js-v0.7.8) (2023-09-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.6...barretenberg.js-v0.7.7) (2023-09-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.5...barretenberg.js-v0.7.6) (2023-09-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.4...barretenberg.js-v0.7.5) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.3...barretenberg.js-v0.7.4) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.2...barretenberg.js-v0.7.3) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.1...barretenberg.js-v0.7.2) (2023-09-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.0...barretenberg.js-v0.7.1) (2023-09-14) + ### Miscellaneous -- Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) +* Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) ## [0.7.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) + ### Bug Fixes -- Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) +* Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) + ### Miscellaneous -- Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) +* Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) ## [0.6.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.6...barretenberg.js-v0.6.7) (2023-09-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.5...barretenberg.js-v0.6.6) (2023-09-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.4...barretenberg.js-v0.6.5) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.3...barretenberg.js-v0.6.4) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.2...barretenberg.js-v0.6.3) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.1...barretenberg.js-v0.6.2) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.6.1) (2023-09-08) + ### Miscellaneous -- **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) -- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) -- Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) +* **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) +* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +* Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) ## [0.5.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.5.2) (2023-09-08) + ### Miscellaneous -- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) ## [0.5.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.5.0...barretenberg.js-v0.5.1) (2023-09-05) + ### Features -- Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) -- **ci:** Use content hash in build system, restrict docs build to _.ts or _.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) +* Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) +* **ci:** Use content hash in build system, restrict docs build to *.ts or *.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) + ### Bug Fixes -- **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) -- **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) -- Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) +* **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) +* **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) +* Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) ## [0.5.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.6...barretenberg.js-v0.5.0) (2023-09-01) + ### ⚠ BREAKING CHANGES -- update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) +* update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ### Miscellaneous Chores -- Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) +* Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) ## [0.4.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.5...barretenberg.js-v0.4.6) (2023-08-29) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.4...barretenberg.js-v0.4.5) (2023-08-28) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.3...barretenberg.js-v0.4.4) (2023-08-28) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.2...barretenberg.js-v0.4.3) (2023-08-23) + ### Bug Fixes -- Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) -- Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) +* Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) +* Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) ## [0.4.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.1...barretenberg.js-v0.4.2) (2023-08-21) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.0...barretenberg.js-v0.4.1) (2023-08-21) + ### Bug Fixes -- **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) +* **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) ## [0.4.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.6...barretenberg.js-v0.4.0) (2023-08-21) + ### ⚠ BREAKING CHANGES -- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) +* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ### Bug Fixes -- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) -- Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) -- Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) +* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) +* Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) +* Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) ## [0.3.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.5...barretenberg.js-v0.3.6) (2023-08-08) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.4...barretenberg.js-v0.3.5) (2023-08-07) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.3...barretenberg.js-v0.3.4) (2023-07-25) + ### Features -- Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) +* Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) ## [0.3.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.2...barretenberg.js-v0.3.3) (2023-07-17) + ### Features -- Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) +* Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) ## [0.3.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.1...barretenberg.js-v0.3.2) (2023-07-12) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.0...barretenberg.js-v0.3.1) (2023-07-11) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## 0.3.0 (2023-07-11) + ### Features -- **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) -- **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) -- Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) -- Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) -- **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) +* **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) +* **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) +* Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) +* Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) +* **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) + ### Bug Fixes -- **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) -- bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) -- Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) +* **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) +* bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) +* Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index 51a21aa9dee4..5512cb9a003a 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -102,4 +102,4 @@ "webpack-dev-server": "^4.15.0", "worker-loader": "^3.0.8" } -} \ No newline at end of file +} diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml index 9877bddbb294..e100087b7852 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml @@ -1508,7 +1508,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml index 00bc295c0d2f..5f4c15854556 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -6515,7 +6515,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml index 688c672456c9..a66d94dd7dc1 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml index f58192d9177e..3cacd4ec5ae6 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml index 0c32cd703fcc..facffe6c4068 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml index 4da7e2355bdb..7dabe5fa7a98 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml @@ -22,7 +22,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x0ad7cf4b139c253b28143ba262c4b5710870e8be54333f3b15ed3617f7ae5f92" @@ -5244,7 +5244,7 @@ fee_write_sibling_path = [ ] [inputs.archive_root_membership_witness] -leaf_index = "7" +leaf_index = "5" sibling_path = [ "0x05c625ad4e12187e136570b29b020dea7e3963650e899ffd0fa073d73464a887", "0x2af669b88877cf3ac3d65e3d64c94dab025dcdbec4a3658b6a818057acf2be21", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml index 2f4f4d813754..0bb6cf1e8d95 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml @@ -18,7 +18,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -3515,7 +3515,7 @@ reverted = false [inputs.avm_proof_data.public_inputs.start_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.avm_proof_data.public_inputs.start_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -4853,7 +4853,7 @@ inner = "0x0000000000000000000000000000000000000000000000000000000000000000" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -19073,7 +19073,7 @@ public_data_tree_sibling_paths = [ ] [inputs.archive_root_membership_witness] -leaf_index = "8" +leaf_index = "5" sibling_path = [ "0x190e7dc0a4fcb9c317c351190ee064f5cd8a5f575da0377390f8add3c5d5d4d9", "0x0186a873772f6337a7539a2062dd2e501cf9a991df463cee3e9e068fe8058d98", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml index 2170db5dbca0..39a35c24c7cb 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml @@ -3403,10 +3403,6 @@ prover_id = "0x0000000000000000000000000000000000000000000000000000000000000051" root = "0x1cffcc63d710ac154b6732b7661770c7a418ccc3c057d66d3f9cf29575d33472" next_available_leaf_index = "0x000000000000000000000000000000000000000000000000000000000000000a" - [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.new_archive] - root = "0x1566582e6653f16bc9df9431aeb78df062bf2700872597c2c497d5fd9f9b1fb2" - next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000009" - [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.start_global_variables] chain_id = "0x0000000000000000000000000000000000000000000000000000000000007a69" version = "0x0000000000000000000000000000000000000000000000000000000000000001" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr index b29d57105772..915eef2cca05 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr @@ -193,97 +193,4 @@ pub(crate) mod tests { let _ = builder.execute(); } - - #[test] - unconstrained fn correct_block_root_rollup_output() { - let builder = TestBuilder::new().mock_evaluate_blobs(); - - let output = builder.execute(); - - let left_rollup = builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs; - let right_rollup = builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs; - - assert_eq(output.previous_archive, left_rollup.constants.last_archive); - assert(output.new_archive != output.previous_archive); - assert_eq(output.start_global_variables, left_rollup.constants.global_variables); - assert_eq(output.end_global_variables, left_rollup.constants.global_variables); - - let expected_out_hash = accumulate_sha256([left_rollup.out_hash, right_rollup.out_hash]); - assert_eq(output.out_hash, expected_out_hash); - - let expected_fee = FeeRecipient { - recipient: left_rollup.constants.global_variables.coinbase, - value: left_rollup.accumulated_fees + right_rollup.accumulated_fees, - }; - assert_array_eq(output.fees, [expected_fee]); - } - - #[test] - fn correct_blob_with_non_empty_fields() { - // Note: this test will not run in unconstrained, because it reaches the foreign call - // TODO(#10323): remove the oracle and switch this test to unconstrained - - // The below values are generated from block_building_helper.test.ts. - let blob_fields_0 = [ - 0x000000000000000000000000000000000074785f737461727400000500010000, - 0x000000000000000000000000000000000000000000000000000000000000002a, - 0x0002000000000000000000000000000000000000000000000000000000000000, - 0x0000000000000000000000000000000000000000000000000000000004000001, - 0x0000000000000000000000000000000000000000000000000000000000000123, - ]; - let blob_fields_1 = [ - 0x000000000000000000000000000000000074785f737461727400000700010000, - 0x000000000000000000000000000000000000000000000000000000000000002b, - 0x0002000000000000000000000000000000000000000000000000000000000000, - 0x0000000000000000000000000000000000000000000000000000000003000001, - 0x0000000000000000000000000000000000000000000000000000000000006789, - 0x0000000000000000000000000000000000000000000000000000000004000001, - 0x0000000000000000000000000000000000000000000000000000000000000045, - ]; - let expected_blob_commitment = [ - 0x008c32fe581c8fdba12c0d7597911dead2d937d68525bae655508412bb53bb98, - 0x0000000000000000000000000000006aaa0680f21270e7d8de4e19da5164f95c, - ]; - let expected_blobs_hash = - 0x00a965619c8668b834755678b32d023b9c5e8588ce449f44f7fa9335455b5cc5; - let expected_z = 0x1f92b871671f27a378d23f1cef10fbd8f0d90dd7172da9e3c3fc1aa745a072c3; - - let mut builder = TestBuilder::new_with_blobs_fields(blob_fields_0, blob_fields_1); - builder.data.blob_commitments[0].inner = expected_blob_commitment; - builder.data.blobs_hash = expected_blobs_hash; - - let output = builder.execute(); - - let start_sponge_blob = - builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob; - let end_sponge_blob = - builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs.end_sponge_blob; - let blobs_fields = array_concat(blob_fields_0, blob_fields_1); - let mut expected_sponge = start_sponge_blob; - expected_sponge.absorb(blobs_fields, blobs_fields.len()); - assert(!end_sponge_blob.eq(start_sponge_blob)); - assert(end_sponge_blob.eq(expected_sponge)); - - let hashed_tx_effects = expected_sponge.squeeze(); - let computed_z = Poseidon2::hash( - [hashed_tx_effects, expected_blob_commitment[0], expected_blob_commitment[1]], - 3, - ); - assert_eq(computed_z, expected_z); - assert_eq(output.blob_public_inputs[0].inner[0].z, expected_z); - assert_eq( - output.blob_public_inputs[0].inner[0].kzg_commitment.inner, - expected_blob_commitment, - ); - } - - #[test(should_fail_with = "block's first blob sponge was not empty")] - unconstrained fn non_empty_start_blob_fails() { - let mut builder = TestBuilder::new(); - - builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob.fields = - 1; - - let _ = builder.execute(); - } } diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml index e4468220d356..edd8af37b725 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml @@ -882,7 +882,7 @@ next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000 "0x234ad0eebbc903d5819d1d912167965e70a71b1cad76b7c094b9c948ec3334f0", "0x25e6ff8e72ba7a1d4fc3b7c0459287c577dfe649c9426a52bf4538eecfdb0eae" ] - cache_size = "0x0000000000000000000000000000000000000000000000000000000000000002" + cache_size = "0x0000000000000000000000000000000000000000000000000000000000000003" squeeze_mode = false [inputs.previous_rollup_data.proof] diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs index 11986d080d56..b248f6734a90 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs @@ -3,7 +3,6 @@ use std::collections::BTreeMap; use crate::ssa::{ ir::{ basic_block::BasicBlockId, - dfg::DataFlowGraph, function::{Function, FunctionId}, map::SparseMap, post_order::PostOrder, @@ -26,7 +25,7 @@ impl Ssa { let mut context = Context::default(); context.populate_functions(&self.functions); for function in self.functions.values_mut() { - context.normalize_ids(function, &self.globals.dfg); + context.normalize_ids(function); } self.functions = context.functions.into_btree(); } @@ -66,7 +65,7 @@ impl Context { } } - fn normalize_ids(&mut self, old_function: &mut Function, globals: &DataFlowGraph) { + fn normalize_ids(&mut self, old_function: &mut Function) { self.new_ids.blocks.clear(); self.new_ids.values.clear(); diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index c06e22ea66e8..0b778ef9b78d 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -123,7 +123,6 @@ impl<'a> FunctionContext<'a> { let definitions = HashMap::default(); let mut this = Self { definitions, builder, shared_context, loops: Vec::new() }; - this.add_globals(); this.add_parameters_to_scope(parameters); this } @@ -147,12 +146,6 @@ impl<'a> FunctionContext<'a> { self.add_parameters_to_scope(&func.parameters); } - fn add_globals(&mut self) { - for (_, value) in self.shared_context.globals_context.dfg.values_iter() { - self.builder.current_function.dfg.make_global(value.get_type().into_owned()); - } - } - /// Add each parameter to the current scope, and return the list of parameter types. /// /// The returned parameter type list will be flattened, so any struct parameters will diff --git a/noir/noir-repo/tooling/lsp/src/requests/completion.rs b/noir/noir-repo/tooling/lsp/src/requests/completion.rs index b639e17e4e41..0d737e29ff7c 100644 --- a/noir/noir-repo/tooling/lsp/src/requests/completion.rs +++ b/noir/noir-repo/tooling/lsp/src/requests/completion.rs @@ -28,7 +28,6 @@ use noirc_frontend::{ def_map::{CrateDefMap, LocalModuleId, ModuleDefId, ModuleId}, resolution::visibility::{ item_in_module_is_visible, method_call_is_visible, struct_member_is_visible, - trait_member_is_visible, }, }, hir_def::traits::Trait, diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index ed1f89249f7b..19e7e64f0b00 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -116,4 +116,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/yarn-project/bb-prover/src/avm_proving.test.ts b/yarn-project/bb-prover/src/avm_proving.test.ts index 154c810f73b4..feb7581be9e3 100644 --- a/yarn-project/bb-prover/src/avm_proving.test.ts +++ b/yarn-project/bb-prover/src/avm_proving.test.ts @@ -290,47 +290,6 @@ describe('AVM WitGen, "check circuit" tests', () => { }, TIMEOUT, ); - it( - 'Should prove and verify multiple app logic enqueued calls (set storage in first call, read it in next)', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ [], - /*setupArgs=*/ [], - /*appFunctionNames=*/ ['set_storage_single', 'read_assert_storage_single'], - /*appArgs=*/ [[new Fr(5)], [new Fr(5)]], - ); - }, - TIMEOUT, - ); - it( - 'Should prove and verify multiple app logic enqueued calls (like `enqueue_public_from_private`)', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ [], - /*setupArgs=*/ [], - /*appFunctionNames=*/ ['set_opcode_u8', 'set_read_storage_single'], - /*appArgs=*/ [[], [new Fr(5)]], - ); - }, - TIMEOUT, - ); - it.skip( - 'Should prove and verify enqueued calls in every phase, with enqueued calls that depend on each other', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], - /*setupArgs=*/ [[new Fr(0)], [new Fr(5)]], - /*appFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], - /*appArgs=*/ [[new Fr(5)], [new Fr(10)]], - /*teardownFunctionName=*/ 'read_assert_storage_single', - /*teardownArgs=*/ [new Fr(10)], - ); - }, - TIMEOUT, - ); }); /** diff --git a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts index 77512f94446e..f36a6091d207 100644 --- a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts +++ b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts @@ -1,5 +1,5 @@ import { bufferSchemaFor } from '@aztec/foundation/schemas'; -import { BufferReader, type Tuple, serializeToBuffer } from '@aztec/foundation/serialize'; +import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; import { bufferToHex, hexToBuffer } from '@aztec/foundation/string'; import { type FieldsOf } from '@aztec/foundation/types'; diff --git a/yarn-project/prover-client/src/orchestrator/orchestrator.ts b/yarn-project/prover-client/src/orchestrator/orchestrator.ts index f5329d57b58e..3d96c3b06d6d 100644 --- a/yarn-project/prover-client/src/orchestrator/orchestrator.ts +++ b/yarn-project/prover-client/src/orchestrator/orchestrator.ts @@ -20,7 +20,7 @@ import { BaseParityInputs, type BlockHeader, Fr, - GlobalVariables, + type GlobalVariables, L1_TO_L2_MSG_SUBTREE_HEIGHT, L1_TO_L2_MSG_SUBTREE_SIBLING_PATH_LENGTH, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, @@ -161,22 +161,6 @@ export class ProvingOrchestrator implements EpochProver { const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db); const newArchiveSiblingPath = await getRootTreeSiblingPath(MerkleTreeId.ARCHIVE, db); - const partial = new PartialStateReference( - await getTreeSnapshot(MerkleTreeId.NOTE_HASH_TREE, db), - await getTreeSnapshot(MerkleTreeId.NULLIFIER_TREE, db), - await getTreeSnapshot(MerkleTreeId.PUBLIC_DATA_TREE, db), - ); - const state = new StateReference(messageTreeSnapshot, partial); - // TODO: Construct the full previousBlockHeader. - const previousBlockHeader = BlockHeader.from({ - lastArchive: startArchiveSnapshot, - contentCommitment: ContentCommitment.empty(), - state, - globalVariables: GlobalVariables.empty(), - totalFees: Fr.ZERO, - totalManaUsed: Fr.ZERO, - }); - const blockProvingState = this.provingState!.startNewBlock( globalVariables, l1ToL2Messages, diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts index 9044091385a7..a502209d5104 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts @@ -180,19 +180,4 @@ describe('BrokerCircuitProverFacade', () => { await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); }); - - it('rejects jobs when the facade is stopped', async () => { - const inputs = makeBaseParityInputs(); - const controller = new AbortController(); - - const resultPromise = promiseWithResolvers(); - jest.spyOn(broker, 'enqueueProvingJob'); - jest.spyOn(prover, 'getBaseParityProof').mockReturnValue(resultPromise.promise); - - const promise = facade.getBaseParityProof(inputs, controller.signal, 42).catch(err => ({ err })); - - await facade.stop(); - - await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); - }); }); diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts index 3841220bdbc0..833979906d17 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts @@ -59,20 +59,6 @@ type ProvingJob = { signal?: AbortSignal; }; -// Perform a snapshot sync every 30 seconds -const SNAPSHOT_SYNC_INTERVAL_MS = 30_000; - -const MAX_CONCURRENT_JOB_SETTLED_REQUESTS = 10; -const SNAPSHOT_SYNC_CHECK_MAX_REQUEST_SIZE = 1000; - -type ProvingJob = { - id: ProvingJobId; - type: ProvingRequestType; - promise: PromiseWithResolvers; - abortFn?: () => Promise; - signal?: AbortSignal; -}; - export class BrokerCircuitProverFacade implements ServerCircuitProver { private jobs: Map = new Map(); private runningPromise?: RunningPromise; diff --git a/yarn-project/txe/src/oracle/txe_oracle.ts b/yarn-project/txe/src/oracle/txe_oracle.ts index ca96c406db8c..b338e756b65d 100644 --- a/yarn-project/txe/src/oracle/txe_oracle.ts +++ b/yarn-project/txe/src/oracle/txe_oracle.ts @@ -120,10 +120,6 @@ export class TXE implements TypedOracle { private noteCache: ExecutionNoteCache; - private simulationProvider = new WASMSimulator(); - - private noteCache: ExecutionNoteCache; - debug: LogFn; constructor( From 1b9a6f2fd9754109e7945b868adcd4b632ed5935 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 17:56:11 +0000 Subject: [PATCH 10/46] fix: dirty rebase --- .../crates/private-kernel-init/Prover.toml | 2 +- .../crates/private-kernel-inner/Prover.toml | 4 ++-- .../crates/private-kernel-reset/Prover.toml | 2 +- .../crates/private-kernel-tail-to-public/Prover.toml | 2 +- .../crates/private-kernel-tail/Prover.toml | 2 +- .../crates/rollup-base-private/Prover.toml | 4 ++-- .../crates/rollup-base-public/Prover.toml | 8 ++++---- .../crates/rollup-merge/Prover.toml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml index e100087b7852..9877bddbb294 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml @@ -1508,7 +1508,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml index 5f4c15854556..00bc295c0d2f 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -6515,7 +6515,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml index a66d94dd7dc1..688c672456c9 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml index 3cacd4ec5ae6..f58192d9177e 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml index facffe6c4068..0c32cd703fcc 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml index 7dabe5fa7a98..4da7e2355bdb 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml @@ -22,7 +22,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x0ad7cf4b139c253b28143ba262c4b5710870e8be54333f3b15ed3617f7ae5f92" @@ -5244,7 +5244,7 @@ fee_write_sibling_path = [ ] [inputs.archive_root_membership_witness] -leaf_index = "5" +leaf_index = "7" sibling_path = [ "0x05c625ad4e12187e136570b29b020dea7e3963650e899ffd0fa073d73464a887", "0x2af669b88877cf3ac3d65e3d64c94dab025dcdbec4a3658b6a818057acf2be21", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml index 0bb6cf1e8d95..2f4f4d813754 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml @@ -18,7 +18,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -3515,7 +3515,7 @@ reverted = false [inputs.avm_proof_data.public_inputs.start_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" [inputs.avm_proof_data.public_inputs.start_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -4853,7 +4853,7 @@ inner = "0x0000000000000000000000000000000000000000000000000000000000000000" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -19073,7 +19073,7 @@ public_data_tree_sibling_paths = [ ] [inputs.archive_root_membership_witness] -leaf_index = "5" +leaf_index = "8" sibling_path = [ "0x190e7dc0a4fcb9c317c351190ee064f5cd8a5f575da0377390f8add3c5d5d4d9", "0x0186a873772f6337a7539a2062dd2e501cf9a991df463cee3e9e068fe8058d98", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml index edd8af37b725..e4468220d356 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml @@ -882,7 +882,7 @@ next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000 "0x234ad0eebbc903d5819d1d912167965e70a71b1cad76b7c094b9c948ec3334f0", "0x25e6ff8e72ba7a1d4fc3b7c0459287c577dfe649c9426a52bf4538eecfdb0eae" ] - cache_size = "0x0000000000000000000000000000000000000000000000000000000000000003" + cache_size = "0x0000000000000000000000000000000000000000000000000000000000000002" squeeze_mode = false [inputs.previous_rollup_data.proof] From a0b46d84c3100f11e56f84cf136dcac0e81b5239 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:40:54 +0000 Subject: [PATCH 11/46] feat: http client can read from consensus layer --- .../archiver/src/archiver/data_retrieval.ts | 10 +- .../blob-sink/src/client/http.test.ts | 132 ++++++++++++++++++ yarn-project/blob-sink/src/client/http.ts | 97 ++++++++++++- yarn-project/blob-sink/src/server/server.ts | 20 +++ .../blob-sink/src/types/blob_with_index.ts | 6 +- yarn-project/foundation/src/blob/index.ts | 47 +++++-- 6 files changed, 295 insertions(+), 17 deletions(-) diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index 1b6d2bf02a0d..1d365533accb 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -130,7 +130,15 @@ async function getBlockFromRollupTx( txHash: `0x${string}`, l2BlockNum: bigint, ): Promise { - const { input: data } = await publicClient.getTransaction({ hash: txHash }); + // WORKNOTES: + // - the plan + // - read the tx + // - Get the block number + // - The block number will incldue the previous beacon block route in it + // - Get the slot number for this block route + // + const { input: data, blockHash } = await publicClient.getTransaction({ hash: txHash }); + const { functionName, args } = decodeFunctionData({ abi: RollupAbi, data }); const allowedMethods = ['propose', 'proposeAndClaim']; diff --git a/yarn-project/blob-sink/src/client/http.test.ts b/yarn-project/blob-sink/src/client/http.test.ts index 046fb0811d0c..c01c62b3113e 100644 --- a/yarn-project/blob-sink/src/client/http.test.ts +++ b/yarn-project/blob-sink/src/client/http.test.ts @@ -1,6 +1,10 @@ import { Blob } from '@aztec/foundation/blob'; import { Fr } from '@aztec/foundation/fields'; +import { jest } from '@jest/globals'; +import http from 'http'; +import { type AddressInfo } from 'net'; + import { BlobSinkServer } from '../server/server.js'; import { runBlobSinkClientTests } from './blob-sink-client-tests.js'; import { HttpBlobSinkClient } from './http.js'; @@ -32,4 +36,132 @@ describe('HttpBlobSinkClient', () => { const retrievedBlobs = await client.getBlobSidecar('0x1234'); expect(retrievedBlobs).toEqual([]); }); + + describe('Mock Ethereum Clients', () => { + let blobSinkServer: BlobSinkServer; + + let testBlob: Blob; + + let executionHostServer: http.Server | undefined = undefined; + let executionHostPort: number | undefined = undefined; + + let consensusHostServer: http.Server | undefined = undefined; + let consensusHostPort: number | undefined = undefined; + + const MOCK_SLOT_NUMBER = 1; + + beforeEach(() => { + testBlob = Blob.fromFields([Fr.random()]); + }); + + const startExecutionHostServer = (): Promise => { + executionHostServer = http.createServer((req, res) => { + res.writeHead(200, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ result: { parentBeaconBlockRoot: '0x1234' } })); + }); + + return new Promise((resolve, _reject) => { + executionHostServer?.listen(0, () => { + executionHostPort = (executionHostServer?.address() as AddressInfo).port; + resolve(); + }); + }); + }; + + const startConsensusHostServer = (): Promise => { + consensusHostServer = http.createServer((req, res) => { + if (req.url?.includes('/eth/v1/beacon/headers/')) { + res.writeHead(200, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ data: { header: { message: { slot: MOCK_SLOT_NUMBER } } } })); + } else if (req.url?.includes('/eth/v1/beacon/blob_sidecars/')) { + res.writeHead(200, { 'Content-Type': 'application/json' }); + res.end( + JSON.stringify({ + data: [ + { + index: 0, + blob: `0x${Buffer.from(testBlob.data).toString('hex')}`, + // eslint-disable-next-line camelcase + kzg_commitment: `0x${testBlob.commitment.toString('hex')}`, + // eslint-disable-next-line camelcase + kzg_proof: `0x${testBlob.proof.toString('hex')}`, + }, + ], + }), + ); + } else { + res.writeHead(404, { 'Content-Type': 'application/json' }); + res.end(JSON.stringify({ error: 'Not Found' })); + } + }); + + return new Promise((resolve, _reject) => { + consensusHostServer?.listen(0, () => { + consensusHostPort = (consensusHostServer?.address() as AddressInfo).port; + resolve(); + }); + }); + }; + + afterEach(async () => { + await blobSinkServer?.stop(); + executionHostServer?.close(); + consensusHostServer?.close(); + + executionHostPort = undefined; + consensusHostPort = undefined; + }); + + // When the consensus host is not responding, we should still be able to request blobs with the block hash + it('should handle no consensus host', async () => { + blobSinkServer = new BlobSinkServer({ + port: 0, + }); + await blobSinkServer.start(); + + const blobSinkSpy = jest.spyOn((blobSinkServer as any).blobStore, 'getBlobSidecars'); + + await startExecutionHostServer(); + + const client = new HttpBlobSinkClient( + `http://localhost:${blobSinkServer.port}`, + undefined, + `http://localhost:${executionHostPort}`, + ); + + const success = await client.sendBlobsToBlobSink('0x1234', [testBlob]); + expect(success).toBe(true); + + const retrievedBlobs = await client.getBlobSidecar('0x1234'); + expect(retrievedBlobs).toEqual([testBlob]); + + // Check that the blob sink was called with the correct block hash and no index + expect(blobSinkSpy).toHaveBeenCalledWith('0x1234', undefined); + }); + + // When the consensus host is responding, we should request blobs from the consensus host + // based on the slot number + it('should request based on slot where consensus host is provided', async () => { + blobSinkServer = new BlobSinkServer({ + port: 0, + }); + await blobSinkServer.start(); + + await startExecutionHostServer(); + await startConsensusHostServer(); + + const client = new HttpBlobSinkClient( + `http://localhost:${blobSinkServer.port}`, + `http://localhost:${consensusHostPort}`, + `http://localhost:${executionHostPort}`, + ); + const blob = Blob.fromFields([Fr.random()]); + + const success = await client.sendBlobsToBlobSink('0x1234', [blob]); + expect(success).toBe(true); + + const retrievedBlobs = await client.getBlobSidecar('0x1234'); + expect(retrievedBlobs).toEqual([testBlob]); + }); + }); }); diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index 444772a2e9c8..9375a50184ae 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -6,7 +6,11 @@ import { type BlobSinkClientInterface } from './interface.js'; export class HttpBlobSinkClient implements BlobSinkClientInterface { private readonly log: Logger; - constructor(private readonly blobSinkUrl: string) { + constructor( + private readonly blobSinkUrl: string, + private readonly consensusHostUrl?: string, + private readonly executionHostUrl?: string, + ) { this.log = createLogger('aztec:blob-sink-client'); } @@ -44,14 +48,28 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { } } + /** + * Get the blob sidecar + * + * If requesting from the blob sink, we send the blobkHash + * If requesting from the beacon node, we send the slot number + * + * @param blockHash - The block hash + * @param indices - The indices of the blobs to get + * @returns The blobs + */ public async getBlobSidecar(blockHash: string, indices?: number[]): Promise { if (!this.blobSinkUrl) { this.log.verbose('No blob sink url configured'); return []; } + // If no slot number is found, we query with the block hash + const blockHashOrSlot = (await this.getSlotNumber(blockHash)) ?? blockHash; + const hostUrl = this.consensusHostUrl ?? this.blobSinkUrl; + try { - let url = `${this.blobSinkUrl}/eth/v1/beacon/blob_sidecars/${blockHash}`; + let url = `${hostUrl}/eth/v1/beacon/blob_sidecars/${blockHashOrSlot}`; if (indices && indices.length > 0) { url += `?indices=${indices.join(',')}`; } @@ -60,8 +78,9 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { if (res.ok) { const body = await res.json(); - const blobs = body.data.map((b: { blob: string; index: number }) => - Blob.fromBuffer(Buffer.from(b.blob, 'hex')), + // TODO: sort by index??? + const blobs = body.data.map((b: { blob: string; index: number; kzg_commitment: string; kzg_proof: string }) => + Blob.fromJson(b), ); return blobs; } @@ -73,4 +92,74 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { return []; } } + + /** + * Get the slot number from the consensus host + * As of eip-4788, the parentBeaconBlockRoot is included in the execution layer. + * This allows us to query the consensus layer for the slot number of the parent block, which we will then use + * to request blobs from the consensus layer. + * + * If this returns undefined, it means that we are not connected to a real consensus host, and we should + * query blobs with the blockHash. + * + * If this returns a number, then we should query blobs with the slot number + * + * @param blockHash - The block hash + * @returns The slot number + */ + private async getSlotNumber(blockHash: string): Promise { + if (!this.consensusHostUrl) { + this.log.verbose('No consensus host url configured'); + return undefined; + } + + if (!this.executionHostUrl) { + this.log.verbose('No execution host url configured'); + return undefined; + } + + // Ping execution node to get the parentBeaconBlockRoot for this block + let parentBeaconBlockRoot: string | undefined; + try { + const res = await fetch(`${this.executionHostUrl}`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + body: JSON.stringify({ + jsonrpc: '2.0', + method: 'eth_getBlockByHash', + params: [blockHash, /*tx flag*/ false], + id: 1, + }), + }); + + if (res.ok) { + const body = await res.json(); + parentBeaconBlockRoot = body.result.parentBeaconBlockRoot; + } + } catch (err) { + this.log.error(`Error getting parent beacon block root`, err); + } + + if (!parentBeaconBlockRoot) { + this.log.error(`No parent beacon block root found for block ${blockHash}`); + return undefined; + } + + // Query beacon chain to get the slot number for that block root + try { + const res = await fetch(`${this.consensusHostUrl}/eth/v1/beacon/headers/${blockHash}`); + if (res.ok) { + const body = await res.json(); + + // Add one to get the slot number of the original block hash + return body.data.header.message.slot + 1; + } + } catch (err) { + this.log.error(`Error getting slot number`, err); + } + + return undefined; + } } diff --git a/yarn-project/blob-sink/src/server/server.ts b/yarn-project/blob-sink/src/server/server.ts index 2103750bbd12..d6637a435af6 100644 --- a/yarn-project/blob-sink/src/server/server.ts +++ b/yarn-project/blob-sink/src/server/server.ts @@ -47,10 +47,30 @@ export class BlobSinkServer { } private setupRoutes() { + // TODO(md): needed? + this.app.get('/eth/v1/beacon/headers/:block_id', this.handleGetBlockHeader.bind(this)); this.app.get('/eth/v1/beacon/blob_sidecars/:block_id', this.handleGetBlobSidecar.bind(this)); this.app.post('/blob_sidecar', this.handlePostBlobSidecar.bind(this)); } + // TODO(md): needed? + /** + * This is a placeholder for the block header endpoint. + * It is not supported by the blob sink. + * + * The blob sink http client will ping this endpoint to check if it is talking to a beacon node + * or a blob sink + * + * @param _req - The request object + * @param res - The response object + */ + private handleGetBlockHeader(_req: Request, res: Response) { + res.status(400).json({ + error: 'Not Supported', + }); + return; + } + private async handleGetBlobSidecar(req: Request, res: Response) { // eslint-disable-next-line camelcase const { block_id } = req.params; diff --git a/yarn-project/blob-sink/src/types/blob_with_index.ts b/yarn-project/blob-sink/src/types/blob_with_index.ts index 60446f2ff160..9e210e3ea912 100644 --- a/yarn-project/blob-sink/src/types/blob_with_index.ts +++ b/yarn-project/blob-sink/src/types/blob_with_index.ts @@ -40,12 +40,12 @@ export class BlobWithIndex { // Follows the structure the beacon node api expects public toJSON(): { blob: string; index: number; kzg_commitment: string; kzg_proof: string } { return { - blob: this.blob.toBuffer().toString('hex'), + blob: `0x${Buffer.from(this.blob.data).toString('hex')}`, index: this.index, // eslint-disable-next-line camelcase - kzg_commitment: this.blob.commitment.toString('hex'), + kzg_commitment: `0x${this.blob.commitment.toString('hex')}`, // eslint-disable-next-line camelcase - kzg_proof: this.blob.proof.toString('hex'), + kzg_proof: `0x${this.blob.proof.toString('hex')}`, }; } } diff --git a/yarn-project/foundation/src/blob/index.ts b/yarn-project/foundation/src/blob/index.ts index dddb124f1d31..5a9f8d6ec849 100644 --- a/yarn-project/foundation/src/blob/index.ts +++ b/yarn-project/foundation/src/blob/index.ts @@ -57,8 +57,14 @@ export class Blob { `Attempted to overfill blob with ${fields.length} elements. The maximum is ${FIELD_ELEMENTS_PER_BLOB}`, ); } + const dataWithoutZeros = serializeToBuffer(fields); - const data = Buffer.concat([dataWithoutZeros], BYTES_PER_BLOB); + return Blob.fromBlobBuffer(dataWithoutZeros, multiBlobFieldsHash); + } + + static fromBlobBuffer(blob: BlobBuffer, multiBlobFieldsHash?: Fr): Blob { + const fields: Fr[] = deserializeBlobFieldsFromBuffer(blob); + const data = Buffer.concat([blob], BYTES_PER_BLOB); // This matches the output of SpongeBlob.squeeze() in the blob circuit const fieldsHash = multiBlobFieldsHash ? multiBlobFieldsHash : poseidon2Hash(fields); @@ -71,7 +77,23 @@ export class Blob { const proof = Buffer.from(res[0]); const evaluationY = Buffer.from(res[1]); - return new Blob(dataWithoutZeros, fieldsHash, challengeZ, evaluationY, commitment, proof); + return new Blob(data, fieldsHash, challengeZ, evaluationY, commitment, proof); + } + + // TODO: add unit test + static fromJson(json: { blob: string; kzg_commitment: string; kzg_proof: string }): Blob { + const blobBuffer = Buffer.from(json.blob.slice(2), 'hex'); + + const blob = Blob.fromBlobBuffer(blobBuffer); + + if (blob.commitment.toString('hex') !== json.kzg_commitment.slice(2)) { + throw new Error('KZG commitment does not match'); + } + if (blob.proof.toString('hex') !== json.kzg_proof.slice(2)) { + throw new Error('KZG proof does not match'); + } + + return blob; } // 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] @@ -121,13 +143,6 @@ export class Blob { ); } - /** - * Pad the blob data to it's full size before posting - */ - get dataWithZeros(): BlobBuffer { - return Buffer.concat([this.data], BYTES_PER_BLOB); - } - /** * Get the size of the blob in bytes */ @@ -197,3 +212,17 @@ export class Blob { function commitmentToFields(commitment: Buffer): [Fr, Fr] { return [new Fr(commitment.subarray(0, 31)), new Fr(commitment.subarray(31, 48))]; } + +function deserializeBlobFieldsFromBuffer(blob: BlobBuffer): Fr[] { + const reader = BufferReader.asReader(blob); + const array = reader.readArray(blob.length >> 5, Fr); + + // Find the index of the last non-zero field + let lastNonZeroIndex = array.length - 1; + while (lastNonZeroIndex >= 0 && array[lastNonZeroIndex].isZero()) { + lastNonZeroIndex--; + } + + // Return the trimmed array + return array.slice(0, lastNonZeroIndex + 1); +} From 07327518ec73b5f8a1f22b309a88f9f096d0b4a3 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:38:17 +0000 Subject: [PATCH 12/46] commit --- .../archiver/src/archiver/archiver.ts | 3 +- .../archiver/src/archiver/data_retrieval.ts | 44 +++++++++--- yarn-project/blob-sink/src/client/http.ts | 10 +-- .../blob-sink/src/server/server.test.ts | 17 +++-- .../src/e2e_token_contract/minting.test.ts | 54 +++++++-------- yarn-project/foundation/src/blob/index.ts | 68 ++++++++++++++++--- .../foundation/src/serialize/field_reader.ts | 8 +++ .../src/publisher/l1-publisher.test.ts | 4 +- .../src/publisher/l1-publisher.ts | 13 ++-- 9 files changed, 157 insertions(+), 64 deletions(-) diff --git a/yarn-project/archiver/src/archiver/archiver.ts b/yarn-project/archiver/src/archiver/archiver.ts index 012ddd9c5d95..1cb1684f5cf6 100644 --- a/yarn-project/archiver/src/archiver/archiver.ts +++ b/yarn-project/archiver/src/archiver/archiver.ts @@ -116,7 +116,7 @@ export class Archiver implements ArchiveSource, Traceable { private readonly l1Addresses: { rollupAddress: EthAddress; inboxAddress: EthAddress; registryAddress: EthAddress }, readonly dataStore: ArchiverDataStore, private readonly config: { pollingIntervalMs: number; batchSize: number }, - private readonly _blobSinkClient: BlobSinkClientInterface, + private readonly blobSinkClient: BlobSinkClientInterface, private readonly instrumentation: ArchiverInstrumentation, private readonly l1constants: L1RollupConstants, private readonly log: Logger = createLogger('archiver'), @@ -472,6 +472,7 @@ export class Archiver implements ArchiveSource, Traceable { const retrievedBlocks = await retrieveBlocksFromRollup( this.rollup, this.publicClient, + this.blobSinkClient, searchStartBlock, // TODO(palla/reorg): If the L2 reorg was due to an L1 reorg, we need to start search earlier searchEndBlock, this.log, diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index 1d365533accb..cffe8b80594b 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -1,3 +1,4 @@ +import { BlobSinkClientInterface } from '@aztec/blob-sink/client'; import { Body, InboxLeaf, L2Block } from '@aztec/circuit-types'; import { AppendOnlyTreeSnapshot, BlockHeader, Fr, Proof } from '@aztec/circuits.js'; import { asyncPool } from '@aztec/foundation/async-pool'; @@ -35,6 +36,7 @@ import { type L1Published, type L1PublishedData } from './structs/published.js'; export async function retrieveBlocksFromRollup( rollup: GetContractReturnType>, publicClient: PublicClient, + blobSinkClient: BlobSinkClientInterface, searchStartBlock: bigint, searchEndBlock: bigint, logger: Logger = createLogger('archiver'), @@ -63,7 +65,13 @@ export async function retrieveBlocksFromRollup( `Got ${l2BlockProposedLogs.length} L2 block processed logs for L2 blocks ${l2BlockProposedLogs[0].args.blockNumber}-${lastLog.args.blockNumber} between L1 blocks ${searchStartBlock}-${searchEndBlock}`, ); - const newBlocks = await processL2BlockProposedLogs(rollup, publicClient, l2BlockProposedLogs, logger); + const newBlocks = await processL2BlockProposedLogs( + rollup, + publicClient, + blobSinkClient, + l2BlockProposedLogs, + logger, + ); retrievedBlocks.push(...newBlocks); searchStartBlock = lastLog.blockNumber! + 1n; } while (searchStartBlock <= searchEndBlock); @@ -80,6 +88,7 @@ export async function retrieveBlocksFromRollup( export async function processL2BlockProposedLogs( rollup: GetContractReturnType>, publicClient: PublicClient, + blobSinkClient: BlobSinkClientInterface, logs: GetContractEventsReturnType, logger: Logger, ): Promise[]> { @@ -91,7 +100,13 @@ export async function processL2BlockProposedLogs( // The value from the event and contract will match only if the block is in the chain. if (archive === archiveFromChain) { - const block = await getBlockFromRollupTx(publicClient, log.transactionHash!, l2BlockNumber); + const block = await getBlockFromRollupTx( + publicClient, + blobSinkClient, + log.transactionHash!, + l2BlockNumber, + logger, + ); const l1: L1PublishedData = { blockNumber: log.blockNumber, @@ -127,16 +142,11 @@ export async function getL1BlockTime(publicClient: PublicClient, blockNumber: bi */ async function getBlockFromRollupTx( publicClient: PublicClient, + blobSinkClient: BlobSinkClientInterface, txHash: `0x${string}`, l2BlockNum: bigint, + logger: Logger, ): Promise { - // WORKNOTES: - // - the plan - // - read the tx - // - Get the block number - // - The block number will incldue the previous beacon block route in it - // - Get the slot number for this block route - // const { input: data, blockHash } = await publicClient.getTransaction({ hash: txHash }); const { functionName, args } = decodeFunctionData({ abi: RollupAbi, data }); @@ -163,13 +173,27 @@ async function getBlockFromRollupTx( Hex, ]; + const blobBodies = await blobSinkClient.getBlobSidecar(blockHash); + if (blobBodies.length === 0) { + throw new Error(`No blob bodies found for block ${l2BlockNum}`); + } + + const blockFields = blobBodies.flatMap(b => b.toFields()); + const header = BlockHeader.fromBuffer(Buffer.from(hexToBytes(decodedArgs.header))); // TODO(#9101): Retreiving the block body from calldata is a temporary soln before we have // either a beacon chain client or link to some blob store. Web2 is ok because we will // verify the block body vs the blob as below. const blockBody = Body.fromBuffer(Buffer.from(hexToBytes(bodyHex))); - const blockFields = blockBody.toBlobFields(); + const legacyBlockFields = blockBody.toBlobFields(); + + logger.verbose(`Legacy block fields length: ${legacyBlockFields.length}`); + logger.verbose(`Block fields length: ${blockFields.length}`); + + logger.verbose(`Legacy block fields: ${legacyBlockFields.map(f => f.toString())}`); + logger.verbose(`Block fields: ${blockFields.map(f => f.toString())}`); + // TODO(#9101): The below reconstruction is currently redundant, but once we extract blobs will be the way to construct blocks. // The blob source will give us blockFields, and we must construct the body from them: // TODO(#8954): When logs are refactored into fields, we won't need to inject them here. diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index 9375a50184ae..2f51fd0e7e2e 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -85,10 +85,10 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { return blobs; } - this.log.error('Failed to get blob sidecar', res.status); + this.log.warn(`Unable to get blob sidecar`, res.status); return []; - } catch (err) { - this.log.error(`Error getting blob sidecar`, err); + } catch (err: any) { + this.log.error(`Unable to get blob sidecar`, err.message); return []; } } @@ -109,12 +109,12 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { */ private async getSlotNumber(blockHash: string): Promise { if (!this.consensusHostUrl) { - this.log.verbose('No consensus host url configured'); + this.log.debug('No consensus host url configured'); return undefined; } if (!this.executionHostUrl) { - this.log.verbose('No execution host url configured'); + this.log.debug('No execution host url configured'); return undefined; } diff --git a/yarn-project/blob-sink/src/server/server.test.ts b/yarn-project/blob-sink/src/server/server.test.ts index 3107b953d47c..7c405bf26297 100644 --- a/yarn-project/blob-sink/src/server/server.test.ts +++ b/yarn-project/blob-sink/src/server/server.test.ts @@ -57,12 +57,15 @@ describe('BlobSinkService', () => { // Convert the response blob back to a Blob object and verify it matches const retrievedBlobs = getResponse.body.data; - const retrievedBlob = Blob.fromBuffer(Buffer.from(retrievedBlobs[0].blob, 'hex')); - const retrievedBlob2 = Blob.fromBuffer(Buffer.from(retrievedBlobs[1].blob, 'hex')); + const retrievedBlob = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); + const retrievedBlob2 = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[1].blob.slice(2), 'hex')); expect(retrievedBlob.fieldsHash.toString()).toBe(blob.fieldsHash.toString()); expect(retrievedBlob.commitment.toString('hex')).toBe(blob.commitment.toString('hex')); + expect(retrievedBlob.proof.toString('hex')).toBe(blob.proof.toString('hex')); + expect(retrievedBlob2.fieldsHash.toString()).toBe(blob2.fieldsHash.toString()); expect(retrievedBlob2.commitment.toString('hex')).toBe(blob2.commitment.toString('hex')); + expect(retrievedBlob2.proof.toString('hex')).toBe(blob2.proof.toString('hex')); }); it('should retrieve specific indicies', async () => { @@ -75,12 +78,15 @@ describe('BlobSinkService', () => { expect(getWithIndicies.body.data.length).toBe(2); const retrievedBlobs = getWithIndicies.body.data; - const retrievedBlob = Blob.fromBuffer(Buffer.from(retrievedBlobs[0].blob, 'hex')); - const retrievedBlob2 = Blob.fromBuffer(Buffer.from(retrievedBlobs[1].blob, 'hex')); + const retrievedBlob = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); + const retrievedBlob2 = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[1].blob.slice(2), 'hex')); expect(retrievedBlob.fieldsHash.toString()).toBe(blob.fieldsHash.toString()); expect(retrievedBlob.commitment.toString('hex')).toBe(blob.commitment.toString('hex')); + expect(retrievedBlob.proof.toString('hex')).toBe(blob.proof.toString('hex')); + expect(retrievedBlob2.fieldsHash.toString()).toBe(blob2.fieldsHash.toString()); expect(retrievedBlob2.commitment.toString('hex')).toBe(blob2.commitment.toString('hex')); + expect(retrievedBlob2.proof.toString('hex')).toBe(blob2.proof.toString('hex')); }); it('should retreive a single index', async () => { @@ -90,9 +96,10 @@ describe('BlobSinkService', () => { expect(getWithIndicies.body.data.length).toBe(1); const retrievedBlobs = getWithIndicies.body.data; - const retrievedBlob = Blob.fromBuffer(Buffer.from(retrievedBlobs[0].blob, 'hex')); + const retrievedBlob = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); expect(retrievedBlob.fieldsHash.toString()).toBe(blob2.fieldsHash.toString()); expect(retrievedBlob.commitment.toString('hex')).toBe(blob2.commitment.toString('hex')); + expect(retrievedBlob.proof.toString('hex')).toBe(blob2.proof.toString('hex')); }); }); diff --git a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts index b2fcc69add96..6dea0c732c2d 100644 --- a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts +++ b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts @@ -20,7 +20,7 @@ describe('e2e_token_contract minting', () => { }); describe('Public', () => { - it('as minter', async () => { + it.only('as minter', async () => { const amount = 10000n; await asset.methods.mint_to_public(accounts[0].address, amount).send().wait(); @@ -31,34 +31,34 @@ describe('e2e_token_contract minting', () => { expect(await asset.methods.total_supply().simulate()).toEqual(tokenSim.totalSupply); }); - describe('failure cases', () => { - it('as non-minter', async () => { - const amount = 10000n; - await expect( - asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), - ).rejects.toThrow('Assertion failed: caller is not minter'); - }); + // describe('failure cases', () => { + // it('as non-minter', async () => { + // const amount = 10000n; + // await expect( + // asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), + // ).rejects.toThrow('Assertion failed: caller is not minter'); + // }); - it('mint >u128 tokens to overflow', async () => { - const amount = 2n ** 128n; // U128::max() + 1; - await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - BITSIZE_TOO_BIG_ERROR, - ); - }); + // it('mint >u128 tokens to overflow', async () => { + // const amount = 2n ** 128n; // U128::max() + 1; + // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + // BITSIZE_TOO_BIG_ERROR, + // ); + // }); - it('mint u128', async () => { - const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - U128_OVERFLOW_ERROR, - ); - }); + // it('mint u128', async () => { + // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + // U128_OVERFLOW_ERROR, + // ); + // }); - it('mint u128', async () => { - const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( - U128_OVERFLOW_ERROR, - ); - }); - }); + // it('mint u128', async () => { + // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + // await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( + // U128_OVERFLOW_ERROR, + // ); + // }); + // }); }); }); diff --git a/yarn-project/foundation/src/blob/index.ts b/yarn-project/foundation/src/blob/index.ts index 5a9f8d6ec849..03297ec88373 100644 --- a/yarn-project/foundation/src/blob/index.ts +++ b/yarn-project/foundation/src/blob/index.ts @@ -3,7 +3,8 @@ import type { Blob as BlobBuffer } from 'c-kzg'; import { poseidon2Hash, sha256 } from '../crypto/index.js'; import { Fr } from '../fields/index.js'; -import { BufferReader, serializeToBuffer } from '../serialize/index.js'; +import { createLogger } from '../log/index.js'; +import { BufferReader, FieldReader, serializeToBuffer } from '../serialize/index.js'; // Importing directly from 'c-kzg' does not work, ignoring import/no-named-as-default-member err: /* eslint-disable import/no-named-as-default-member */ @@ -63,14 +64,31 @@ export class Blob { } static fromBlobBuffer(blob: BlobBuffer, multiBlobFieldsHash?: Fr): Blob { + const log = createLogger('Creating Blob'); + const fields: Fr[] = deserializeBlobFieldsFromBuffer(blob); + log.info(`Fields length: ${fields.length}`); + log.info(`Fields: ${fields.map(f => f.toString()).join(', ')}`); const data = Buffer.concat([blob], BYTES_PER_BLOB); // This matches the output of SpongeBlob.squeeze() in the blob circuit const fieldsHash = multiBlobFieldsHash ? multiBlobFieldsHash : poseidon2Hash(fields); + log.info(`Multi blob fields hash: ${multiBlobFieldsHash?.toString()}`); + log.info(`Fields hash: ${fieldsHash.toString()}`); + const commitment = Buffer.from(blobToKzgCommitment(data)); + + log.info(`Commitment: ${commitment.toString('hex')}`); + const challengeZ = poseidon2Hash([fieldsHash, ...commitmentToFields(commitment)]); + + log.info(`Challenge Z: ${challengeZ.toString()}`); + const res = computeKzgProof(data, challengeZ.toBuffer()); + + log.info(`Proof: ${Buffer.from(res[0]).toString('hex')}`); + log.info(`Evaluation Y: ${Buffer.from(res[1]).toString('hex')}`); + if (!verifyKzgProof(commitment, challengeZ.toBuffer(), res[1], res[0])) { throw new Error(`KZG proof did not verify.`); } @@ -89,13 +107,20 @@ export class Blob { if (blob.commitment.toString('hex') !== json.kzg_commitment.slice(2)) { throw new Error('KZG commitment does not match'); } - if (blob.proof.toString('hex') !== json.kzg_proof.slice(2)) { - throw new Error('KZG proof does not match'); - } return blob; } + toFields(): Fr[] { + return deserializeBlobFieldsFromBuffer(this.data); + } + + // toPaddedFields(): Fr[] { + // const fields = this.toFields(); + // const paddedFields = [...fields, ...new Array(FIELD_ELEMENTS_PER_BLOB - fields.length).fill(Fr.ZERO)]; + // return paddedFields; + // } + // 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] commitmentToFields(): [Fr, Fr] { return commitmentToFields(this.commitment); @@ -197,7 +222,11 @@ export class Blob { // Returns as many blobs as we require to broadcast the given fields // Assumes we share the fields hash between all blobs static getBlobs(fields: Fr[]): Blob[] { + const log = createLogger('GET BLOBS'); const numBlobs = Math.max(Math.ceil(fields.length / FIELD_ELEMENTS_PER_BLOB), 1); + log.info(`num blobs: ${numBlobs}`); + log.info(`num blobs: ${numBlobs}`); + log.info(`num blobs: ${numBlobs}`); const multiBlobFieldsHash = poseidon2Hash(fields); const res = []; for (let i = 0; i < numBlobs; i++) { @@ -213,16 +242,35 @@ function commitmentToFields(commitment: Buffer): [Fr, Fr] { return [new Fr(commitment.subarray(0, 31)), new Fr(commitment.subarray(31, 48))]; } +const TX_START_PREFIX = 8392562855083340404n; +const TX_START_PREFIX_BYTES_LENGTH = TX_START_PREFIX.toString(16).length / 2; +const TX_EFFECT_PREFIX_BYTE_LENGTH = TX_START_PREFIX_BYTES_LENGTH + 7; + +function getLengthFromFirstField(firstField: Fr): number { + const buf = firstField.toBuffer().subarray(-TX_EFFECT_PREFIX_BYTE_LENGTH); + return new Fr(buf.subarray(TX_START_PREFIX_BYTES_LENGTH + 1, TX_START_PREFIX_BYTES_LENGTH + 3)).toNumber(); +} + function deserializeBlobFieldsFromBuffer(blob: BlobBuffer): Fr[] { const reader = BufferReader.asReader(blob); + // >> 5 = / 32 const array = reader.readArray(blob.length >> 5, Fr); + const fieldReader = FieldReader.asReader(array); + + // Trim the zeros from the end + // TODO: optimise + + // tODO: tidy up + let currentField = fieldReader.readField(); + let len = getLengthFromFirstField(currentField); + fieldReader.skip(len - 1); - // Find the index of the last non-zero field - let lastNonZeroIndex = array.length - 1; - while (lastNonZeroIndex >= 0 && array[lastNonZeroIndex].isZero()) { - lastNonZeroIndex--; + while (!fieldReader.isFinished() && currentField && !currentField.isZero()) { + currentField = fieldReader.readField(); + len = getLengthFromFirstField(currentField); + fieldReader.skip(len - 1); } - // Return the trimmed array - return array.slice(0, lastNonZeroIndex + 1); + // Do not return the end zeros + return array.slice(0, fieldReader.cursor); } diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index 98e80c809095..71b97baf0c30 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -34,6 +34,14 @@ export class FieldReader { return new FieldReader(fields); } + public skip(n: number) { + this.index += n; + } + + get cursor() { + return this.index; + } + /** * Reads a single field from the array. * diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts index 7f6e178fb820..45f5cc4c9229 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts @@ -72,7 +72,7 @@ class MockRollupContract { } } -const BLOB_SINK_PORT = 5052; +const BLOB_SINK_PORT = 50525; const BLOB_SINK_URL = `http://localhost:${BLOB_SINK_PORT}`; describe('L1Publisher', () => { @@ -238,7 +238,7 @@ describe('L1Publisher', () => { data: encodeFunctionData({ abi: rollupContract.abi, functionName: 'propose', args }), }, { fixedGas: GAS_GUESS + L1Publisher.PROPOSE_GAS_GUESS }, - { blobs: expectedBlobs.map(b => b.dataWithZeros), kzg }, + { blobs: expectedBlobs.map(b => b.data), kzg }, ); expect(sendToBlobSinkSpy).toHaveBeenCalledTimes(1); diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts index 537a74b81760..6ffa88180da4 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts @@ -661,7 +661,7 @@ export class L1Publisher { address: this.rollupContract.address, }, { - blobs: proposeTxArgs.blobs.map(b => b.dataWithZeros), + blobs: proposeTxArgs.blobs.map(b => b.data), kzg, maxFeePerBlobGas: gasPrice.maxFeePerBlobGas ?? 10000000000n, }, @@ -973,7 +973,7 @@ export class L1Publisher { }, {}, { - blobs: encodedData.blobs.map(b => b.dataWithZeros), + blobs: encodedData.blobs.map(b => b.data), kzg, }, ); @@ -1064,7 +1064,7 @@ export class L1Publisher { ...opts, }, { - blobs: encodedData.blobs.map(b => b.dataWithZeros), + blobs: encodedData.blobs.map(b => b.data), kzg, }, ); @@ -1107,7 +1107,7 @@ export class L1Publisher { ...opts, }, { - blobs: encodedData.blobs.map(b => b.dataWithZeros), + blobs: encodedData.blobs.map(b => b.data), kzg, }, ); @@ -1175,6 +1175,11 @@ export class L1Publisher { * to calculate and will need to be mocked in e2e tests */ protected sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise { + blobs.forEach(b => { + this.log.verbose(`Blob: ${Buffer.from(b.data).toString('hex').slice(0, 100)}`); + this.log.verbose(`Blob commitment: ${Buffer.from(b.commitment).toString('hex')}`); + this.log.verbose(`Blob proof: ${Buffer.from(b.proof).toString('hex')}`); + }); return this.blobSinkClient.sendBlobsToBlobSink(blockHash, blobs); } } From e79c0de0ce5ee3fd5613cc4d1526564412bcdd86 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:39:51 +0000 Subject: [PATCH 13/46] config --- .../files/config/setup-service-addresses.sh | 12 ++++- spartan/aztec-network/templates/_helpers.tpl | 4 ++ spartan/scripts/post_deploy_spartan.sh | 2 +- .../archiver/src/archiver/archiver.ts | 11 +++- yarn-project/archiver/src/archiver/config.ts | 6 +-- .../archiver/src/archiver/data_retrieval.ts | 22 ++------ yarn-project/archiver/src/archiver/errors.ts | 5 ++ .../aztec-node/src/aztec-node/config.ts | 2 + .../aztec-node/src/aztec-node/server.ts | 2 +- yarn-project/blob-sink/src/client/config.ts | 44 +++++++++++++++ yarn-project/blob-sink/src/client/factory.ts | 7 +-- .../blob-sink/src/client/http.test.ts | 25 ++++----- yarn-project/blob-sink/src/client/http.ts | 25 +++++---- yarn-project/blob-sink/src/client/index.ts | 1 + .../src/e2e_prover/e2e_prover_test.ts | 2 +- .../end-to-end/src/e2e_synching.test.ts | 9 +++- .../src/e2e_token_contract/minting.test.ts | 54 +++++++++---------- .../end-to-end/src/fixtures/fixtures.ts | 2 + yarn-project/end-to-end/src/fixtures/utils.ts | 2 +- yarn-project/foundation/src/blob/index.ts | 28 ---------- yarn-project/foundation/src/config/env_var.ts | 2 +- .../foundation/src/promise/running-promise.ts | 5 +- yarn-project/prover-node/src/factory.ts | 2 +- .../src/publisher/l1-publisher.test.ts | 2 +- .../src/publisher/l1-publisher.ts | 7 +-- 25 files changed, 161 insertions(+), 122 deletions(-) create mode 100644 yarn-project/archiver/src/archiver/errors.ts create mode 100644 yarn-project/blob-sink/src/client/config.ts diff --git a/spartan/aztec-network/files/config/setup-service-addresses.sh b/spartan/aztec-network/files/config/setup-service-addresses.sh index 05934ad5916c..2f77eafca915 100644 --- a/spartan/aztec-network/files/config/setup-service-addresses.sh +++ b/spartan/aztec-network/files/config/setup-service-addresses.sh @@ -52,7 +52,7 @@ get_service_address() { echo "http://${NODE_IP}:${PORT}" } -# Configure Ethereum address +# Configure Ethereum execution client address if [ "${EXTERNAL_ETHEREUM_HOST}" != "" ]; then ETHEREUM_ADDR="${EXTERNAL_ETHEREUM_HOST}" elif [ "${NETWORK_PUBLIC}" = "true" ]; then @@ -61,6 +61,15 @@ else ETHEREUM_ADDR="http://${SERVICE_NAME}-eth-execution.${NAMESPACE}:${ETHEREUM_PORT}" fi +# Configure Ethereum Consensus address +if [ "${EXTERNAL_ETHEREUM_CONSENSUS_HOST}" != "" ]; then + ETHEREUM_CONSENSUS_ADDR="${EXTERNAL_ETHEREUM_CONSENSUS_HOST}" +elif [ "${NETWORK_PUBLIC}" = "true" ]; then + ETHEREUM_CONSENSUS_ADDR=$(get_service_address "eth-beacon" "${ETHEREUM_CONSENSUS_PORT}") +else + ETHEREUM_CONSENSUS_ADDR="http://${SERVICE_NAME}-eth-beacon.${NAMESPACE}:${ETHEREUM_CONSENSUS_PORT}" +fi + # Configure Boot Node address if [ "${BOOT_NODE_EXTERNAL_HOST}" != "" ]; then BOOT_NODE_ADDR="${BOOT_NODE_EXTERNAL_HOST}" @@ -93,6 +102,7 @@ fi # Write addresses to file for sourcing echo "export ETHEREUM_HOST=${ETHEREUM_ADDR}" >> /shared/config/service-addresses +echo "export ETHEREUM_CONSENSUS_HOST=${ETHEREUM_CONSENSUS_ADDR}" >> /shared/config/service-addresses echo "export BOOT_NODE_HOST=${BOOT_NODE_ADDR}" >> /shared/config/service-addresses echo "export PROVER_NODE_HOST=${PROVER_NODE_ADDR}" >> /shared/config/service-addresses echo "export PROVER_BROKER_HOST=${PROVER_BROKER_ADDR}" >> /shared/config/service-addresses diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index 9e23dc5ffdb8..de32317a0de1 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -145,6 +145,10 @@ Service Address Setup Container value: "{{ .Values.ethereum.execution.externalHost }}" - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" + - name: EXTERNAL_ETHEREUM_CONSENSUS_HOST + value: "{{ .Values.ethereum.consensus.externalHost }}" + - name: EXTERNAL_ETHEREUM_CONSENSUS_PORT + value: "{{ .Values.ethereum.consensus.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST value: "{{ .Values.bootNode.externalHost }}" - name: BOOT_NODE_PORT diff --git a/spartan/scripts/post_deploy_spartan.sh b/spartan/scripts/post_deploy_spartan.sh index e268174f49c3..e2add4b18809 100755 --- a/spartan/scripts/post_deploy_spartan.sh +++ b/spartan/scripts/post_deploy_spartan.sh @@ -26,7 +26,7 @@ function get_load_balancer_url() { # Fetch the service URLs based on the namespace for injection in the test-transfer.sh export BOOTNODE_URL=$($(dirname $0)/get_service_address boot-node 8080) export PXE_URL=$($(dirname $0)/get_service_address pxe 8080) -export ETHEREUM_HOST=$($(dirname $0)/get_service_address ethereum 8545) +export ETHEREUM_HOST=$($(dirname $0)/get_service_address eth-execution 8545) echo "BOOTNODE_URL: $BOOTNODE_URL" echo "PXE_URL: $PXE_URL" diff --git a/yarn-project/archiver/src/archiver/archiver.ts b/yarn-project/archiver/src/archiver/archiver.ts index 1cb1684f5cf6..860a299e731f 100644 --- a/yarn-project/archiver/src/archiver/archiver.ts +++ b/yarn-project/archiver/src/archiver/archiver.ts @@ -67,6 +67,7 @@ import { import { type ArchiverDataStore, type ArchiverL1SynchPoint } from './archiver_store.js'; import { type ArchiverConfig } from './config.js'; import { retrieveBlocksFromRollup, retrieveL1ToL2Messages } from './data_retrieval.js'; +import { NoBlobBodiesFoundError } from './errors.js'; import { ArchiverInstrumentation } from './instrumentation.js'; import { type DataRetrieval } from './structs/data_retrieval.js'; import { type L1Published } from './structs/published.js'; @@ -199,7 +200,13 @@ export class Archiver implements ArchiveSource, Traceable { await this.sync(blockUntilSynced); } - this.runningPromise = new RunningPromise(() => this.sync(false), this.log, this.config.pollingIntervalMs); + this.runningPromise = new RunningPromise(() => this.sync(false), this.log, this.config.pollingIntervalMs, [ + // TODO(md): Instead do retries in the blob sink rather than this hack? + // Ignored errors will not log to the console + // We ignore NoBlobBodiesFound as the message may not have been passed to the blob sink yet + NoBlobBodiesFoundError, + ]); + this.runningPromise.start(); } @@ -469,6 +476,8 @@ export class Archiver implements ArchiveSource, Traceable { [searchStartBlock, searchEndBlock] = this.nextRange(searchEndBlock, currentL1BlockNumber); this.log.trace(`Retrieving L2 blocks from L1 block ${searchStartBlock} to ${searchEndBlock}`); + + // TODO(md): Retreive from blob sink then from consensus client, then from peers const retrievedBlocks = await retrieveBlocksFromRollup( this.rollup, this.publicClient, diff --git a/yarn-project/archiver/src/archiver/config.ts b/yarn-project/archiver/src/archiver/config.ts index 25a41108cf9e..1493cca73034 100644 --- a/yarn-project/archiver/src/archiver/config.ts +++ b/yarn-project/archiver/src/archiver/config.ts @@ -22,7 +22,7 @@ export type ArchiverConfig = { archiverUrl?: string; /** URL for an L1 consensus client */ - l1ConsensusClientUrl: string; + l1ConsensusHostUrl: string; /** The polling interval in ms for retrieving new L2 blocks and encrypted logs. */ archiverPollingIntervalMS?: number; @@ -47,8 +47,8 @@ export const archiverConfigMappings: ConfigMappingsType = { description: 'URL for an archiver service. If set, will return an archiver client as opposed to starting a new one.', }, - l1ConsensusClientUrl: { - env: 'L1_CONSENSUS_CLIENT_URL', + l1ConsensusHostUrl: { + env: 'L1_CONSENSUS_HOST_URL', description: 'URL for an L1 consensus client.', parseEnv: (val: string) => (val ? val : 'http://localhost:5052'), }, diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index cffe8b80594b..60f8df5f86f1 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -1,4 +1,4 @@ -import { BlobSinkClientInterface } from '@aztec/blob-sink/client'; +import { type BlobSinkClientInterface } from '@aztec/blob-sink/client'; import { Body, InboxLeaf, L2Block } from '@aztec/circuit-types'; import { AppendOnlyTreeSnapshot, BlockHeader, Fr, Proof } from '@aztec/circuits.js'; import { asyncPool } from '@aztec/foundation/async-pool'; @@ -21,6 +21,7 @@ import { hexToBytes, } from 'viem'; +import { NoBlobBodiesFoundError } from './errors.js'; import { type DataRetrieval } from './structs/data_retrieval.js'; import { type L1Published, type L1PublishedData } from './structs/published.js'; @@ -100,13 +101,7 @@ export async function processL2BlockProposedLogs( // The value from the event and contract will match only if the block is in the chain. if (archive === archiveFromChain) { - const block = await getBlockFromRollupTx( - publicClient, - blobSinkClient, - log.transactionHash!, - l2BlockNumber, - logger, - ); + const block = await getBlockFromRollupTx(publicClient, blobSinkClient, log.transactionHash!, l2BlockNumber); const l1: L1PublishedData = { blockNumber: log.blockNumber, @@ -145,7 +140,6 @@ async function getBlockFromRollupTx( blobSinkClient: BlobSinkClientInterface, txHash: `0x${string}`, l2BlockNum: bigint, - logger: Logger, ): Promise { const { input: data, blockHash } = await publicClient.getTransaction({ hash: txHash }); @@ -175,7 +169,7 @@ async function getBlockFromRollupTx( const blobBodies = await blobSinkClient.getBlobSidecar(blockHash); if (blobBodies.length === 0) { - throw new Error(`No blob bodies found for block ${l2BlockNum}`); + throw new NoBlobBodiesFoundError(Number(l2BlockNum)); } const blockFields = blobBodies.flatMap(b => b.toFields()); @@ -186,14 +180,6 @@ async function getBlockFromRollupTx( // verify the block body vs the blob as below. const blockBody = Body.fromBuffer(Buffer.from(hexToBytes(bodyHex))); - const legacyBlockFields = blockBody.toBlobFields(); - - logger.verbose(`Legacy block fields length: ${legacyBlockFields.length}`); - logger.verbose(`Block fields length: ${blockFields.length}`); - - logger.verbose(`Legacy block fields: ${legacyBlockFields.map(f => f.toString())}`); - logger.verbose(`Block fields: ${blockFields.map(f => f.toString())}`); - // TODO(#9101): The below reconstruction is currently redundant, but once we extract blobs will be the way to construct blocks. // The blob source will give us blockFields, and we must construct the body from them: // TODO(#8954): When logs are refactored into fields, we won't need to inject them here. diff --git a/yarn-project/archiver/src/archiver/errors.ts b/yarn-project/archiver/src/archiver/errors.ts new file mode 100644 index 000000000000..6be4fb73beb0 --- /dev/null +++ b/yarn-project/archiver/src/archiver/errors.ts @@ -0,0 +1,5 @@ +export class NoBlobBodiesFoundError extends Error { + constructor(l2BlockNum: number) { + super(`No blob bodies found for block ${l2BlockNum}`); + } +} diff --git a/yarn-project/aztec-node/src/aztec-node/config.ts b/yarn-project/aztec-node/src/aztec-node/config.ts index 0489f18e9092..826898e6377f 100644 --- a/yarn-project/aztec-node/src/aztec-node/config.ts +++ b/yarn-project/aztec-node/src/aztec-node/config.ts @@ -1,4 +1,5 @@ import { type ArchiverConfig, archiverConfigMappings } from '@aztec/archiver/config'; +import { type BlobSinkConfig } from '@aztec/blob-sink/client'; import { type ConfigMappingsType, booleanConfigHelper, getConfigFromMappings } from '@aztec/foundation/config'; import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config'; import { type P2PConfig, p2pConfigMappings } from '@aztec/p2p/config'; @@ -17,6 +18,7 @@ export { sequencerClientConfigMappings, SequencerClientConfig }; * The configuration the aztec node. */ export type AztecNodeConfig = ArchiverConfig & + BlobSinkConfig & SequencerClientConfig & ValidatorClientConfig & ProverClientConfig & diff --git a/yarn-project/aztec-node/src/aztec-node/server.ts b/yarn-project/aztec-node/src/aztec-node/server.ts index 83a73c1335ee..e1ccb3edf2a1 100644 --- a/yarn-project/aztec-node/src/aztec-node/server.ts +++ b/yarn-project/aztec-node/src/aztec-node/server.ts @@ -151,7 +151,7 @@ export class AztecNodeService implements AztecNode, Traceable { const telemetry = deps.telemetry ?? getTelemetryClient(); const log = deps.logger ?? createLogger('node'); const dateProvider = deps.dateProvider ?? new DateProvider(); - const blobSinkClient = deps.blobSinkClient ?? createBlobSinkClient(config.blobSinkUrl); + const blobSinkClient = deps.blobSinkClient ?? createBlobSinkClient(config); const ethereumChain = createEthereumChain(config.l1RpcUrl, config.l1ChainId); //validate that the actual chain id matches that specified in configuration if (config.l1ChainId !== ethereumChain.chainInfo.id) { diff --git a/yarn-project/blob-sink/src/client/config.ts b/yarn-project/blob-sink/src/client/config.ts new file mode 100644 index 000000000000..6d280ce1a153 --- /dev/null +++ b/yarn-project/blob-sink/src/client/config.ts @@ -0,0 +1,44 @@ +import { ConfigMappingsType, getConfigFromMappings } from '@aztec/foundation/config'; + +/** + * The configuration for the blob sink client + */ +export interface BlobSinkConfig { + /** + * The URL of the blob sink + */ + blobSinkUrl?: string; + + /** + * The URL of the L1 RPC Execution client + */ + l1RpcUrl?: string; + + /** + * The URL of the L1 consensus client + */ + l1ConsensusHostUrl?: string; +} + +export const blobSinkConfigMapping: ConfigMappingsType = { + blobSinkUrl: { + env: 'SEQ_BLOB_SINK_URL', + description: 'The URL of the blob sink', + }, + l1RpcUrl: { + env: 'ETHEREUM_HOST', + description: 'The URL of the L1 RPC Execution client', + }, + l1ConsensusHostUrl: { + env: 'L1_CONSENSUS_HOST_URL', + description: 'The URL of the L1 consensus client', + }, +}; + +/** + * Returns the blob sink configuration from the environment variables. + * @returns The blob sink configuration. + */ +export function getBlobSinkConfigFromEnv(): BlobSinkConfig { + return getConfigFromMappings(blobSinkConfigMapping); +} diff --git a/yarn-project/blob-sink/src/client/factory.ts b/yarn-project/blob-sink/src/client/factory.ts index 796746a0ed89..450aa5cb69ee 100644 --- a/yarn-project/blob-sink/src/client/factory.ts +++ b/yarn-project/blob-sink/src/client/factory.ts @@ -1,13 +1,14 @@ import { MemoryBlobStore } from '../blobstore/memory_blob_store.js'; +import { BlobSinkConfig } from './config.js'; import { HttpBlobSinkClient } from './http.js'; import { type BlobSinkClientInterface } from './interface.js'; import { LocalBlobSinkClient } from './local.js'; -export function createBlobSinkClient(blobSinkUrl?: string): BlobSinkClientInterface { - if (!blobSinkUrl) { +export function createBlobSinkClient(config?: BlobSinkConfig): BlobSinkClientInterface { + if (!config?.blobSinkUrl) { const blobStore = new MemoryBlobStore(); return new LocalBlobSinkClient(blobStore); } - return new HttpBlobSinkClient(blobSinkUrl); + return new HttpBlobSinkClient(config); } diff --git a/yarn-project/blob-sink/src/client/http.test.ts b/yarn-project/blob-sink/src/client/http.test.ts index c01c62b3113e..4dbaaa126432 100644 --- a/yarn-project/blob-sink/src/client/http.test.ts +++ b/yarn-project/blob-sink/src/client/http.test.ts @@ -16,7 +16,9 @@ describe('HttpBlobSinkClient', () => { }); await server.start(); - const client = new HttpBlobSinkClient(`http://localhost:${server.port}`); + const client = new HttpBlobSinkClient({ + blobSinkUrl: `http://localhost:${server.port}`, + }); return { client, @@ -27,7 +29,7 @@ describe('HttpBlobSinkClient', () => { }); it('should handle server connection errors gracefully', async () => { - const client = new HttpBlobSinkClient('http://localhost:12345'); // Invalid port + const client = new HttpBlobSinkClient({ blobSinkUrl: 'http://localhost:12345' }); // Invalid port const blob = Blob.fromFields([Fr.random()]); const success = await client.sendBlobsToBlobSink('0x1234', [blob]); @@ -123,11 +125,10 @@ describe('HttpBlobSinkClient', () => { await startExecutionHostServer(); - const client = new HttpBlobSinkClient( - `http://localhost:${blobSinkServer.port}`, - undefined, - `http://localhost:${executionHostPort}`, - ); + const client = new HttpBlobSinkClient({ + blobSinkUrl: `http://localhost:${blobSinkServer.port}`, + l1RpcUrl: `http://localhost:${executionHostPort}`, + }); const success = await client.sendBlobsToBlobSink('0x1234', [testBlob]); expect(success).toBe(true); @@ -150,11 +151,11 @@ describe('HttpBlobSinkClient', () => { await startExecutionHostServer(); await startConsensusHostServer(); - const client = new HttpBlobSinkClient( - `http://localhost:${blobSinkServer.port}`, - `http://localhost:${consensusHostPort}`, - `http://localhost:${executionHostPort}`, - ); + const client = new HttpBlobSinkClient({ + blobSinkUrl: `http://localhost:${blobSinkServer.port}`, + l1RpcUrl: `http://localhost:${executionHostPort}`, + l1ConsensusHostUrl: `http://localhost:${consensusHostPort}`, + }); const blob = Blob.fromFields([Fr.random()]); const success = await client.sendBlobsToBlobSink('0x1234', [blob]); diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index 2f51fd0e7e2e..a6fafdfb066b 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -1,30 +1,29 @@ import { Blob } from '@aztec/foundation/blob'; import { type Logger, createLogger } from '@aztec/foundation/log'; +import { BlobSinkConfig, getBlobSinkConfigFromEnv } from './config.js'; import { type BlobSinkClientInterface } from './interface.js'; export class HttpBlobSinkClient implements BlobSinkClientInterface { private readonly log: Logger; + private readonly config: BlobSinkConfig; - constructor( - private readonly blobSinkUrl: string, - private readonly consensusHostUrl?: string, - private readonly executionHostUrl?: string, - ) { + constructor(config?: BlobSinkConfig) { + this.config = config ?? getBlobSinkConfigFromEnv(); this.log = createLogger('aztec:blob-sink-client'); } public async sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise { // TODO(md): for now we are assuming the indexes of the blobs will be 0, 1, 2 // When in reality they will not, but for testing purposes this is fine - if (!this.blobSinkUrl) { + if (!this.config.blobSinkUrl) { this.log.verbose('No blob sink url configured'); return false; } this.log.verbose(`Sending ${blobs.length} blobs to blob sink`); try { - const res = await fetch(`${this.blobSinkUrl}/blob_sidecar`, { + const res = await fetch(`${this.config.blobSinkUrl}/blob_sidecar`, { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -59,14 +58,14 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { * @returns The blobs */ public async getBlobSidecar(blockHash: string, indices?: number[]): Promise { - if (!this.blobSinkUrl) { + if (!this.config.blobSinkUrl) { this.log.verbose('No blob sink url configured'); return []; } // If no slot number is found, we query with the block hash const blockHashOrSlot = (await this.getSlotNumber(blockHash)) ?? blockHash; - const hostUrl = this.consensusHostUrl ?? this.blobSinkUrl; + const hostUrl = this.config.l1ConsensusHostUrl ?? this.config.blobSinkUrl; try { let url = `${hostUrl}/eth/v1/beacon/blob_sidecars/${blockHashOrSlot}`; @@ -108,12 +107,12 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { * @returns The slot number */ private async getSlotNumber(blockHash: string): Promise { - if (!this.consensusHostUrl) { + if (!this.config.l1ConsensusHostUrl) { this.log.debug('No consensus host url configured'); return undefined; } - if (!this.executionHostUrl) { + if (!this.config.l1RpcUrl) { this.log.debug('No execution host url configured'); return undefined; } @@ -121,7 +120,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { // Ping execution node to get the parentBeaconBlockRoot for this block let parentBeaconBlockRoot: string | undefined; try { - const res = await fetch(`${this.executionHostUrl}`, { + const res = await fetch(`${this.config.l1RpcUrl}`, { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -149,7 +148,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { // Query beacon chain to get the slot number for that block root try { - const res = await fetch(`${this.consensusHostUrl}/eth/v1/beacon/headers/${blockHash}`); + const res = await fetch(`${this.config.l1ConsensusHostUrl}/eth/v1/beacon/headers/${blockHash}`); if (res.ok) { const body = await res.json(); diff --git a/yarn-project/blob-sink/src/client/index.ts b/yarn-project/blob-sink/src/client/index.ts index 30172c11e39d..b25b5fcd0f87 100644 --- a/yarn-project/blob-sink/src/client/index.ts +++ b/yarn-project/blob-sink/src/client/index.ts @@ -2,3 +2,4 @@ export * from './http.js'; export * from './local.js'; export * from './interface.js'; export * from './factory.js'; +export * from './config.js'; diff --git a/yarn-project/end-to-end/src/e2e_prover/e2e_prover_test.ts b/yarn-project/end-to-end/src/e2e_prover/e2e_prover_test.ts index 38fd15d980b8..45645ee64d97 100644 --- a/yarn-project/end-to-end/src/e2e_prover/e2e_prover_test.ts +++ b/yarn-project/end-to-end/src/e2e_prover/e2e_prover_test.ts @@ -168,7 +168,7 @@ export class FullProverTest { blobSink: this.blobSink, } = this.context); - const blobSinkClient = createBlobSinkClient(`http://localhost:${this.blobSink.port}`); + const blobSinkClient = createBlobSinkClient({ blobSinkUrl: `http://localhost:${this.blobSink.port}` }); // Configure a full prover PXE let acvmConfig: Awaited> | undefined; diff --git a/yarn-project/end-to-end/src/e2e_synching.test.ts b/yarn-project/end-to-end/src/e2e_synching.test.ts index f30ec1572414..46996ff4014a 100644 --- a/yarn-project/end-to-end/src/e2e_synching.test.ts +++ b/yarn-project/end-to-end/src/e2e_synching.test.ts @@ -62,6 +62,7 @@ import { createWorldStateSynchronizer } from '@aztec/world-state'; import * as fs from 'fs'; import { getContract } from 'viem'; +import { DEFAULT_BLOB_SINK_PORT } from './fixtures/fixtures.js'; import { addAccounts } from './fixtures/snapshot_manager.js'; import { mintTokensToPrivate } from './fixtures/token_utils.js'; import { type EndToEndContext, getPrivateKeyFromIndex, setup, setupPXEService } from './fixtures/utils.js'; @@ -382,7 +383,9 @@ describe('e2e_synching', () => { await (sequencer as any).stop(); await watcher?.stop(); - const blobSinkClient = createBlobSinkClient(`http://localhost:${blobSink?.port ?? 5052}`); + const blobSinkClient = createBlobSinkClient({ + blobSinkUrl: `http://localhost:${blobSink?.port ?? DEFAULT_BLOB_SINK_PORT}`, + }); const sequencerPK: `0x${string}` = `0x${getPrivateKeyFromIndex(0)!.toString('hex')}`; const publisher = new L1Publisher( @@ -500,7 +503,9 @@ describe('e2e_synching', () => { await aztecNode.stop(); } - const blobSinkClient = createBlobSinkClient(`http://localhost:${opts.blobSink?.port ?? 5052}`); + const blobSinkClient = createBlobSinkClient({ + blobSinkUrl: `http://localhost:${opts.blobSink?.port ?? DEFAULT_BLOB_SINK_PORT}`, + }); const archiver = await createArchiver(opts.config!, blobSinkClient, { blockUntilSync: true, }); diff --git a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts index 6dea0c732c2d..b2fcc69add96 100644 --- a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts +++ b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts @@ -20,7 +20,7 @@ describe('e2e_token_contract minting', () => { }); describe('Public', () => { - it.only('as minter', async () => { + it('as minter', async () => { const amount = 10000n; await asset.methods.mint_to_public(accounts[0].address, amount).send().wait(); @@ -31,34 +31,34 @@ describe('e2e_token_contract minting', () => { expect(await asset.methods.total_supply().simulate()).toEqual(tokenSim.totalSupply); }); - // describe('failure cases', () => { - // it('as non-minter', async () => { - // const amount = 10000n; - // await expect( - // asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), - // ).rejects.toThrow('Assertion failed: caller is not minter'); - // }); + describe('failure cases', () => { + it('as non-minter', async () => { + const amount = 10000n; + await expect( + asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), + ).rejects.toThrow('Assertion failed: caller is not minter'); + }); - // it('mint >u128 tokens to overflow', async () => { - // const amount = 2n ** 128n; // U128::max() + 1; - // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - // BITSIZE_TOO_BIG_ERROR, - // ); - // }); + it('mint >u128 tokens to overflow', async () => { + const amount = 2n ** 128n; // U128::max() + 1; + await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + BITSIZE_TOO_BIG_ERROR, + ); + }); - // it('mint u128', async () => { - // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - // U128_OVERFLOW_ERROR, - // ); - // }); + it('mint u128', async () => { + const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + U128_OVERFLOW_ERROR, + ); + }); - // it('mint u128', async () => { - // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - // await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( - // U128_OVERFLOW_ERROR, - // ); - // }); - // }); + it('mint u128', async () => { + const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( + U128_OVERFLOW_ERROR, + ); + }); + }); }); }); diff --git a/yarn-project/end-to-end/src/fixtures/fixtures.ts b/yarn-project/end-to-end/src/fixtures/fixtures.ts index 7fec6f90d397..48980db0e214 100644 --- a/yarn-project/end-to-end/src/fixtures/fixtures.ts +++ b/yarn-project/end-to-end/src/fixtures/fixtures.ts @@ -24,3 +24,5 @@ export const NO_L1_TO_L2_MSG_ERROR = export const STATIC_CALL_STATE_MODIFICATION_ERROR = /Static call cannot update the state, emit L2->L1 messages or generate logs.*/; export const STATIC_CONTEXT_ASSERTION_ERROR = /Assertion failed: Function .* can only be called statically.*/; + +export const DEFAULT_BLOB_SINK_PORT = '5052'; diff --git a/yarn-project/end-to-end/src/fixtures/utils.ts b/yarn-project/end-to-end/src/fixtures/utils.ts index aa85ef06c524..967c92bb73e7 100644 --- a/yarn-project/end-to-end/src/fixtures/utils.ts +++ b/yarn-project/end-to-end/src/fixtures/utils.ts @@ -471,7 +471,7 @@ export async function setup( const telemetry = getTelemetryClient(opts.telemetryConfig); - const blobSinkClient = createBlobSinkClient(config.blobSinkUrl); + const blobSinkClient = createBlobSinkClient(config); const publisher = new TestL1Publisher(config, { blobSinkClient }); const aztecNode = await AztecNodeService.createAndSync(config, { publisher, diff --git a/yarn-project/foundation/src/blob/index.ts b/yarn-project/foundation/src/blob/index.ts index 03297ec88373..3c69e132f68f 100644 --- a/yarn-project/foundation/src/blob/index.ts +++ b/yarn-project/foundation/src/blob/index.ts @@ -3,7 +3,6 @@ import type { Blob as BlobBuffer } from 'c-kzg'; import { poseidon2Hash, sha256 } from '../crypto/index.js'; import { Fr } from '../fields/index.js'; -import { createLogger } from '../log/index.js'; import { BufferReader, FieldReader, serializeToBuffer } from '../serialize/index.js'; // Importing directly from 'c-kzg' does not work, ignoring import/no-named-as-default-member err: @@ -64,31 +63,14 @@ export class Blob { } static fromBlobBuffer(blob: BlobBuffer, multiBlobFieldsHash?: Fr): Blob { - const log = createLogger('Creating Blob'); - const fields: Fr[] = deserializeBlobFieldsFromBuffer(blob); - log.info(`Fields length: ${fields.length}`); - log.info(`Fields: ${fields.map(f => f.toString()).join(', ')}`); const data = Buffer.concat([blob], BYTES_PER_BLOB); // This matches the output of SpongeBlob.squeeze() in the blob circuit const fieldsHash = multiBlobFieldsHash ? multiBlobFieldsHash : poseidon2Hash(fields); - log.info(`Multi blob fields hash: ${multiBlobFieldsHash?.toString()}`); - log.info(`Fields hash: ${fieldsHash.toString()}`); - const commitment = Buffer.from(blobToKzgCommitment(data)); - - log.info(`Commitment: ${commitment.toString('hex')}`); - const challengeZ = poseidon2Hash([fieldsHash, ...commitmentToFields(commitment)]); - - log.info(`Challenge Z: ${challengeZ.toString()}`); - const res = computeKzgProof(data, challengeZ.toBuffer()); - - log.info(`Proof: ${Buffer.from(res[0]).toString('hex')}`); - log.info(`Evaluation Y: ${Buffer.from(res[1]).toString('hex')}`); - if (!verifyKzgProof(commitment, challengeZ.toBuffer(), res[1], res[0])) { throw new Error(`KZG proof did not verify.`); } @@ -115,12 +97,6 @@ export class Blob { return deserializeBlobFieldsFromBuffer(this.data); } - // toPaddedFields(): Fr[] { - // const fields = this.toFields(); - // const paddedFields = [...fields, ...new Array(FIELD_ELEMENTS_PER_BLOB - fields.length).fill(Fr.ZERO)]; - // return paddedFields; - // } - // 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] commitmentToFields(): [Fr, Fr] { return commitmentToFields(this.commitment); @@ -222,11 +198,7 @@ export class Blob { // Returns as many blobs as we require to broadcast the given fields // Assumes we share the fields hash between all blobs static getBlobs(fields: Fr[]): Blob[] { - const log = createLogger('GET BLOBS'); const numBlobs = Math.max(Math.ceil(fields.length / FIELD_ELEMENTS_PER_BLOB), 1); - log.info(`num blobs: ${numBlobs}`); - log.info(`num blobs: ${numBlobs}`); - log.info(`num blobs: ${numBlobs}`); const multiBlobFieldsHash = poseidon2Hash(fields); const res = []; for (let i = 0; i < numBlobs; i++) { diff --git a/yarn-project/foundation/src/config/env_var.ts b/yarn-project/foundation/src/config/env_var.ts index 2fef4f1dcace..2a957544527d 100644 --- a/yarn-project/foundation/src/config/env_var.ts +++ b/yarn-project/foundation/src/config/env_var.ts @@ -52,7 +52,7 @@ export type EnvVar = | 'GOVERNANCE_PROPOSER_PAYLOAD_ADDRESS' | 'INBOX_CONTRACT_ADDRESS' | 'L1_CHAIN_ID' - | 'L1_CONSENSUS_CLIENT_URL' + | 'L1_CONSENSUS_HOST_URL' | 'L1_PRIVATE_KEY' | 'L2_QUEUE_SIZE' | 'LOG_ELAPSED_TIME' diff --git a/yarn-project/foundation/src/promise/running-promise.ts b/yarn-project/foundation/src/promise/running-promise.ts index 093f572d3717..8039863a639c 100644 --- a/yarn-project/foundation/src/promise/running-promise.ts +++ b/yarn-project/foundation/src/promise/running-promise.ts @@ -17,6 +17,7 @@ export class RunningPromise { private fn: () => void | Promise, private logger = createLogger('running-promise'), private pollingIntervalMS = 10000, + private ignoredErrors: (new (...args: any[]) => Error)[] = [], ) {} /** @@ -35,7 +36,9 @@ export class RunningPromise { try { await this.fn(); } catch (err) { - this.logger.error('Error in running promise', err); + if (err instanceof Error && !this.ignoredErrors.some(ErrorType => err instanceof ErrorType)) { + this.logger.error('Error in running promise', err); + } } // If an immediate run had been requested *before* the function started running, resolve the request. diff --git a/yarn-project/prover-node/src/factory.ts b/yarn-project/prover-node/src/factory.ts index c129933070d1..fca8b4027f5a 100644 --- a/yarn-project/prover-node/src/factory.ts +++ b/yarn-project/prover-node/src/factory.ts @@ -39,7 +39,7 @@ export async function createProverNode( } = {}, ) { const telemetry = deps.telemetry ?? getTelemetryClient(); - const blobSinkClient = deps.blobSinkClient ?? createBlobSinkClient(config.blobSinkUrl); + const blobSinkClient = deps.blobSinkClient ?? createBlobSinkClient(config); const log = deps.log ?? createLogger('prover-node'); const archiver = deps.archiver ?? (await createArchiver(config, blobSinkClient, { blockUntilSync: true }, telemetry)); log.verbose(`Created archiver and synced to block ${await archiver.getBlockNumber()}`); diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts index 45f5cc4c9229..df52c8648cb7 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts @@ -102,7 +102,7 @@ describe('L1Publisher', () => { beforeEach(() => { mockBlobSinkServer = undefined; - blobSinkClient = new HttpBlobSinkClient(BLOB_SINK_URL); + blobSinkClient = new HttpBlobSinkClient({ blobSinkUrl: BLOB_SINK_URL }); l2Block = L2Block.random(42); diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts index 6ffa88180da4..7c7c0f98ccd9 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts @@ -209,7 +209,7 @@ export class L1Publisher { this.ethereumSlotDuration = BigInt(config.ethereumSlotDuration); const telemetry = deps.telemetry ?? getTelemetryClient(); - this.blobSinkClient = deps.blobSinkClient ?? createBlobSinkClient(config.blobSinkUrl); + this.blobSinkClient = deps.blobSinkClient ?? createBlobSinkClient(config); this.metrics = new L1PublisherMetrics(telemetry, 'L1Publisher'); @@ -1175,11 +1175,6 @@ export class L1Publisher { * to calculate and will need to be mocked in e2e tests */ protected sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise { - blobs.forEach(b => { - this.log.verbose(`Blob: ${Buffer.from(b.data).toString('hex').slice(0, 100)}`); - this.log.verbose(`Blob commitment: ${Buffer.from(b.commitment).toString('hex')}`); - this.log.verbose(`Blob proof: ${Buffer.from(b.proof).toString('hex')}`); - }); return this.blobSinkClient.sendBlobsToBlobSink(blockHash, blobs); } } From 1878bf6c2b3c12780205dbdbf7122bcbd2700050 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:29:02 +0000 Subject: [PATCH 14/46] feat: encoded blobs --- .../src/client/blob-sink-client-tests.ts | 11 +- .../blob-sink/src/client/http.test.ts | 7 +- .../blob-sink/src/server/server.test.ts | 18 +- yarn-project/circuit-types/src/tx_effect.ts | 7 +- yarn-project/foundation/src/blob/blob.ts | 200 +++++++++++++++ yarn-project/foundation/src/blob/encoding.ts | 71 ++++++ yarn-project/foundation/src/blob/index.ts | 236 +----------------- yarn-project/foundation/src/blob/mocks.ts | 30 +++ .../foundation/src/serialize/field_reader.ts | 12 + 9 files changed, 332 insertions(+), 260 deletions(-) create mode 100644 yarn-project/foundation/src/blob/blob.ts create mode 100644 yarn-project/foundation/src/blob/encoding.ts create mode 100644 yarn-project/foundation/src/blob/mocks.ts diff --git a/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts b/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts index 3e77a5ffe6b8..32ab3cf078c3 100644 --- a/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts +++ b/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts @@ -1,4 +1,4 @@ -import { Blob } from '@aztec/foundation/blob'; +import { Blob, makeEncodedBlob } from '@aztec/foundation/blob'; import { Fr } from '@aztec/foundation/fields'; import { type BlobSinkClientInterface } from './interface.js'; @@ -25,8 +25,7 @@ export function runBlobSinkClientTests( }); it('should send and retrieve blobs', async () => { - const testFields = [Fr.random(), Fr.random(), Fr.random()]; - const blob = Blob.fromFields(testFields); + const blob = makeEncodedBlob(3); const blockId = '0x1234'; const success = await client.sendBlobsToBlobSink(blockId, [blob]); @@ -39,11 +38,7 @@ export function runBlobSinkClientTests( }); it('should handle multiple blobs', async () => { - const blobs = [ - Blob.fromFields([Fr.random(), Fr.random()]), - Blob.fromFields([Fr.random(), Fr.random()]), - Blob.fromFields([Fr.random(), Fr.random()]), - ]; + const blobs = [makeEncodedBlob(2), makeEncodedBlob(2), makeEncodedBlob(2)]; const blockId = '0x5678'; const success = await client.sendBlobsToBlobSink(blockId, blobs); diff --git a/yarn-project/blob-sink/src/client/http.test.ts b/yarn-project/blob-sink/src/client/http.test.ts index 4dbaaa126432..f652c7195356 100644 --- a/yarn-project/blob-sink/src/client/http.test.ts +++ b/yarn-project/blob-sink/src/client/http.test.ts @@ -1,4 +1,4 @@ -import { Blob } from '@aztec/foundation/blob'; +import { Blob, makeEncodedBlob } from '@aztec/foundation/blob'; import { Fr } from '@aztec/foundation/fields'; import { jest } from '@jest/globals'; @@ -53,7 +53,7 @@ describe('HttpBlobSinkClient', () => { const MOCK_SLOT_NUMBER = 1; beforeEach(() => { - testBlob = Blob.fromFields([Fr.random()]); + testBlob = makeEncodedBlob(3); }); const startExecutionHostServer = (): Promise => { @@ -156,9 +156,8 @@ describe('HttpBlobSinkClient', () => { l1RpcUrl: `http://localhost:${executionHostPort}`, l1ConsensusHostUrl: `http://localhost:${consensusHostPort}`, }); - const blob = Blob.fromFields([Fr.random()]); - const success = await client.sendBlobsToBlobSink('0x1234', [blob]); + const success = await client.sendBlobsToBlobSink('0x1234', [testBlob]); expect(success).toBe(true); const retrievedBlobs = await client.getBlobSidecar('0x1234'); diff --git a/yarn-project/blob-sink/src/server/server.test.ts b/yarn-project/blob-sink/src/server/server.test.ts index 7c405bf26297..cd87ed8d2bfc 100644 --- a/yarn-project/blob-sink/src/server/server.test.ts +++ b/yarn-project/blob-sink/src/server/server.test.ts @@ -1,4 +1,4 @@ -import { Blob } from '@aztec/foundation/blob'; +import { Blob, makeEncodedBlob } from '@aztec/foundation/blob'; import { Fr } from '@aztec/foundation/fields'; import request from 'supertest'; @@ -20,10 +20,8 @@ describe('BlobSinkService', () => { }); describe('should store and retrieve a blob sidecar', () => { - const testFields = [Fr.random(), Fr.random(), Fr.random()]; - const testFields2 = [Fr.random(), Fr.random(), Fr.random()]; - const blob = Blob.fromFields(testFields); - const blob2 = Blob.fromFields(testFields2); + const blob = makeEncodedBlob(3); + const blob2 = makeEncodedBlob(3); const blockId = '0x1234'; beforeEach(async () => { @@ -56,9 +54,9 @@ describe('BlobSinkService', () => { // Convert the response blob back to a Blob object and verify it matches const retrievedBlobs = getResponse.body.data; + const retrievedBlob = Blob.fromEncodedBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); + const retrievedBlob2 = Blob.fromEncodedBlobBuffer(Buffer.from(retrievedBlobs[1].blob.slice(2), 'hex')); - const retrievedBlob = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); - const retrievedBlob2 = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[1].blob.slice(2), 'hex')); expect(retrievedBlob.fieldsHash.toString()).toBe(blob.fieldsHash.toString()); expect(retrievedBlob.commitment.toString('hex')).toBe(blob.commitment.toString('hex')); expect(retrievedBlob.proof.toString('hex')).toBe(blob.proof.toString('hex')); @@ -78,8 +76,8 @@ describe('BlobSinkService', () => { expect(getWithIndicies.body.data.length).toBe(2); const retrievedBlobs = getWithIndicies.body.data; - const retrievedBlob = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); - const retrievedBlob2 = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[1].blob.slice(2), 'hex')); + const retrievedBlob = Blob.fromEncodedBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); + const retrievedBlob2 = Blob.fromEncodedBlobBuffer(Buffer.from(retrievedBlobs[1].blob.slice(2), 'hex')); expect(retrievedBlob.fieldsHash.toString()).toBe(blob.fieldsHash.toString()); expect(retrievedBlob.commitment.toString('hex')).toBe(blob.commitment.toString('hex')); expect(retrievedBlob.proof.toString('hex')).toBe(blob.proof.toString('hex')); @@ -96,7 +94,7 @@ describe('BlobSinkService', () => { expect(getWithIndicies.body.data.length).toBe(1); const retrievedBlobs = getWithIndicies.body.data; - const retrievedBlob = Blob.fromBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); + const retrievedBlob = Blob.fromEncodedBlobBuffer(Buffer.from(retrievedBlobs[0].blob.slice(2), 'hex')); expect(retrievedBlob.fieldsHash.toString()).toBe(blob2.fieldsHash.toString()); expect(retrievedBlob.commitment.toString('hex')).toBe(blob2.commitment.toString('hex')); expect(retrievedBlob.proof.toString('hex')).toBe(blob2.proof.toString('hex')); diff --git a/yarn-project/circuit-types/src/tx_effect.ts b/yarn-project/circuit-types/src/tx_effect.ts index a59959157364..5062663f36d4 100644 --- a/yarn-project/circuit-types/src/tx_effect.ts +++ b/yarn-project/circuit-types/src/tx_effect.ts @@ -17,11 +17,11 @@ import { REVERT_CODE_PREFIX, RevertCode, TX_FEE_PREFIX, - TX_START_PREFIX, UNENCRYPTED_LOGS_PREFIX, } from '@aztec/circuits.js'; import { type FieldsOf, makeTuple } from '@aztec/foundation/array'; import { toBufferBE } from '@aztec/foundation/bigint-buffer'; +import { TX_EFFECT_PREFIX_BYTE_LENGTH, TX_START_PREFIX, TX_START_PREFIX_BYTES_LENGTH } from '@aztec/foundation/blob'; import { padArrayEnd } from '@aztec/foundation/collection'; import { sha256Trunc } from '@aztec/foundation/crypto'; import { jsonStringify } from '@aztec/foundation/json-rpc'; @@ -42,11 +42,6 @@ import { TxHash } from './tx/tx_hash.js'; export { RevertCodeEnum } from '@aztec/circuits.js'; -// These are helper constants to decode tx effects from blob encoded fields -const TX_START_PREFIX_BYTES_LENGTH = TX_START_PREFIX.toString(16).length / 2; -// 7 bytes for: | 0 | txlen[0] | txlen[1] | 0 | REVERT_CODE_PREFIX | 0 | revertCode | -const TX_EFFECT_PREFIX_BYTE_LENGTH = TX_START_PREFIX_BYTES_LENGTH + 7; - export class TxEffect { constructor( /** diff --git a/yarn-project/foundation/src/blob/blob.ts b/yarn-project/foundation/src/blob/blob.ts new file mode 100644 index 000000000000..1e0453f84694 --- /dev/null +++ b/yarn-project/foundation/src/blob/blob.ts @@ -0,0 +1,200 @@ +// Importing directly from 'c-kzg' does not work, ignoring import/no-named-as-default-member err: +import cKzg from 'c-kzg'; +import type { Blob as BlobBuffer } from 'c-kzg'; + +import { poseidon2Hash, sha256 } from '../crypto/index.js'; +import { Fr } from '../fields/index.js'; +import { BufferReader, serializeToBuffer } from '../serialize/index.js'; +import { deserializeEncodedBlobFields } from './encoding.js'; + +/* eslint-disable import/no-named-as-default-member */ +const { BYTES_PER_BLOB, FIELD_ELEMENTS_PER_BLOB, blobToKzgCommitment, computeKzgProof, verifyKzgProof } = cKzg; + +// The prefix to the EVM blobHash, defined here: https://eips.ethereum.org/EIPS/eip-4844#specification +export const VERSIONED_HASH_VERSION_KZG = 0x01; + +/** + * A class to create, manage, and prove EVM blobs. + */ +export class Blob { + constructor( + /** The blob to be broadcast on L1 in bytes form. */ + public readonly data: BlobBuffer, + /** The hash of all tx effects inside the blob. Used in generating the challenge z and proving that we have included all required effects. */ + public readonly fieldsHash: Fr, + /** Challenge point z (= H(H(tx_effects), kzgCommmitment). Used such that p(z) = y. */ + public readonly challengeZ: Fr, + /** Evaluation y = p(z), where p() is the blob polynomial. BLS12 field element, rep. as BigNum in nr, bigint in ts. */ + public readonly evaluationY: Buffer, + /** Commitment to the blob C. Used in compressed BLS12 point format (48 bytes). */ + public readonly commitment: Buffer, + /** KZG opening proof for y = p(z). The commitment to quotient polynomial Q, used in compressed BLS12 point format (48 bytes). */ + public readonly proof: Buffer, + ) {} + + static fromEncodedBlobBuffer(blob: BlobBuffer, multiBlobFieldsHash?: Fr): Blob { + const fields: Fr[] = deserializeEncodedBlobFields(blob); + return Blob.fromFields(fields, multiBlobFieldsHash); + } + + static fromFields(fields: Fr[], multiBlobFieldsHash?: Fr): Blob { + if (fields.length > FIELD_ELEMENTS_PER_BLOB) { + throw new Error( + `Attempted to overfill blob with ${fields.length} elements. The maximum is ${FIELD_ELEMENTS_PER_BLOB}`, + ); + } + + const data = Buffer.concat([serializeToBuffer(fields)], BYTES_PER_BLOB); + + // This matches the output of SpongeBlob.squeeze() in the blob circuit + const fieldsHash = multiBlobFieldsHash ? multiBlobFieldsHash : poseidon2Hash(fields); + const commitment = Buffer.from(blobToKzgCommitment(data)); + const challengeZ = poseidon2Hash([fieldsHash, ...commitmentToFields(commitment)]); + const res = computeKzgProof(data, challengeZ.toBuffer()); + if (!verifyKzgProof(commitment, challengeZ.toBuffer(), res[1], res[0])) { + throw new Error(`KZG proof did not verify.`); + } + const proof = Buffer.from(res[0]); + const evaluationY = Buffer.from(res[1]); + + return new Blob(data, fieldsHash, challengeZ, evaluationY, commitment, proof); + } + + // TODO: add unit test + static fromJson(json: { blob: string; kzg_commitment: string; kzg_proof: string }): Blob { + const blobBuffer = Buffer.from(json.blob.slice(2), 'hex'); + + const blob = Blob.fromEncodedBlobBuffer(blobBuffer); + + if (blob.commitment.toString('hex') !== json.kzg_commitment.slice(2)) { + throw new Error('KZG commitment does not match'); + } + + return blob; + } + + // TODO: think if naming should change for encoded / non encoded blob payloads + toFields(): Fr[] { + return deserializeEncodedBlobFields(this.data); + } + + toEncodedFields(): Fr[] { + return deserializeEncodedBlobFields(this.data); + } + + // 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] + commitmentToFields(): [Fr, Fr] { + return commitmentToFields(this.commitment); + } + + // Returns ethereum's versioned blob hash, following kzg_to_versioned_hash: https://eips.ethereum.org/EIPS/eip-4844#helpers + getEthVersionedBlobHash(): Buffer { + const hash = sha256(this.commitment); + hash[0] = VERSIONED_HASH_VERSION_KZG; + return hash; + } + + static getEthVersionedBlobHash(commitment: Buffer): Buffer { + const hash = sha256(commitment); + hash[0] = VERSIONED_HASH_VERSION_KZG; + return hash; + } + + toBuffer(): Buffer { + return Buffer.from( + serializeToBuffer( + this.data.length, + this.data, + this.fieldsHash, + this.challengeZ, + this.evaluationY.length, + this.evaluationY, + this.commitment.length, + this.commitment, + this.proof.length, + this.proof, + ), + ); + } + + static fromBuffer(buf: Buffer | BufferReader): Blob { + const reader = BufferReader.asReader(buf); + return new Blob( + reader.readUint8Array(), + reader.readObject(Fr), + reader.readObject(Fr), + reader.readBuffer(), + reader.readBuffer(), + reader.readBuffer(), + ); + } + + /** + * Get the size of the blob in bytes + */ + getSize() { + return this.data.length; + } + + // Returns a proof of opening of the blob to verify on L1 using the point evaluation precompile: + // * input[:32] - versioned_hash + // * input[32:64] - z + // * input[64:96] - y + // * input[96:144] - commitment C + // * input[144:192] - proof (a commitment to the quotient polynomial q(X)) + // See https://eips.ethereum.org/EIPS/eip-4844#point-evaluation-precompile + getEthBlobEvaluationInputs(): `0x${string}` { + const buf = Buffer.concat([ + this.getEthVersionedBlobHash(), + this.challengeZ.toBuffer(), + this.evaluationY, + this.commitment, + this.proof, + ]); + return `0x${buf.toString('hex')}`; + } + + static getEthBlobEvaluationInputs(blobs: Blob[]): `0x${string}` { + let buf = Buffer.alloc(0); + blobs.forEach(blob => { + buf = Buffer.concat([ + buf, + blob.getEthVersionedBlobHash(), + blob.challengeZ.toBuffer(), + blob.evaluationY, + blob.commitment, + blob.proof, + ]); + }); + // For multiple blobs, we prefix the number of blobs: + const lenBuf = Buffer.alloc(1); + lenBuf.writeUint8(blobs.length); + buf = Buffer.concat([lenBuf, buf]); + return `0x${buf.toString('hex')}`; + } + + static getViemKzgInstance() { + return { + blobToKzgCommitment: cKzg.blobToKzgCommitment, + computeBlobKzgProof: cKzg.computeBlobKzgProof, + }; + } + + // Returns as many blobs as we require to broadcast the given fields + // Assumes we share the fields hash between all blobs + static getBlobs(fields: Fr[]): Blob[] { + const numBlobs = Math.max(Math.ceil(fields.length / FIELD_ELEMENTS_PER_BLOB), 1); + const multiBlobFieldsHash = poseidon2Hash(fields); + const res = []; + for (let i = 0; i < numBlobs; i++) { + const end = fields.length < (i + 1) * FIELD_ELEMENTS_PER_BLOB ? fields.length : (i + 1) * FIELD_ELEMENTS_PER_BLOB; + res.push(Blob.fromFields(fields.slice(i * FIELD_ELEMENTS_PER_BLOB, end), multiBlobFieldsHash)); + } + return res; + } +} + +// 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] +function commitmentToFields(commitment: Buffer): [Fr, Fr] { + return [new Fr(commitment.subarray(0, 31)), new Fr(commitment.subarray(31, 48))]; +} diff --git a/yarn-project/foundation/src/blob/encoding.ts b/yarn-project/foundation/src/blob/encoding.ts new file mode 100644 index 000000000000..0b3ea0ad7629 --- /dev/null +++ b/yarn-project/foundation/src/blob/encoding.ts @@ -0,0 +1,71 @@ +import { Fr } from '@aztec/foundation/fields'; +import { BufferReader, FieldReader } from '@aztec/foundation/serialize'; + +import type { Blob as BlobBuffer } from 'c-kzg'; + +export const TX_START_PREFIX = 8392562855083340404n; +// These are helper constants to decode tx effects from blob encoded fields +export const TX_START_PREFIX_BYTES_LENGTH = TX_START_PREFIX.toString(16).length / 2; +// 7 bytes for: | 0 | txlen[0] | txlen[1] | 0 | REVERT_CODE_PREFIX | 0 | revertCode | +export const TX_EFFECT_PREFIX_BYTE_LENGTH = TX_START_PREFIX_BYTES_LENGTH + 7; + +/** + * Deserializes a blob buffer into an array of field elements. + * + * Blobs are converted into BN254 fields to perform a poseidon2 hash on them (fieldHash). + * This method is sparse, meaning it does not include trailing zeros at the end of the blob. + * + * However, we cannot simply trim the zero's from the end of the blob, as some logs may include zero's + * within them. + * If we end on a set of zeros, such as the log below: + * length 7: [ a, b, c, d, e, 0, 0] + * + * we will end up with the incorrect hash if we trim the zeros from the end. + * + * Each transactions logs contains a TX start prefix, which includes a string followed + * by the length ( in field elements ) of the transaction's log. + * + * This function finds the end of the last transaction's logs, and returns the array up to this point. + * + * We search for a series of Tx Prefixes progressing the cursor in the field reader until we hit + * a field that is not a Tx Prefix, this indicates that we have reached the end of the last transaction's logs. + * + * +------------------+------------------+------------------+------------------+ + * | TX1 Start Prefix | TX1 Log Fields | TX2 Start Prefix | Padded zeros | + * | [3 a,b,c] | [3, a, b, c] | [4 d,e,f,g] | [0, 0, 0, .., 0] | + * +------------------+------------------+------------------+------------------+ + * ^ + * | + * Function reads until here -------------------------------- + * + * @param blob - The blob buffer to deserialize. + * @returns An array of field elements. + */ +export function deserializeEncodedBlobFields(blob: BlobBuffer): Fr[] { + // Convert blob buffer to array of field elements + const reader = BufferReader.asReader(blob); + const array = reader.readArray(blob.length >> 5, Fr); // >> 5 = / 32 (bytes per field) + const fieldReader = FieldReader.asReader(array); + + // Read fields until we hit zeros at the end + while (!fieldReader.isFinished()) { + const currentField = fieldReader.peekField(); + + // Stop when we hit a zero field + if (currentField.isZero()) { + break; + } + + // Skip the remaining fields in this transaction + const len = getLengthFromFirstField(currentField); + fieldReader.skip(len); + } + + // Return array up to last non-zero field + return array.slice(0, fieldReader.cursor); +} + +export function getLengthFromFirstField(firstField: Fr): number { + const buf = firstField.toBuffer().subarray(-TX_EFFECT_PREFIX_BYTE_LENGTH); + return new Fr(buf.subarray(TX_START_PREFIX_BYTES_LENGTH + 1, TX_START_PREFIX_BYTES_LENGTH + 3)).toNumber(); +} diff --git a/yarn-project/foundation/src/blob/index.ts b/yarn-project/foundation/src/blob/index.ts index 3c69e132f68f..3212df659a97 100644 --- a/yarn-project/foundation/src/blob/index.ts +++ b/yarn-project/foundation/src/blob/index.ts @@ -1,21 +1,11 @@ import cKzg from 'c-kzg'; -import type { Blob as BlobBuffer } from 'c-kzg'; -import { poseidon2Hash, sha256 } from '../crypto/index.js'; -import { Fr } from '../fields/index.js'; -import { BufferReader, FieldReader, serializeToBuffer } from '../serialize/index.js'; - -// Importing directly from 'c-kzg' does not work, ignoring import/no-named-as-default-member err: /* eslint-disable import/no-named-as-default-member */ +const { loadTrustedSetup } = cKzg; -const { - BYTES_PER_BLOB, - FIELD_ELEMENTS_PER_BLOB, - blobToKzgCommitment, - computeKzgProof, - loadTrustedSetup, - verifyKzgProof, -} = cKzg; +export * from './blob.js'; +export * from './mocks.js'; +export * from './encoding.js'; try { loadTrustedSetup(); @@ -28,221 +18,3 @@ try { throw new Error(error); } } - -// The prefix to the EVM blobHash, defined here: https://eips.ethereum.org/EIPS/eip-4844#specification -export const VERSIONED_HASH_VERSION_KZG = 0x01; - -/** - * A class to create, manage, and prove EVM blobs. - */ -export class Blob { - constructor( - /** The blob to be broadcast on L1 in bytes form. */ - public readonly data: BlobBuffer, - /** The hash of all tx effects inside the blob. Used in generating the challenge z and proving that we have included all required effects. */ - public readonly fieldsHash: Fr, - /** Challenge point z (= H(H(tx_effects), kzgCommmitment). Used such that p(z) = y. */ - public readonly challengeZ: Fr, - /** Evaluation y = p(z), where p() is the blob polynomial. BLS12 field element, rep. as BigNum in nr, bigint in ts. */ - public readonly evaluationY: Buffer, - /** Commitment to the blob C. Used in compressed BLS12 point format (48 bytes). */ - public readonly commitment: Buffer, - /** KZG opening proof for y = p(z). The commitment to quotient polynomial Q, used in compressed BLS12 point format (48 bytes). */ - public readonly proof: Buffer, - ) {} - - static fromFields(fields: Fr[], multiBlobFieldsHash?: Fr): Blob { - if (fields.length > FIELD_ELEMENTS_PER_BLOB) { - throw new Error( - `Attempted to overfill blob with ${fields.length} elements. The maximum is ${FIELD_ELEMENTS_PER_BLOB}`, - ); - } - - const dataWithoutZeros = serializeToBuffer(fields); - return Blob.fromBlobBuffer(dataWithoutZeros, multiBlobFieldsHash); - } - - static fromBlobBuffer(blob: BlobBuffer, multiBlobFieldsHash?: Fr): Blob { - const fields: Fr[] = deserializeBlobFieldsFromBuffer(blob); - const data = Buffer.concat([blob], BYTES_PER_BLOB); - - // This matches the output of SpongeBlob.squeeze() in the blob circuit - const fieldsHash = multiBlobFieldsHash ? multiBlobFieldsHash : poseidon2Hash(fields); - const commitment = Buffer.from(blobToKzgCommitment(data)); - const challengeZ = poseidon2Hash([fieldsHash, ...commitmentToFields(commitment)]); - const res = computeKzgProof(data, challengeZ.toBuffer()); - if (!verifyKzgProof(commitment, challengeZ.toBuffer(), res[1], res[0])) { - throw new Error(`KZG proof did not verify.`); - } - const proof = Buffer.from(res[0]); - const evaluationY = Buffer.from(res[1]); - - return new Blob(data, fieldsHash, challengeZ, evaluationY, commitment, proof); - } - - // TODO: add unit test - static fromJson(json: { blob: string; kzg_commitment: string; kzg_proof: string }): Blob { - const blobBuffer = Buffer.from(json.blob.slice(2), 'hex'); - - const blob = Blob.fromBlobBuffer(blobBuffer); - - if (blob.commitment.toString('hex') !== json.kzg_commitment.slice(2)) { - throw new Error('KZG commitment does not match'); - } - - return blob; - } - - toFields(): Fr[] { - return deserializeBlobFieldsFromBuffer(this.data); - } - - // 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] - commitmentToFields(): [Fr, Fr] { - return commitmentToFields(this.commitment); - } - - // Returns ethereum's versioned blob hash, following kzg_to_versioned_hash: https://eips.ethereum.org/EIPS/eip-4844#helpers - getEthVersionedBlobHash(): Buffer { - const hash = sha256(this.commitment); - hash[0] = VERSIONED_HASH_VERSION_KZG; - return hash; - } - - static getEthVersionedBlobHash(commitment: Buffer): Buffer { - const hash = sha256(commitment); - hash[0] = VERSIONED_HASH_VERSION_KZG; - return hash; - } - - toBuffer(): Buffer { - return Buffer.from( - serializeToBuffer( - this.data.length, - this.data, - this.fieldsHash, - this.challengeZ, - this.evaluationY.length, - this.evaluationY, - this.commitment.length, - this.commitment, - this.proof.length, - this.proof, - ), - ); - } - - static fromBuffer(buf: Buffer | BufferReader): Blob { - const reader = BufferReader.asReader(buf); - return new Blob( - reader.readUint8Array(), - reader.readObject(Fr), - reader.readObject(Fr), - reader.readBuffer(), - reader.readBuffer(), - reader.readBuffer(), - ); - } - - /** - * Get the size of the blob in bytes - */ - getSize() { - return this.data.length; - } - - // Returns a proof of opening of the blob to verify on L1 using the point evaluation precompile: - // * input[:32] - versioned_hash - // * input[32:64] - z - // * input[64:96] - y - // * input[96:144] - commitment C - // * input[144:192] - proof (a commitment to the quotient polynomial q(X)) - // See https://eips.ethereum.org/EIPS/eip-4844#point-evaluation-precompile - getEthBlobEvaluationInputs(): `0x${string}` { - const buf = Buffer.concat([ - this.getEthVersionedBlobHash(), - this.challengeZ.toBuffer(), - this.evaluationY, - this.commitment, - this.proof, - ]); - return `0x${buf.toString('hex')}`; - } - - static getEthBlobEvaluationInputs(blobs: Blob[]): `0x${string}` { - let buf = Buffer.alloc(0); - blobs.forEach(blob => { - buf = Buffer.concat([ - buf, - blob.getEthVersionedBlobHash(), - blob.challengeZ.toBuffer(), - blob.evaluationY, - blob.commitment, - blob.proof, - ]); - }); - // For multiple blobs, we prefix the number of blobs: - const lenBuf = Buffer.alloc(1); - lenBuf.writeUint8(blobs.length); - buf = Buffer.concat([lenBuf, buf]); - return `0x${buf.toString('hex')}`; - } - - static getViemKzgInstance() { - return { - blobToKzgCommitment: cKzg.blobToKzgCommitment, - computeBlobKzgProof: cKzg.computeBlobKzgProof, - }; - } - - // Returns as many blobs as we require to broadcast the given fields - // Assumes we share the fields hash between all blobs - static getBlobs(fields: Fr[]): Blob[] { - const numBlobs = Math.max(Math.ceil(fields.length / FIELD_ELEMENTS_PER_BLOB), 1); - const multiBlobFieldsHash = poseidon2Hash(fields); - const res = []; - for (let i = 0; i < numBlobs; i++) { - const end = fields.length < (i + 1) * FIELD_ELEMENTS_PER_BLOB ? fields.length : (i + 1) * FIELD_ELEMENTS_PER_BLOB; - res.push(Blob.fromFields(fields.slice(i * FIELD_ELEMENTS_PER_BLOB, end), multiBlobFieldsHash)); - } - return res; - } -} - -// 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] -function commitmentToFields(commitment: Buffer): [Fr, Fr] { - return [new Fr(commitment.subarray(0, 31)), new Fr(commitment.subarray(31, 48))]; -} - -const TX_START_PREFIX = 8392562855083340404n; -const TX_START_PREFIX_BYTES_LENGTH = TX_START_PREFIX.toString(16).length / 2; -const TX_EFFECT_PREFIX_BYTE_LENGTH = TX_START_PREFIX_BYTES_LENGTH + 7; - -function getLengthFromFirstField(firstField: Fr): number { - const buf = firstField.toBuffer().subarray(-TX_EFFECT_PREFIX_BYTE_LENGTH); - return new Fr(buf.subarray(TX_START_PREFIX_BYTES_LENGTH + 1, TX_START_PREFIX_BYTES_LENGTH + 3)).toNumber(); -} - -function deserializeBlobFieldsFromBuffer(blob: BlobBuffer): Fr[] { - const reader = BufferReader.asReader(blob); - // >> 5 = / 32 - const array = reader.readArray(blob.length >> 5, Fr); - const fieldReader = FieldReader.asReader(array); - - // Trim the zeros from the end - // TODO: optimise - - // tODO: tidy up - let currentField = fieldReader.readField(); - let len = getLengthFromFirstField(currentField); - fieldReader.skip(len - 1); - - while (!fieldReader.isFinished() && currentField && !currentField.isZero()) { - currentField = fieldReader.readField(); - len = getLengthFromFirstField(currentField); - fieldReader.skip(len - 1); - } - - // Do not return the end zeros - return array.slice(0, fieldReader.cursor); -} diff --git a/yarn-project/foundation/src/blob/mocks.ts b/yarn-project/foundation/src/blob/mocks.ts new file mode 100644 index 000000000000..fd7890eebd90 --- /dev/null +++ b/yarn-project/foundation/src/blob/mocks.ts @@ -0,0 +1,30 @@ +import { toBufferBE } from '@aztec/foundation/bigint-buffer'; +import { Fr } from '@aztec/foundation/fields'; + +import { Blob } from './blob.js'; +import { TX_START_PREFIX, TX_START_PREFIX_BYTES_LENGTH } from './encoding.js'; + +// TODO: copied form circuit-types tx effect +function encodeFirstField(length: number): Fr { + const lengthBuf = Buffer.alloc(2); + lengthBuf.writeUInt16BE(length, 0); + return new Fr( + Buffer.concat([ + toBufferBE(TX_START_PREFIX, TX_START_PREFIX_BYTES_LENGTH), + Buffer.alloc(1), + lengthBuf, + Buffer.alloc(1), + Buffer.from([1]), + Buffer.alloc(1), + Buffer.alloc(1), + ]), + ); +} + +export function makeEncodedBlob(length: number): Blob { + return Blob.fromFields([encodeFirstField(length + 1), ...Array.from({ length: length }, () => Fr.random())]); +} + +export function makeEncodedBlobFields(fields: Fr[]): Blob { + return Blob.fromFields([encodeFirstField(fields.length + 1), ...fields]); +} diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index 71b97baf0c30..b161c6db0fef 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -54,6 +54,18 @@ export class FieldReader { return this.fields[this.index++]; } + /** + * Peeks at the next field without advancing the cursor. + * + * @returns A field. + */ + public peekField(): Fr { + if (this.index === this.length) { + throw new Error('Not enough fields to be consumed.'); + } + return this.fields[this.index]; + } + /** * Reads a Fq from the array. * From 57801b3942997114c18fbd6e7371542fdfe42b5a Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:51:43 +0000 Subject: [PATCH 15/46] fix: external host --- spartan/aztec-network/templates/_helpers.tpl | 4 ++-- spartan/aztec-network/values/exp-2.yaml | 5 ++++- spartan/aztec-network/values/prover-node-with-agents.yaml | 5 ++++- .../values/sepolia-3-validators-with-metrics.yaml | 5 ++++- .../values/sepolia-48-validators-with-metrics.yaml | 5 ++++- 5 files changed, 18 insertions(+), 6 deletions(-) diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index de32317a0de1..519cd01b1c95 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -146,9 +146,9 @@ Service Address Setup Container - name: ETHEREUM_PORT value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_ETHEREUM_CONSENSUS_HOST - value: "{{ .Values.ethereum.consensus.externalHost }}" + value: "{{ .Values.ethereum.beacon.externalHost }}" - name: EXTERNAL_ETHEREUM_CONSENSUS_PORT - value: "{{ .Values.ethereum.consensus.service.port }}" + value: "{{ .Values.ethereum.beacon.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST value: "{{ .Values.bootNode.externalHost }}" - name: BOOT_NODE_PORT diff --git a/spartan/aztec-network/values/exp-2.yaml b/spartan/aztec-network/values/exp-2.yaml index ef39aace4d9d..3819ade90f93 100644 --- a/spartan/aztec-network/values/exp-2.yaml +++ b/spartan/aztec-network/values/exp-2.yaml @@ -6,7 +6,10 @@ network: public: false ethereum: - externalHost: + execution: + externalHost: + beacon: + externalHost: chainId: "11155111" validator: diff --git a/spartan/aztec-network/values/prover-node-with-agents.yaml b/spartan/aztec-network/values/prover-node-with-agents.yaml index 2f1e14543251..189c8f679605 100644 --- a/spartan/aztec-network/values/prover-node-with-agents.yaml +++ b/spartan/aztec-network/values/prover-node-with-agents.yaml @@ -33,4 +33,7 @@ jobs: ethereum: external: true - externalHost: "" + execution: + externalHost: "" + beacon: + externalHost: "" diff --git a/spartan/aztec-network/values/sepolia-3-validators-with-metrics.yaml b/spartan/aztec-network/values/sepolia-3-validators-with-metrics.yaml index ef39aace4d9d..3819ade90f93 100644 --- a/spartan/aztec-network/values/sepolia-3-validators-with-metrics.yaml +++ b/spartan/aztec-network/values/sepolia-3-validators-with-metrics.yaml @@ -6,7 +6,10 @@ network: public: false ethereum: - externalHost: + execution: + externalHost: + beacon: + externalHost: chainId: "11155111" validator: diff --git a/spartan/aztec-network/values/sepolia-48-validators-with-metrics.yaml b/spartan/aztec-network/values/sepolia-48-validators-with-metrics.yaml index 089abbd9f745..5a0c950648fb 100644 --- a/spartan/aztec-network/values/sepolia-48-validators-with-metrics.yaml +++ b/spartan/aztec-network/values/sepolia-48-validators-with-metrics.yaml @@ -6,7 +6,10 @@ network: public: false ethereum: - externalHost: + execution: + externalHost: + beacon: + externalHost: chainId: "11155111" deployL1ContractsPrivateKey: From 02ef9859a6117ba0a0b9b3a16f315032afc3c3cb Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:08:27 +0000 Subject: [PATCH 16/46] fix: archiver tests, document blobs --- .../archiver/src/archiver/archiver.test.ts | 18 +++ .../src/client/blob-sink-client-tests.ts | 3 +- yarn-project/blob-sink/src/client/config.ts | 2 +- yarn-project/blob-sink/src/client/factory.ts | 2 +- yarn-project/blob-sink/src/client/http.ts | 9 +- .../blob-sink/src/server/server.test.ts | 1 - .../blob-sink/src/types/blob_with_index.ts | 13 +- yarn-project/foundation/src/blob/blob.test.ts | 9 +- yarn-project/foundation/src/blob/blob.ts | 118 ++++++++++++++++-- yarn-project/foundation/src/blob/encoding.ts | 29 ++++- yarn-project/foundation/src/blob/index.ts | 1 + yarn-project/foundation/src/blob/interface.ts | 11 ++ 12 files changed, 180 insertions(+), 36 deletions(-) create mode 100644 yarn-project/foundation/src/blob/interface.ts diff --git a/yarn-project/archiver/src/archiver/archiver.test.ts b/yarn-project/archiver/src/archiver/archiver.test.ts index 03d24c096a2e..8d20a90ee496 100644 --- a/yarn-project/archiver/src/archiver/archiver.test.ts +++ b/yarn-project/archiver/src/archiver/archiver.test.ts @@ -168,6 +168,8 @@ describe('Archiver', () => { inboxRead.totalMessagesInserted.mockResolvedValueOnce(2n).mockResolvedValueOnce(6n); + blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); + makeMessageSentEvent(98n, 1n, 0n); makeMessageSentEvent(99n, 1n, 1n); makeL2BlockProposedEvent(101n, 1n, blocks[0].archive.root.toString()); @@ -265,6 +267,7 @@ describe('Archiver', () => { makeL2BlockProposedEvent(90n, 3n, badArchive); rollupTxs.forEach(tx => publicClient.getTransaction.mockResolvedValueOnce(tx)); + blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); await archiver.start(false); @@ -303,6 +306,7 @@ describe('Archiver', () => { makeL2BlockProposedEvent(80n, 2n, blocks[1].archive.root.toString()); rollupTxs.forEach(tx => publicClient.getTransaction.mockResolvedValueOnce(tx)); + blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); await archiver.start(false); @@ -351,6 +355,7 @@ describe('Archiver', () => { makeL2BlockProposedEvent(80n, 2n, blocks[1].archive.root.toString()); rollupTxs.forEach(tx => publicClient.getTransaction.mockResolvedValueOnce(tx)); + blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); await archiver.start(false); @@ -397,6 +402,7 @@ describe('Archiver', () => { rollupRead.status.mockResolvedValueOnce([0n, GENESIS_ROOT, 1n, l2Block.archive.root.toString(), GENESIS_ROOT]); makeL2BlockProposedEvent(l1BlockForL2Block, 1n, l2Block.archive.root.toString()); rollupTxs.forEach(tx => publicClient.getTransaction.mockResolvedValueOnce(tx)); + blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); await archiver.start(false); @@ -427,7 +433,9 @@ describe('Archiver', () => { publicClient.getBlockNumber.mockResolvedValueOnce(l1BlockForL2Block); rollupRead.status.mockResolvedValueOnce([0n, GENESIS_ROOT, 1n, l2Block.archive.root.toString(), GENESIS_ROOT]); makeL2BlockProposedEvent(l1BlockForL2Block, 1n, l2Block.archive.root.toString()); + rollupTxs.forEach(tx => publicClient.getTransaction.mockResolvedValueOnce(tx)); + blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); await archiver.start(false); @@ -530,3 +538,13 @@ function makeRollupTx(l2Block: L2Block) { }); return { input } as Transaction; } + +/** + * Blob response to be returned from the blob sink based on the expected block. + * @param block - The block. + * @returns The blob. + */ +function makeBlobFromBlock(block: L2Block) { + const blob = block.body.toBlobFields(); + return Blob.fromFields(blob); +} diff --git a/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts b/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts index 32ab3cf078c3..bea94533769d 100644 --- a/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts +++ b/yarn-project/blob-sink/src/client/blob-sink-client-tests.ts @@ -1,5 +1,4 @@ -import { Blob, makeEncodedBlob } from '@aztec/foundation/blob'; -import { Fr } from '@aztec/foundation/fields'; +import { makeEncodedBlob } from '@aztec/foundation/blob'; import { type BlobSinkClientInterface } from './interface.js'; diff --git a/yarn-project/blob-sink/src/client/config.ts b/yarn-project/blob-sink/src/client/config.ts index 6d280ce1a153..2b51a4a34b74 100644 --- a/yarn-project/blob-sink/src/client/config.ts +++ b/yarn-project/blob-sink/src/client/config.ts @@ -1,4 +1,4 @@ -import { ConfigMappingsType, getConfigFromMappings } from '@aztec/foundation/config'; +import { type ConfigMappingsType, getConfigFromMappings } from '@aztec/foundation/config'; /** * The configuration for the blob sink client diff --git a/yarn-project/blob-sink/src/client/factory.ts b/yarn-project/blob-sink/src/client/factory.ts index 450aa5cb69ee..ff56d6118f98 100644 --- a/yarn-project/blob-sink/src/client/factory.ts +++ b/yarn-project/blob-sink/src/client/factory.ts @@ -1,5 +1,5 @@ import { MemoryBlobStore } from '../blobstore/memory_blob_store.js'; -import { BlobSinkConfig } from './config.js'; +import { type BlobSinkConfig } from './config.js'; import { HttpBlobSinkClient } from './http.js'; import { type BlobSinkClientInterface } from './interface.js'; import { LocalBlobSinkClient } from './local.js'; diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index a6fafdfb066b..c18b197f8270 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -1,7 +1,7 @@ -import { Blob } from '@aztec/foundation/blob'; +import { Blob, type BlobJson } from '@aztec/foundation/blob'; import { type Logger, createLogger } from '@aztec/foundation/log'; -import { BlobSinkConfig, getBlobSinkConfigFromEnv } from './config.js'; +import { type BlobSinkConfig, getBlobSinkConfigFromEnv } from './config.js'; import { type BlobSinkClientInterface } from './interface.js'; export class HttpBlobSinkClient implements BlobSinkClientInterface { @@ -77,10 +77,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { if (res.ok) { const body = await res.json(); - // TODO: sort by index??? - const blobs = body.data.map((b: { blob: string; index: number; kzg_commitment: string; kzg_proof: string }) => - Blob.fromJson(b), - ); + const blobs = body.data.map((b: BlobJson) => Blob.fromJson(b)); return blobs; } diff --git a/yarn-project/blob-sink/src/server/server.test.ts b/yarn-project/blob-sink/src/server/server.test.ts index cd87ed8d2bfc..163938b02950 100644 --- a/yarn-project/blob-sink/src/server/server.test.ts +++ b/yarn-project/blob-sink/src/server/server.test.ts @@ -1,5 +1,4 @@ import { Blob, makeEncodedBlob } from '@aztec/foundation/blob'; -import { Fr } from '@aztec/foundation/fields'; import request from 'supertest'; diff --git a/yarn-project/blob-sink/src/types/blob_with_index.ts b/yarn-project/blob-sink/src/types/blob_with_index.ts index 9e210e3ea912..e3a217be528e 100644 --- a/yarn-project/blob-sink/src/types/blob_with_index.ts +++ b/yarn-project/blob-sink/src/types/blob_with_index.ts @@ -1,4 +1,4 @@ -import { Blob } from '@aztec/foundation/blob'; +import { Blob, type BlobJson } from '@aztec/foundation/blob'; import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; /** Serialized an array of blobs with their indexes to be stored at a given block id */ @@ -38,14 +38,7 @@ export class BlobWithIndex { } // Follows the structure the beacon node api expects - public toJSON(): { blob: string; index: number; kzg_commitment: string; kzg_proof: string } { - return { - blob: `0x${Buffer.from(this.blob.data).toString('hex')}`, - index: this.index, - // eslint-disable-next-line camelcase - kzg_commitment: `0x${this.blob.commitment.toString('hex')}`, - // eslint-disable-next-line camelcase - kzg_proof: `0x${this.blob.proof.toString('hex')}`, - }; + public toJSON(): BlobJson { + return this.blob.toJson(this.index); } } diff --git a/yarn-project/foundation/src/blob/blob.test.ts b/yarn-project/foundation/src/blob/blob.test.ts index da4caa8fc74c..c730277e355d 100644 --- a/yarn-project/foundation/src/blob/blob.test.ts +++ b/yarn-project/foundation/src/blob/blob.test.ts @@ -3,7 +3,7 @@ import type { Blob as BlobBuffer, Bytes48, KZGProof } from 'c-kzg'; import { poseidon2Hash } from '../crypto/index.js'; import { Fr } from '../fields/index.js'; -import { Blob } from './index.js'; +import { Blob, makeEncodedBlob } from './index.js'; // Importing directly from 'c-kzg' does not work, ignoring import/no-named-as-default-member err: /* eslint-disable import/no-named-as-default-member */ @@ -144,4 +144,11 @@ describe('blob', () => { const deserialisedBlob = Blob.fromBuffer(blobBuffer); expect(blob.fieldsHash.equals(deserialisedBlob.fieldsHash)).toBe(true); }); + + it('Should create a blob from a JSON object', () => { + const blob = makeEncodedBlob(3); + const blobJson = blob.toJson(); + const deserialisedBlob = Blob.fromJson(blobJson); + expect(blob.fieldsHash.equals(deserialisedBlob.fieldsHash)).toBe(true); + }); }); diff --git a/yarn-project/foundation/src/blob/blob.ts b/yarn-project/foundation/src/blob/blob.ts index 1e0453f84694..c19ff743804c 100644 --- a/yarn-project/foundation/src/blob/blob.ts +++ b/yarn-project/foundation/src/blob/blob.ts @@ -5,7 +5,8 @@ import type { Blob as BlobBuffer } from 'c-kzg'; import { poseidon2Hash, sha256 } from '../crypto/index.js'; import { Fr } from '../fields/index.js'; import { BufferReader, serializeToBuffer } from '../serialize/index.js'; -import { deserializeEncodedBlobFields } from './encoding.js'; +import { deserializeEncodedBlobFields, extractBlobFieldsFromBuffer } from './encoding.js'; +import { type BlobJson } from './interface.js'; /* eslint-disable import/no-named-as-default-member */ const { BYTES_PER_BLOB, FIELD_ELEMENTS_PER_BLOB, blobToKzgCommitment, computeKzgProof, verifyKzgProof } = cKzg; @@ -32,11 +33,29 @@ export class Blob { public readonly proof: Buffer, ) {} + /** + * The encoded version of the blob will determine the end of the blob based on the transaction encoding. + * This is required when the fieldsHash of a blob will contain trailing zeros. + * + * See `./encoding.ts` for more details. + * + * This method is used to create a Blob from a buffer. + * @param blob - The buffer to create the Blob from. + * @param multiBlobFieldsHash - The fields hash to use for the Blob. + * @returns A Blob created from the buffer. + */ static fromEncodedBlobBuffer(blob: BlobBuffer, multiBlobFieldsHash?: Fr): Blob { const fields: Fr[] = deserializeEncodedBlobFields(blob); return Blob.fromFields(fields, multiBlobFieldsHash); } + /** + * Create a Blob from an array of fields. + * + * @param fields - The array of fields to create the Blob from. + * @param multiBlobFieldsHash - The fields hash to use for the Blob. + * @returns A Blob created from the array of fields. + */ static fromFields(fields: Fr[], multiBlobFieldsHash?: Fr): Blob { if (fields.length > FIELD_ELEMENTS_PER_BLOB) { throw new Error( @@ -60,8 +79,19 @@ export class Blob { return new Blob(data, fieldsHash, challengeZ, evaluationY, commitment, proof); } - // TODO: add unit test - static fromJson(json: { blob: string; kzg_commitment: string; kzg_proof: string }): Blob { + /** + * Create a Blob from a JSON object. + * + * Blobs will be in this form when requested from the blob sink, or from + * the beacon chain via `getBlobSidecars` + * https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Beacon/getBlobSidecars + * + * @dev WARNING: by default json deals with encoded buffers + * + * @param json - The JSON object to create the Blob from. + * @returns A Blob created from the JSON object. + */ + static fromJson(json: BlobJson): Blob { const blobBuffer = Buffer.from(json.blob.slice(2), 'hex'); const blob = Blob.fromEncodedBlobBuffer(blobBuffer); @@ -70,19 +100,62 @@ export class Blob { throw new Error('KZG commitment does not match'); } + // We do not check the proof, as it will be different if the challenge is shared + // across multiple blobs + return blob; } - // TODO: think if naming should change for encoded / non encoded blob payloads + /** + * Get the JSON representation of the blob. + * + * @dev WARNING: by default json deals with encoded buffers + * @param index - optional - The index of the blob in the block. + * @returns The JSON representation of the blob. + */ + toJson(index?: number): BlobJson { + return { + blob: `0x${Buffer.from(this.data).toString('hex')}`, + index, + kzg_commitment: `0x${this.commitment.toString('hex')}`, + kzg_proof: `0x${this.proof.toString('hex')}`, + }; + } + + /** + * Get the fields from the blob. + * + * @dev WARNING: this method does not take into account trailing zeros + * + * @returns The fields from the blob. + */ toFields(): Fr[] { - return deserializeEncodedBlobFields(this.data); + return extractBlobFieldsFromBuffer(this.data); } + /** + * Get the encoded fields from the blob. + * + * @dev This method takes into account trailing zeros + * + * @returns The encoded fields from the blob. + */ toEncodedFields(): Fr[] { return deserializeEncodedBlobFields(this.data); } - // 48 bytes encoded in fields as [Fr, Fr] = [0->31, 31->48] + /** + * Get the commitment fields from the blob. + * + * The 48-byte commitment is encoded into two field elements: + * +------------------+------------------+ + * | Field Element 1 | Field Element 2 | + * | [bytes 0-31] | [bytes 32-47] | + * +------------------+------------------+ + * | 32 bytes | 16 bytes | + * +------------------+------------------+ + * @returns The commitment fields from the blob. + */ commitmentToFields(): [Fr, Fr] { return commitmentToFields(this.commitment); } @@ -100,6 +173,13 @@ export class Blob { return hash; } + /** + * Get the buffer representation of the ENTIRE blob. + * + * @dev WARNING: this buffer contains all metadata aswell as the data itself + * + * @returns The buffer representation of the blob. + */ toBuffer(): Buffer { return Buffer.from( serializeToBuffer( @@ -117,6 +197,14 @@ export class Blob { ); } + /** + * Create a Blob from a buffer. + * + * @dev WARNING: this method contains all metadata aswell as the data itself + * + * @param buf - The buffer to create the Blob from. + * @returns A Blob created from the buffer. + */ static fromBuffer(buf: Buffer | BufferReader): Blob { const reader = BufferReader.asReader(buf); return new Blob( @@ -136,13 +224,17 @@ export class Blob { return this.data.length; } - // Returns a proof of opening of the blob to verify on L1 using the point evaluation precompile: - // * input[:32] - versioned_hash - // * input[32:64] - z - // * input[64:96] - y - // * input[96:144] - commitment C - // * input[144:192] - proof (a commitment to the quotient polynomial q(X)) - // See https://eips.ethereum.org/EIPS/eip-4844#point-evaluation-precompile + /** + * Returns a proof of opening of the blob to verify on L1 using the point evaluation precompile: + * + * input[:32] - versioned_hash + * input[32:64] - z + * input[64:96] - y + * input[96:144] - commitment C + * input[144:192] - proof (a commitment to the quotient polynomial q(X)) + * + * See https://eips.ethereum.org/EIPS/eip-4844#point-evaluation-precompile + */ getEthBlobEvaluationInputs(): `0x${string}` { const buf = Buffer.concat([ this.getEthVersionedBlobHash(), diff --git a/yarn-project/foundation/src/blob/encoding.ts b/yarn-project/foundation/src/blob/encoding.ts index 0b3ea0ad7629..6ea080500d5a 100644 --- a/yarn-project/foundation/src/blob/encoding.ts +++ b/yarn-project/foundation/src/blob/encoding.ts @@ -3,6 +3,7 @@ import { BufferReader, FieldReader } from '@aztec/foundation/serialize'; import type { Blob as BlobBuffer } from 'c-kzg'; +// This will appear as 0x74785f7374617274 in logs export const TX_START_PREFIX = 8392562855083340404n; // These are helper constants to decode tx effects from blob encoded fields export const TX_START_PREFIX_BYTES_LENGTH = TX_START_PREFIX.toString(16).length / 2; @@ -32,7 +33,7 @@ export const TX_EFFECT_PREFIX_BYTE_LENGTH = TX_START_PREFIX_BYTES_LENGTH + 7; * * +------------------+------------------+------------------+------------------+ * | TX1 Start Prefix | TX1 Log Fields | TX2 Start Prefix | Padded zeros | - * | [3 a,b,c] | [3, a, b, c] | [4 d,e,f,g] | [0, 0, 0, .., 0] | + * | [3 a,b,c] | [3, a, b, c] | [5 d,e,f,0,0] | [0, 0, 0, .., 0] | * +------------------+------------------+------------------+------------------+ * ^ * | @@ -69,3 +70,29 @@ export function getLengthFromFirstField(firstField: Fr): number { const buf = firstField.toBuffer().subarray(-TX_EFFECT_PREFIX_BYTE_LENGTH); return new Fr(buf.subarray(TX_START_PREFIX_BYTES_LENGTH + 1, TX_START_PREFIX_BYTES_LENGTH + 3)).toNumber(); } + +/** + * Extract the fields from a blob buffer, but do not take into account encoding + * that will include trailing zeros. + * + * +------------------+------------------+------------------+------------------+ + * | | | | Padded zeros | + * | [3 a,b,c] | [3, a, b, c] | [5 d,e,f,0,0] | [0, 0, 0, .., 0] | + * +------------------+------------------+------------------+------------------+ + * ^ + * | + * Function reads until here ---------------------- + */ +export function extractBlobFieldsFromBuffer(blob: BlobBuffer): Fr[] { + const reader = BufferReader.asReader(blob); + const array = reader.readArray(blob.length >> 5, Fr); + + // Find the index of the last non-zero field + let lastNonZeroIndex = array.length - 1; + while (lastNonZeroIndex >= 0 && array[lastNonZeroIndex].isZero()) { + lastNonZeroIndex--; + } + + // Return the trimmed array + return array.slice(0, lastNonZeroIndex + 1); +} diff --git a/yarn-project/foundation/src/blob/index.ts b/yarn-project/foundation/src/blob/index.ts index 3212df659a97..3a9c91ea1f7d 100644 --- a/yarn-project/foundation/src/blob/index.ts +++ b/yarn-project/foundation/src/blob/index.ts @@ -6,6 +6,7 @@ const { loadTrustedSetup } = cKzg; export * from './blob.js'; export * from './mocks.js'; export * from './encoding.js'; +export * from './interface.js'; try { loadTrustedSetup(); diff --git a/yarn-project/foundation/src/blob/interface.ts b/yarn-project/foundation/src/blob/interface.ts new file mode 100644 index 000000000000..61864793a64c --- /dev/null +++ b/yarn-project/foundation/src/blob/interface.ts @@ -0,0 +1,11 @@ +/** + * The relevant parts of a response from https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Beacon/getBlobSidecars + */ +export interface BlobJson { + blob: string; + index?: number; + // eslint-disable-next-line camelcase + kzg_commitment: string; + // eslint-disable-next-line camelcase + kzg_proof: string; +} From e0600665fbe1aff13874ebb77d3d2605fb8e99e9 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:41:12 +0000 Subject: [PATCH 17/46] feat: native testnet --- scripts/run_native_testnet.sh | 3 ++- yarn-project/blob-sink/src/server/config.ts | 27 ++++++++++++++++++- yarn-project/blob-sink/src/server/run.ts | 26 ++++++++++++++++++ .../scripts/native-network/blob-sink.sh | 11 ++++++++ .../scripts/native-network/boot-node.sh | 1 + .../scripts/native-network/prover-node.sh | 1 + .../scripts/native-network/validator.sh | 1 + yarn-project/foundation/src/blob/blob.ts | 2 ++ yarn-project/foundation/src/config/env_var.ts | 1 + 9 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 yarn-project/blob-sink/src/server/run.ts create mode 100755 yarn-project/end-to-end/scripts/native-network/blob-sink.sh diff --git a/scripts/run_native_testnet.sh b/scripts/run_native_testnet.sh index 4cf6d83900a1..2e6bc2c433ba 100755 --- a/scripts/run_native_testnet.sh +++ b/scripts/run_native_testnet.sh @@ -128,7 +128,8 @@ BASE_CMD="INTERLEAVED=$INTERLEAVED ./yarn-project/end-to-end/scripts/native_netw \"./validators.sh $NUM_VALIDATORS\" \ $PROVER_SCRIPT \ ./pxe.sh \ - ./transaction-bot.sh" + ./transaction-bot.sh \ + ./blob-sink.sh" # Execute the command eval $BASE_CMD diff --git a/yarn-project/blob-sink/src/server/config.ts b/yarn-project/blob-sink/src/server/config.ts index e18311f9f1d2..253cc297a095 100644 --- a/yarn-project/blob-sink/src/server/config.ts +++ b/yarn-project/blob-sink/src/server/config.ts @@ -1,7 +1,32 @@ -import { type DataStoreConfig } from '@aztec/kv-store/config'; +import { type ConfigMappingsType, getConfigFromMappings } from '@aztec/foundation/config'; +import { type DataStoreConfig, dataConfigMappings } from '@aztec/kv-store/config'; export interface BlobSinkConfig { port?: number; dataStoreConfig?: DataStoreConfig; otelMetricsCollectorUrl?: string; } + +export const blobSinkConfigMappings: ConfigMappingsType = { + port: { + env: 'BLOB_SINK_PORT', + description: 'The port to run the blob sink server on', + }, + dataStoreConfig: { + ...dataConfigMappings, + description: 'The configuration for the data store', + }, + otelMetricsCollectorUrl: { + env: 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT', + description: 'The URL of the OTLP metrics collector', + }, +}; + +/** + * Returns the blob sink configuration from the environment variables. + * Note: If an environment variable is not set, the default value is used. + * @returns The blob sink configuration. + */ +export function getBlobSinkConfigFromEnv(): BlobSinkConfig { + return getConfigFromMappings(blobSinkConfigMappings); +} diff --git a/yarn-project/blob-sink/src/server/run.ts b/yarn-project/blob-sink/src/server/run.ts new file mode 100644 index 000000000000..3c0239d5c9c4 --- /dev/null +++ b/yarn-project/blob-sink/src/server/run.ts @@ -0,0 +1,26 @@ +// Run a standalone blob sink server +import { createLogger } from '@aztec/foundation/log'; + +import { getBlobSinkConfigFromEnv } from './config.js'; +import { createBlobSinkServer } from './factory.js'; + +const logger = createLogger('aztec:blob-sink'); + +async function main() { + const config = getBlobSinkConfigFromEnv(); + + const blobSinkServer = await createBlobSinkServer(config); + + await blobSinkServer.start(); + + const stop = async () => { + logger.debug('Stopping Blob Sink...'); + await blobSinkServer.stop(); + logger.info('Node stopped'); + process.exit(0); + }; + process.on('SIGTERM', stop); + process.on('SIGINT', stop); +} + +void main(); diff --git a/yarn-project/end-to-end/scripts/native-network/blob-sink.sh b/yarn-project/end-to-end/scripts/native-network/blob-sink.sh new file mode 100755 index 000000000000..08ca158b5323 --- /dev/null +++ b/yarn-project/end-to-end/scripts/native-network/blob-sink.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -eu + +REPO=$(git rev-parse --show-toplevel) + +# Starts the Blob Sink +export PORT=${BLOB_SINK_PORT:-5052} +export DEBUG=${DEBUG:-"aztec:*"} +export DEBUG_COLORS=${DEBUG_COLORS:-1} + +node --no-warnings "$REPO"/yarn-project/blob-sink/dest/server/run.js \ No newline at end of file diff --git a/yarn-project/end-to-end/scripts/native-network/boot-node.sh b/yarn-project/end-to-end/scripts/native-network/boot-node.sh index b70d0bc1ea43..dc688fc73fb4 100755 --- a/yarn-project/end-to-end/scripts/native-network/boot-node.sh +++ b/yarn-project/end-to-end/scripts/native-network/boot-node.sh @@ -16,6 +16,7 @@ export LOG_LEVEL=${LOG_LEVEL:-"verbose"} export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} export P2P_ENABLED="true" export VALIDATOR_DISABLED="true" +export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5052}" export SEQ_MAX_SECONDS_BETWEEN_BLOCKS="0" export SEQ_MIN_TX_PER_BLOCK="1" export P2P_TCP_ANNOUNCE_ADDR="127.0.0.1:40400" diff --git a/yarn-project/end-to-end/scripts/native-network/prover-node.sh b/yarn-project/end-to-end/scripts/native-network/prover-node.sh index 08a4c748855f..8bd3dbd58117 100755 --- a/yarn-project/end-to-end/scripts/native-network/prover-node.sh +++ b/yarn-project/end-to-end/scripts/native-network/prover-node.sh @@ -39,6 +39,7 @@ export PROVER_AGENT_COUNT="1" export PROVER_AGENT_ENABLED="true" export PROVER_PUBLISHER_PRIVATE_KEY=${PROVER_PUBLISHER_PRIVATE_KEY:-"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"} export PROVER_COORDINATION_NODE_URL="http://127.0.0.1:8080" +export PROVER_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5052}" export AZTEC_NODE_URL="http://127.0.0.1:8080" export OTEL_RESOURCE_ATTRIBUTES="service.name=prover-node-${PORT}" export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-}" diff --git a/yarn-project/end-to-end/scripts/native-network/validator.sh b/yarn-project/end-to-end/scripts/native-network/validator.sh index f2b7a7ee5a50..5b65e31f241a 100755 --- a/yarn-project/end-to-end/scripts/native-network/validator.sh +++ b/yarn-project/end-to-end/scripts/native-network/validator.sh @@ -68,6 +68,7 @@ export P2P_TCP_ANNOUNCE_ADDR="127.0.0.1:$P2P_PORT" export P2P_UDP_ANNOUNCE_ADDR="127.0.0.1:$P2P_PORT" export P2P_TCP_LISTEN_ADDR="0.0.0.0:$P2P_PORT" export P2P_UDP_LISTEN_ADDR="0.0.0.0:$P2P_PORT" +export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5052}" export OTEL_RESOURCE_ATTRIBUTES="service.name=validator-node-${PORT}" export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-}" export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-}" diff --git a/yarn-project/foundation/src/blob/blob.ts b/yarn-project/foundation/src/blob/blob.ts index c19ff743804c..36446de4602e 100644 --- a/yarn-project/foundation/src/blob/blob.ts +++ b/yarn-project/foundation/src/blob/blob.ts @@ -117,7 +117,9 @@ export class Blob { return { blob: `0x${Buffer.from(this.data).toString('hex')}`, index, + // eslint-disable-next-line camelcase kzg_commitment: `0x${this.commitment.toString('hex')}`, + // eslint-disable-next-line camelcase kzg_proof: `0x${this.proof.toString('hex')}`, }; } diff --git a/yarn-project/foundation/src/config/env_var.ts b/yarn-project/foundation/src/config/env_var.ts index 2a957544527d..f578688fb123 100644 --- a/yarn-project/foundation/src/config/env_var.ts +++ b/yarn-project/foundation/src/config/env_var.ts @@ -16,6 +16,7 @@ export type EnvVar = | 'BB_SKIP_CLEANUP' | 'BB_WORKING_DIRECTORY' | 'BOOTSTRAP_NODES' + | 'BLOB_SINK_PORT' | 'BOT_DA_GAS_LIMIT' | 'BOT_FEE_PAYMENT_METHOD' | 'BOT_FLUSH_SETUP_TRANSACTIONS' From d5331b016fd9384c205ca479b158feccf9d364cc Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:45:28 +0000 Subject: [PATCH 18/46] fix: running promise test --- .../src/promise/running-promise.test.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/yarn-project/foundation/src/promise/running-promise.test.ts b/yarn-project/foundation/src/promise/running-promise.test.ts index f3ebe10d9730..06bcb2c1418d 100644 --- a/yarn-project/foundation/src/promise/running-promise.test.ts +++ b/yarn-project/foundation/src/promise/running-promise.test.ts @@ -54,5 +54,23 @@ describe('RunningPromise', () => { await sleep(90); expect(counter).toEqual(1); }); + + class IgnoredError extends Error { + constructor() { + super('ignored'); + this.name = 'IgnoredError'; + } + } + + it('handles ignored errors', async () => { + const failingFn = async () => { + await fn(); + throw new IgnoredError(); + }; + runningPromise = new RunningPromise(failingFn, logger, 50, [IgnoredError]); + runningPromise.start(); + await sleep(90); + expect(counter).toEqual(0); + }); }); }); From d03b3e04d0c1a527b3638a3ebbbf16f47b561661 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:48:34 +0000 Subject: [PATCH 19/46] fix: field reader tests --- .../src/serialize/field_reader.test.ts | 24 +++++++++++++++++++ .../foundation/src/serialize/field_reader.ts | 15 +++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/yarn-project/foundation/src/serialize/field_reader.test.ts b/yarn-project/foundation/src/serialize/field_reader.test.ts index 7a242bae1b05..575429a97d5a 100644 --- a/yarn-project/foundation/src/serialize/field_reader.test.ts +++ b/yarn-project/foundation/src/serialize/field_reader.test.ts @@ -28,6 +28,30 @@ describe('field reader', () => { }); }); + describe('cursor', () => { + it('should return the current cursor position', () => { + expect(reader.cursor).toBe(0); + reader.readField(); + expect(reader.cursor).toBe(1); + }); + + it('should not progress when peeking', () => { + reader.peekField(); + expect(reader.cursor).toBe(0); + }); + }); + + describe('skip', () => { + it('should skip n fields', () => { + reader.skip(2); + expect(reader.readField()).toEqual(new Fr(23)); + }); + + it('should throw if skipping more fields than in the reader', () => { + expect(() => reader.skip(FIELDS.length + 1)).toThrow('Not enough fields to be consumed.'); + }); + }); + describe('readFq', () => { it('should get Fq from buffer', () => { expect(reader.readFq()).toEqual(Fq.fromHighLow(new Fr(0), new Fr(1))); diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index b161c6db0fef..ae59406dcad5 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -34,11 +34,24 @@ export class FieldReader { return new FieldReader(fields); } + /** + * Skips the next n fields. + * + * @param n - The number of fields to skip. + */ public skip(n: number) { + if (this.index + n > this.length) { + throw new Error('Not enough fields to be consumed.'); + } this.index += n; } - get cursor() { + /** + * Returns the current cursor position. + * + * @returns The current cursor position. + */ + public get cursor() { return this.index; } From 1ecd034c1999c342268f5ee2e69270323b3c075b Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:49:10 +0000 Subject: [PATCH 20/46] fix: enncoding --- yarn-project/archiver/src/archiver/data_retrieval.ts | 2 +- yarn-project/aztec/src/cli/aztec_start_options.ts | 10 ++++++++++ yarn-project/foundation/src/blob/encoding.ts | 2 +- yarn-project/foundation/src/serialize/field_reader.ts | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index 60f8df5f86f1..3401d57f0f9d 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -172,7 +172,7 @@ async function getBlockFromRollupTx( throw new NoBlobBodiesFoundError(Number(l2BlockNum)); } - const blockFields = blobBodies.flatMap(b => b.toFields()); + const blockFields = blobBodies.flatMap(b => b.toEncodedFields()); const header = BlockHeader.fromBuffer(Buffer.from(hexToBytes(decodedArgs.header))); // TODO(#9101): Retreiving the block body from calldata is a temporary soln before we have diff --git a/yarn-project/aztec/src/cli/aztec_start_options.ts b/yarn-project/aztec/src/cli/aztec_start_options.ts index b9e2c2992c0e..58844c613735 100644 --- a/yarn-project/aztec/src/cli/aztec_start_options.ts +++ b/yarn-project/aztec/src/cli/aztec_start_options.ts @@ -1,6 +1,7 @@ import { type ArchiverConfig, archiverConfigMappings } from '@aztec/archiver/config'; import { faucetConfigMapping } from '@aztec/aztec-faucet/config'; import { sequencerClientConfigMappings } from '@aztec/aztec-node/config'; +import { blobSinkConfigMapping } from '@aztec/blob-sink/client'; import { botConfigMappings } from '@aztec/bot/config'; import { type ConfigMapping, @@ -257,6 +258,15 @@ export const aztecStartOptions: { [key: string]: AztecStartOption[] } = { }, ...getOptions('sequencer', sequencerClientConfigMappings), ], + BLOB_SINK: [ + { + flag: '--blob-sink', + description: 'Starts Aztec Blob Sink with options', + defaultValue: undefined, + envVar: undefined, + }, + ...getOptions('blobSink', blobSinkConfigMapping), + ], 'PROVER NODE': [ { flag: '--prover-node', diff --git a/yarn-project/foundation/src/blob/encoding.ts b/yarn-project/foundation/src/blob/encoding.ts index 6ea080500d5a..f568274dd202 100644 --- a/yarn-project/foundation/src/blob/encoding.ts +++ b/yarn-project/foundation/src/blob/encoding.ts @@ -53,7 +53,7 @@ export function deserializeEncodedBlobFields(blob: BlobBuffer): Fr[] { const currentField = fieldReader.peekField(); // Stop when we hit a zero field - if (currentField.isZero()) { + if (!currentField || currentField.isZero()) { break; } diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index ae59406dcad5..b9c593615a53 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -179,6 +179,6 @@ export class FieldReader { * @returns A bool. */ public isFinished(): boolean { - return this.index === this.length; + return this.index >= this.length; } } From 47cb894a3e5a2c441d9ba37a127be9e643bf3ca0 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:37:19 +0000 Subject: [PATCH 21/46] fix: test --- .../archiver/src/archiver/archiver.ts | 1 - .../archiver/src/archiver/data_retrieval.ts | 4 ++-- yarn-project/blob-sink/package.json | 4 +++- yarn-project/blob-sink/src/client/http.ts | 6 ++++-- yarn-project/blob-sink/src/encoding/index.ts | 21 +++++++++++++++++++ .../blob-sink/src/server/server.test.ts | 5 +++-- yarn-project/blob-sink/src/server/server.ts | 18 +++++++++++++++- yarn-project/end-to-end/src/fixtures/utils.ts | 2 +- .../src/promise/running-promise.test.ts | 12 ++++++++--- .../src/publisher/l1-publisher.test.ts | 3 ++- .../src/publisher/l1-publisher.ts | 10 ++++----- yarn-project/yarn.lock | 1 + 12 files changed, 68 insertions(+), 19 deletions(-) create mode 100644 yarn-project/blob-sink/src/encoding/index.ts diff --git a/yarn-project/archiver/src/archiver/archiver.ts b/yarn-project/archiver/src/archiver/archiver.ts index 860a299e731f..00182b58db33 100644 --- a/yarn-project/archiver/src/archiver/archiver.ts +++ b/yarn-project/archiver/src/archiver/archiver.ts @@ -201,7 +201,6 @@ export class Archiver implements ArchiveSource, Traceable { } this.runningPromise = new RunningPromise(() => this.sync(false), this.log, this.config.pollingIntervalMs, [ - // TODO(md): Instead do retries in the blob sink rather than this hack? // Ignored errors will not log to the console // We ignore NoBlobBodiesFound as the message may not have been passed to the blob sink yet NoBlobBodiesFoundError, diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index 3401d57f0f9d..ca193b17de14 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -167,14 +167,14 @@ async function getBlockFromRollupTx( Hex, ]; + const header = BlockHeader.fromBuffer(Buffer.from(hexToBytes(decodedArgs.header))); + const blobBodies = await blobSinkClient.getBlobSidecar(blockHash); if (blobBodies.length === 0) { throw new NoBlobBodiesFoundError(Number(l2BlockNum)); } const blockFields = blobBodies.flatMap(b => b.toEncodedFields()); - - const header = BlockHeader.fromBuffer(Buffer.from(hexToBytes(decodedArgs.header))); // TODO(#9101): Retreiving the block body from calldata is a temporary soln before we have // either a beacon chain client or link to some blob store. Web2 is ok because we will // verify the block body vs the blob as below. diff --git a/yarn-project/blob-sink/package.json b/yarn-project/blob-sink/package.json index daa2c07ca27a..e5d0bf982478 100644 --- a/yarn-project/blob-sink/package.json +++ b/yarn-project/blob-sink/package.json @@ -4,7 +4,8 @@ "type": "module", "exports": { "./server": "./dest/server/index.js", - "./client": "./dest/client/index.js" + "./client": "./dest/client/index.js", + "./encoding": "./dest/encoding/index.js" }, "inherits": [ "../package.common.json" @@ -56,6 +57,7 @@ "@aztec/kv-store": "workspace:*", "@aztec/telemetry-client": "workspace:*", "express": "^4.21.1", + "snappy": "^7.2.2", "source-map-support": "^0.5.21", "tslib": "^2.4.0", "zod": "^3.23.8" diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index c18b197f8270..1ae89da65b94 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -1,6 +1,7 @@ import { Blob, type BlobJson } from '@aztec/foundation/blob'; import { type Logger, createLogger } from '@aztec/foundation/log'; +import { outboundTransform } from '../encoding/index.js'; import { type BlobSinkConfig, getBlobSinkConfigFromEnv } from './config.js'; import { type BlobSinkClientInterface } from './interface.js'; @@ -31,7 +32,8 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { body: JSON.stringify({ // eslint-disable-next-line camelcase block_id: blockHash, - blobs: blobs.map((b, i) => ({ blob: b.toBuffer(), index: i })), + // Snappy compress the blob buffer + blobs: blobs.map((b, i) => ({ blob: outboundTransform(b.toBuffer()), index: i })), }), }); @@ -81,7 +83,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { return blobs; } - this.log.warn(`Unable to get blob sidecar`, res.status); + this.log.debug(`Unable to get blob sidecar`, res.status); return []; } catch (err: any) { this.log.error(`Unable to get blob sidecar`, err.message); diff --git a/yarn-project/blob-sink/src/encoding/index.ts b/yarn-project/blob-sink/src/encoding/index.ts new file mode 100644 index 000000000000..d41989c8f352 --- /dev/null +++ b/yarn-project/blob-sink/src/encoding/index.ts @@ -0,0 +1,21 @@ +import { compressSync, uncompressSync } from 'snappy'; + +/** + * Snappy decompress the blob buffer + * + * @param data - The blob buffer + * @returns The decompressed blob buffer + */ +export function inboundTransform(data: Buffer): Buffer { + return Buffer.from(uncompressSync(data, { asBuffer: true })); +} + +/** + * Snappy compress the blob buffer + * + * @param data - The blob buffer + * @returns The compressed blob buffer + */ +export function outboundTransform(data: Buffer): Buffer { + return Buffer.from(compressSync(data)); +} diff --git a/yarn-project/blob-sink/src/server/server.test.ts b/yarn-project/blob-sink/src/server/server.test.ts index 163938b02950..8b1329c86b7c 100644 --- a/yarn-project/blob-sink/src/server/server.test.ts +++ b/yarn-project/blob-sink/src/server/server.test.ts @@ -2,6 +2,7 @@ import { Blob, makeEncodedBlob } from '@aztec/foundation/blob'; import request from 'supertest'; +import { outboundTransform } from '../encoding/index.js'; import { BlobSinkServer } from './server.js'; describe('BlobSinkService', () => { @@ -33,11 +34,11 @@ describe('BlobSinkService', () => { blobs: [ { index: 0, - blob: blob.toBuffer(), + blob: outboundTransform(blob.toBuffer()), }, { index: 1, - blob: blob2.toBuffer(), + blob: outboundTransform(blob2.toBuffer()), }, ], }); diff --git a/yarn-project/blob-sink/src/server/server.ts b/yarn-project/blob-sink/src/server/server.ts index d6637a435af6..a4fe4177afd1 100644 --- a/yarn-project/blob-sink/src/server/server.ts +++ b/yarn-project/blob-sink/src/server/server.ts @@ -10,6 +10,7 @@ import { z } from 'zod'; import { type BlobStore, DiskBlobStore } from '../blobstore/index.js'; import { MemoryBlobStore } from '../blobstore/memory_blob_store.js'; +import { inboundTransform } from '../encoding/index.js'; import { type PostBlobSidecarRequest, blockIdSchema, indicesSchema } from '../types/api.js'; import { BlobWithIndex } from '../types/index.js'; import { type BlobSinkConfig } from './config.js'; @@ -150,8 +151,23 @@ export class BlobSinkServer { } } + /** + * Parse the blob data + * + * The blob sink http client will compress the blobs it sends + * + * @param blobs - The blob data + * @returns The parsed blob data + */ private parseBlobData(blobs: PostBlobSidecarRequest['blobs']): BlobWithIndex[] { - return blobs.map(({ index, blob }) => new BlobWithIndex(Blob.fromBuffer(Buffer.from(blob.data)), index)); + return blobs.map( + ({ index, blob }) => + new BlobWithIndex( + // Snappy decompress the blob buffer + Blob.fromBuffer(inboundTransform(Buffer.from(blob.data))), + index, + ), + ); } public start(): Promise { diff --git a/yarn-project/end-to-end/src/fixtures/utils.ts b/yarn-project/end-to-end/src/fixtures/utils.ts index 967c92bb73e7..0e090078c104 100644 --- a/yarn-project/end-to-end/src/fixtures/utils.ts +++ b/yarn-project/end-to-end/src/fixtures/utils.ts @@ -748,7 +748,7 @@ export async function createAndSyncProverNode( stop: () => Promise.resolve(), }; - const blobSinkClient = createBlobSinkClient(); + const blobSinkClient = createBlobSinkClient(aztecNodeConfig); // Creating temp store and archiver for simulated prover node const archiverConfig = { ...aztecNodeConfig, dataDirectory }; const archiver = await createArchiver(archiverConfig, blobSinkClient, { diff --git a/yarn-project/foundation/src/promise/running-promise.test.ts b/yarn-project/foundation/src/promise/running-promise.test.ts index 06bcb2c1418d..709e91c144af 100644 --- a/yarn-project/foundation/src/promise/running-promise.test.ts +++ b/yarn-project/foundation/src/promise/running-promise.test.ts @@ -1,3 +1,5 @@ +import { jest } from '@jest/globals'; + import { type Logger, createLogger } from '../log/pino-logger.js'; import { sleep } from '../sleep/index.js'; import { RunningPromise } from './running-promise.js'; @@ -49,10 +51,12 @@ describe('RunningPromise', () => { await fn(); throw new Error('ouch'); }; + const loggerSpy = jest.spyOn(logger, 'error'); runningPromise = new RunningPromise(failingFn, logger, 50); runningPromise.start(); - await sleep(90); + await sleep(150); expect(counter).toEqual(1); + expect(loggerSpy).toHaveBeenCalledTimes(1); }); class IgnoredError extends Error { @@ -67,10 +71,12 @@ describe('RunningPromise', () => { await fn(); throw new IgnoredError(); }; + const loggerSpy = jest.spyOn(logger, 'error'); runningPromise = new RunningPromise(failingFn, logger, 50, [IgnoredError]); runningPromise.start(); - await sleep(90); - expect(counter).toEqual(0); + await sleep(150); + expect(counter).toEqual(1); + expect(loggerSpy).not.toHaveBeenCalled(); }); }); }); diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts index df52c8648cb7..c431fdee52d7 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.test.ts @@ -1,4 +1,5 @@ import { HttpBlobSinkClient } from '@aztec/blob-sink/client'; +import { inboundTransform } from '@aztec/blob-sink/encoding'; import { L2Block } from '@aztec/circuit-types'; import { EthAddress } from '@aztec/circuits.js'; import { @@ -182,7 +183,7 @@ describe('L1Publisher', () => { app.post('/blob_sidecar', (req, res) => { const blobsBuffers = req.body.blobs.map((b: { index: number; blob: { type: string; data: string } }) => - Blob.fromBuffer(Buffer.from(b.blob.data)), + Blob.fromBuffer(inboundTransform(Buffer.from(b.blob.data))), ); expect(blobsBuffers).toEqual(blobs); diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts index 7c7c0f98ccd9..c4f992aa9969 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts @@ -628,6 +628,11 @@ export class L1Publisher { // Tx was mined successfully if (receipt.status === 'success') { + // Send the blobs to the blob sink + this.sendBlobsToBlobSink(receipt.blockHash, blobs).catch(_err => { + this.log.error('Failed to send blobs to blob sink'); + }); + const tx = await this.getTransactionStats(receipt.transactionHash); const stats: L1PublishBlockStats = { gasPrice: receipt.effectiveGasPrice, @@ -642,11 +647,6 @@ export class L1Publisher { this.log.verbose(`Published L2 block to L1 rollup contract`, { ...stats, ...ctx }); this.metrics.recordProcessBlockTx(timer.ms(), stats); - // Send the blobs to the blob sink - this.sendBlobsToBlobSink(receipt.blockHash, blobs).catch(_err => { - this.log.error('Failed to send blobs to blob sink'); - }); - return true; } diff --git a/yarn-project/yarn.lock b/yarn-project/yarn.lock index 96530873d7be..4aa8e9ecbeca 100644 --- a/yarn-project/yarn.lock +++ b/yarn-project/yarn.lock @@ -354,6 +354,7 @@ __metadata: express: "npm:^4.21.1" jest: "npm:^29.5.0" jest-mock-extended: "npm:^3.0.3" + snappy: "npm:^7.2.2" source-map-support: "npm:^0.5.21" supertest: "npm:^7.0.0" ts-node: "npm:^10.9.1" From 0c16770cbe12fd8cac4e4ae31096795bcbadc069 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 18:39:12 +0000 Subject: [PATCH 22/46] fix: javascript adding a string to a number --- scripts/run_native_testnet.sh | 45 ++++++++++++++++++- yarn-project/blob-sink/src/client/http.ts | 42 +++++++++++++---- .../scripts/native-network/blob-sink.sh | 2 +- .../scripts/native-network/boot-node.sh | 11 ++++- .../native-network/deploy-l1-contracts.sh | 17 ++++++- .../native-network/deploy-l2-contracts.sh | 12 +++-- .../scripts/native-network/prover-node.sh | 9 +++- .../end-to-end/scripts/native-network/pxe.sh | 9 +++- .../native-network/utils/get-chain-id.sh | 6 +++ .../scripts/native-network/validator.sh | 14 +++++- 10 files changed, 144 insertions(+), 23 deletions(-) create mode 100755 yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh diff --git a/scripts/run_native_testnet.sh b/scripts/run_native_testnet.sh index 2e6bc2c433ba..c19a363e02fc 100755 --- a/scripts/run_native_testnet.sh +++ b/scripts/run_native_testnet.sh @@ -32,7 +32,11 @@ PROVER_SCRIPT="\"./prover-node.sh 8078 false\"" NUM_VALIDATORS=3 INTERLEAVED=false METRICS=false +DISABLE_BLOB_SINK=false LOG_LEVEL="info" +ETHEREUM_HOST="http://localhost:8545" +L1_CONSENSUS_HOST_URL= + OTEL_COLLECTOR_ENDPOINT=${OTEL_COLLECTOR_ENDPOINT:-"http://localhost:4318"} # Function to display help message @@ -49,6 +53,9 @@ display_help() { echo " -i Run interleaved (default: $INTERLEAVED)" echo " -m Run with metrics (default: $METRICS) will use $OTEL_COLLECTOR_ENDPOINT as default otel endpoint" echo " -c Specify the otel collector endpoint (default: $OTEL_COLLECTOR_ENDPOINT)" + echo " -b Disable the blob sink (default: false)" + echo " -e Specify the ethereum host url (default: $ETHEREUM_HOST)" + echo " -cl Specify the l1 consensus host url (default: $L1_CONSENSUS_HOST_URL)" echo echo "Example:" echo " $0 -t ./test-4epochs.sh -val 5 -v" @@ -97,6 +104,18 @@ while [[ $# -gt 0 ]]; do OTEL_COLLECTOR_ENDPOINT="$2" shift 2 ;; + -e) + ETHEREUM_HOST="$2" + shift 2 + ;; + -cl) + L1_CONSENSUS_HOST_URL="$2" + shift 2 + ;; + -b) + DISABLE_BLOB_SINK=true + shift + ;; *) echo "Invalid option: $1" >&2 display_help @@ -115,6 +134,28 @@ if $METRICS; then export LOG_JSON=1 fi +# If an ethereum rpc url is provided, use it +if $ETHEREUM_HOST; then + export ETHEREUM_HOST +fi +if $L1_CONSENSUS_HOST_URL; then + export L1_CONSENSUS_HOST_URL +fi + +# If an ethereum url has been provided, do not run the ethereum.sh script +if $ETHEREUM_HOST && $L1_CONSENSUS_HOST_URL; then + ETHEREUM_SCRIPT="" +else + ETHEREUM_SCRIPT="./ethereum.sh" +fi + +# If the blob sink is disabled, do not run the blob-sink.sh script +if $DISABLE_BLOB_SINK; then + BLOB_SINK_SCRIPT="" +else + BLOB_SINK_SCRIPT="./blob-sink.sh" +fi + # Go to repo root cd $(git rev-parse --show-toplevel) @@ -124,12 +165,12 @@ BASE_CMD="INTERLEAVED=$INTERLEAVED ./yarn-project/end-to-end/scripts/native_netw \"./deploy-l1-contracts.sh $NUM_VALIDATORS\" \ ./deploy-l2-contracts.sh \ ./boot-node.sh \ - ./ethereum.sh \ + $ETHEREUM_SCRIPT \ \"./validators.sh $NUM_VALIDATORS\" \ $PROVER_SCRIPT \ ./pxe.sh \ ./transaction-bot.sh \ - ./blob-sink.sh" + $BLOB_SINK_SCRIPT" # Execute the command eval $BASE_CMD diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index 1ae89da65b94..dd2c0996a47c 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -55,20 +55,45 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { * If requesting from the blob sink, we send the blobkHash * If requesting from the beacon node, we send the slot number * + * 1. First atttempts to get blobs from a configured blob sink + * 2. If no blob sink is configured, attempts to get blobs from a configured consensus host + + * // TODO(md): blow up? + * 3. If none configured, fails + * * @param blockHash - The block hash * @param indices - The indices of the blobs to get * @returns The blobs */ public async getBlobSidecar(blockHash: string, indices?: number[]): Promise { - if (!this.config.blobSinkUrl) { - this.log.verbose('No blob sink url configured'); - return []; + if (this.config.blobSinkUrl) { + this.log.debug('Getting blob sidecar from blob sink'); + const blobs = await this.getBlobSidecarFrom(this.config.blobSinkUrl, blockHash, indices); + if (blobs.length > 0) { + return blobs; + } } - // If no slot number is found, we query with the block hash - const blockHashOrSlot = (await this.getSlotNumber(blockHash)) ?? blockHash; - const hostUrl = this.config.l1ConsensusHostUrl ?? this.config.blobSinkUrl; + if (this.config.l1ConsensusHostUrl) { + // The beacon api can query by slot number, so we get that first + const slotNumber = await this.getSlotNumber(blockHash); + if (slotNumber) { + const blobs = await this.getBlobSidecarFrom(this.config.l1ConsensusHostUrl, slotNumber, indices); + if (blobs.length > 0) { + return blobs; + } + } + } + + this.log.verbose('No blob sources configured'); + return []; + } + public async getBlobSidecarFrom( + hostUrl: string, + blockHashOrSlot: string | number, + indices?: number[], + ): Promise { try { let url = `${hostUrl}/eth/v1/beacon/blob_sidecars/${blockHashOrSlot}`; if (indices && indices.length > 0) { @@ -79,6 +104,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { if (res.ok) { const body = await res.json(); + this.log.debug(`Blob sidecar for block ${blockHashOrSlot} is ${body}`); const blobs = body.data.map((b: BlobJson) => Blob.fromJson(b)); return blobs; } @@ -147,12 +173,12 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { // Query beacon chain to get the slot number for that block root try { - const res = await fetch(`${this.config.l1ConsensusHostUrl}/eth/v1/beacon/headers/${blockHash}`); + const res = await fetch(`${this.config.l1ConsensusHostUrl}/eth/v1/beacon/headers/${parentBeaconBlockRoot}`); if (res.ok) { const body = await res.json(); // Add one to get the slot number of the original block hash - return body.data.header.message.slot + 1; + return Number(body.data.header.message.slot) + 1; } } catch (err) { this.log.error(`Error getting slot number`, err); diff --git a/yarn-project/end-to-end/scripts/native-network/blob-sink.sh b/yarn-project/end-to-end/scripts/native-network/blob-sink.sh index 08ca158b5323..2c5348a88653 100755 --- a/yarn-project/end-to-end/scripts/native-network/blob-sink.sh +++ b/yarn-project/end-to-end/scripts/native-network/blob-sink.sh @@ -4,7 +4,7 @@ set -eu REPO=$(git rev-parse --show-toplevel) # Starts the Blob Sink -export PORT=${BLOB_SINK_PORT:-5052} +export BLOB_SINK_PORT=${BLOB_SINK_PORT:-5053} export DEBUG=${DEBUG:-"aztec:*"} export DEBUG_COLORS=${DEBUG_COLORS:-1} diff --git a/yarn-project/end-to-end/scripts/native-network/boot-node.sh b/yarn-project/end-to-end/scripts/native-network/boot-node.sh index dc688fc73fb4..d194e6319525 100755 --- a/yarn-project/end-to-end/scripts/native-network/boot-node.sh +++ b/yarn-project/end-to-end/scripts/native-network/boot-node.sh @@ -1,12 +1,15 @@ #!/bin/bash set -eu +REPO=$(git rev-parse --show-toplevel) + # Get the name of the script without the path and extension SCRIPT_NAME=$(basename "$0" .sh) # Redirect stdout and stderr to .log while also printing to the console exec > >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log") 2> >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log" >&2) + # Starts the Boot Node # Set environment variables @@ -14,9 +17,10 @@ export PORT=${PORT:-"8080"} export DEBUG=${DEBUG:-""} export LOG_LEVEL=${LOG_LEVEL:-"verbose"} export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} +export L1_CONSENSUS_HOST_URL=${L1_CONSENSUS_HOST_URL:-} export P2P_ENABLED="true" export VALIDATOR_DISABLED="true" -export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5052}" +export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" export SEQ_MAX_SECONDS_BETWEEN_BLOCKS="0" export SEQ_MIN_TX_PER_BLOCK="1" export P2P_TCP_ANNOUNCE_ADDR="127.0.0.1:40400" @@ -29,7 +33,6 @@ export OTEL_EXPORTER_OTLP_LOGS_ENDPOINT="${OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:-}" export OTEL_RESOURCE_ATTRIBUTES="service.name=boot-node" export VALIDATOR_PRIVATE_KEY=${VALIDATOR_PRIVATE_KEY:-"0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a"} -REPO=$(git rev-parse --show-toplevel) echo "Waiting for l1 contracts to be deployed..." until [ -f "$REPO"/yarn-project/end-to-end/scripts/native-network/state/l1-contracts.env ]; do @@ -39,6 +42,10 @@ echo "Done waiting." source "$REPO"/yarn-project/end-to-end/scripts/native-network/state/l1-contracts.env +# Get the chain ID from the Ethereum node +source "$REPO"/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh +export L1_CHAIN_ID=${L1_CHAIN_ID:-31337} + function filter_noise() { grep -Ev "node_getProvenBlockNumber|getBlocks|Last block mined|Running random nodes query|Not creating block because not enough txs in the pool|Peers to connect" } diff --git a/yarn-project/end-to-end/scripts/native-network/deploy-l1-contracts.sh b/yarn-project/end-to-end/scripts/native-network/deploy-l1-contracts.sh index 9c87ef3332c3..d26ebf0321b1 100755 --- a/yarn-project/end-to-end/scripts/native-network/deploy-l1-contracts.sh +++ b/yarn-project/end-to-end/scripts/native-network/deploy-l1-contracts.sh @@ -22,7 +22,7 @@ else fi export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} -export L1_CHAIN_ID=${L1_CHAIN_ID:-"31337"} +# Remove hardcoded L1_CHAIN_ID and fetch it from the node export PRIVATE_KEY=${PRIVATE_KEY:-""} export SALT=${SALT:-"1337"} @@ -34,6 +34,9 @@ until curl -s -X POST -H 'Content-Type: application/json' \ done echo "Done waiting." +# Fetch chain ID from the Ethereum node +source "$REPO"/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh + # Construct base command COMMAND="node --no-warnings $(git rev-parse --show-toplevel)/yarn-project/aztec/dest/bin/index.js \ deploy-l1-contracts \ @@ -47,7 +50,17 @@ COMMAND="node --no-warnings $(git rev-parse --show-toplevel)/yarn-project/aztec/ # Add private key if provided [ -n "$PRIVATE_KEY" ] && COMMAND="$COMMAND --private-key $PRIVATE_KEY" -output=$($COMMAND) +MAX_RETRIES=5 +RETRY_DELAY=24 + +for attempt in $(seq 1 $MAX_RETRIES); do + output=$(eval $COMMAND) && break + echo "Attempt $attempt failed. Retrying in $RETRY_DELAY seconds..." + sleep "$RETRY_DELAY" +done || { + echo "All l1 contract deploy attempts failed." + exit 1 +} echo "$output" diff --git a/yarn-project/end-to-end/scripts/native-network/deploy-l2-contracts.sh b/yarn-project/end-to-end/scripts/native-network/deploy-l2-contracts.sh index a38d05844793..aef9240473d6 100755 --- a/yarn-project/end-to-end/scripts/native-network/deploy-l2-contracts.sh +++ b/yarn-project/end-to-end/scripts/native-network/deploy-l2-contracts.sh @@ -2,6 +2,7 @@ # Get the name of the script without the path and extension SCRIPT_NAME=$(basename "$0" .sh) +REPO=$(git rev-parse --show-toplevel) # Redirect stdout and stderr to .log while also printing to the console exec > >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log") 2> >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log" >&2) @@ -19,14 +20,19 @@ until curl -s -X POST -H 'content-type: application/json' \ done echo "Done waiting." +# Get the chain ID from the Ethereum node +export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} +source "$REPO"/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh +export L1_CHAIN_ID=${L1_CHAIN_ID:-31337} + # TODO(AD): Add option for prover-enabled mode -ARGS="--skipProofWait" +ARGS="--skipProofWait --l1-chain-id $L1_CHAIN_ID" # Deploy L2 contracts export AZTEC_NODE_URL="http://127.0.0.1:8080" export PXE_URL="http://127.0.0.1:8079" -node --no-warnings $(git rev-parse --show-toplevel)/yarn-project/aztec/dest/bin/index.js setup-protocol-contracts $ARGS +node --no-warnings "$REPO"/yarn-project/aztec/dest/bin/index.js setup-protocol-contracts $ARGS echo "Deployed L2 contracts" # Use file just as done signal echo "" > state/l2-contracts.env -echo "Wrote to state/l2-contracts.env to signal completion" \ No newline at end of file +echo "Wrote to state/l2-contracts.env to signal completion" diff --git a/yarn-project/end-to-end/scripts/native-network/prover-node.sh b/yarn-project/end-to-end/scripts/native-network/prover-node.sh index 8bd3dbd58117..926e2bd311a7 100755 --- a/yarn-project/end-to-end/scripts/native-network/prover-node.sh +++ b/yarn-project/end-to-end/scripts/native-network/prover-node.sh @@ -17,6 +17,11 @@ echo "Waiting for l1 contracts to be deployed..." until [ -f "$REPO"/yarn-project/end-to-end/scripts/native-network/state/l1-contracts.env ]; do sleep 1 done + +# Get the chain ID from the Ethereum node +export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} +source "$REPO"/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh + echo "Waiting for Aztec Node..." until curl -s http://127.0.0.1:8080/status >/dev/null; do sleep 1 @@ -34,12 +39,12 @@ export BOOTSTRAP_NODES=$(echo "$output" | grep -oP 'Node ENR: \K.*') # Set environment variables export LOG_LEVEL=${LOG_LEVEL:-"verbose"} export DEBUG=${DEBUG:-""} -export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} +export L1_CONSENSUS_HOST_URL=${L1_CONSENSUS_HOST_URL:-} export PROVER_AGENT_COUNT="1" export PROVER_AGENT_ENABLED="true" export PROVER_PUBLISHER_PRIVATE_KEY=${PROVER_PUBLISHER_PRIVATE_KEY:-"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"} export PROVER_COORDINATION_NODE_URL="http://127.0.0.1:8080" -export PROVER_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5052}" +export PROVER_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" export AZTEC_NODE_URL="http://127.0.0.1:8080" export OTEL_RESOURCE_ATTRIBUTES="service.name=prover-node-${PORT}" export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-}" diff --git a/yarn-project/end-to-end/scripts/native-network/pxe.sh b/yarn-project/end-to-end/scripts/native-network/pxe.sh index ee1fbca03e5a..ce4992a91c07 100755 --- a/yarn-project/end-to-end/scripts/native-network/pxe.sh +++ b/yarn-project/end-to-end/scripts/native-network/pxe.sh @@ -3,6 +3,7 @@ set -eu # Get the name of the script without the path and extension SCRIPT_NAME=$(basename "$0" .sh) +REPO=$(git rev-parse --show-toplevel) # Redirect stdout and stderr to .log while also printing to the console exec > >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log") 2> >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log" >&2) @@ -10,6 +11,7 @@ exec > >(tee -a "$(dirname $0)/logs/${SCRIPT_NAME}.log") 2> >(tee -a "$(dirname # Starts the PXE (Private eXecution Environment) service # Set environment variables export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} +export L1_CONSENSUS_HOST_URL=${L1_CONSENSUS_HOST_URL:-} export AZTEC_NODE_URL=${AZTEC_NODE_URL:-"http://127.0.0.1:8080"} export VALIDATOR_NODE_URL=${VALIDATOR_NODE_URL:-"http://127.0.0.1:8081"} export LOG_LEVEL=${LOG_LEVEL:-"verbose"} @@ -18,6 +20,11 @@ echo "Waiting for Aztec Node..." until curl -s $AZTEC_NODE_URL/status >/dev/null; do sleep 1 done + +# Get the chain ID from the Ethereum node +source "$REPO"/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh +export L1_CHAIN_ID=${L1_CHAIN_ID:-31337} + # We need to also wait for the validator, as the initial node cannot # Produce blocks on it's own echo "Waiting for Validator 0..." @@ -31,4 +38,4 @@ function filter_noise() { } # Start the PXE service -node --no-warnings $(git rev-parse --show-toplevel)/yarn-project/aztec/dest/bin/index.js start --port=8079 --pxe 2>&1 | filter_noise +node --no-warnings "$REPO"/yarn-project/aztec/dest/bin/index.js start --port=8079 --pxe 2>&1 | filter_noise diff --git a/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh b/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh new file mode 100755 index 000000000000..13ee498f5212 --- /dev/null +++ b/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh @@ -0,0 +1,6 @@ + +export L1_CHAIN_ID=$(curl -s -X POST -H "Content-Type: application/json" \ + --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}' \ + $ETHEREUM_HOST | grep -o '"result":"0x[^"]*"' | cut -d'"' -f4 | xargs printf "%d\n") + +echo "Using L1 chain ID: $L1_CHAIN_ID" \ No newline at end of file diff --git a/yarn-project/end-to-end/scripts/native-network/validator.sh b/yarn-project/end-to-end/scripts/native-network/validator.sh index 5b65e31f241a..d09844f20d85 100755 --- a/yarn-project/end-to-end/scripts/native-network/validator.sh +++ b/yarn-project/end-to-end/scripts/native-network/validator.sh @@ -29,6 +29,13 @@ until curl -s http://127.0.0.1:8080/status >/dev/null; do done echo "Done waiting." +# Ethereum host required for the chain id script +export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} + +# Get the chain ID from the Ethereum node +source "$REPO"/yarn-project/end-to-end/scripts/native-network/utils/get-chain-id.sh +export L1_CHAIN_ID=${L1_CHAIN_ID:-31337} + # Set the boot node URL BOOT_NODE_URL="http://127.0.0.1:8080" @@ -51,7 +58,9 @@ export L1_PRIVATE_KEY=$VALIDATOR_PRIVATE_KEY export SEQ_PUBLISHER_PRIVATE_KEY=$VALIDATOR_PRIVATE_KEY export DEBUG=${DEBUG:-""} export LOG_LEVEL=${LOG_LEVEL:-"verbose"} -export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} +export L1_CONSENSUS_HOST_URL=${L1_CONSENSUS_HOST_URL:-} + + # Automatically detect if we're using Anvil if curl -s -H "Content-Type: application/json" -X POST --data '{"method":"web3_clientVersion","params":[],"id":49,"jsonrpc":"2.0"}' $ETHEREUM_HOST | jq .result | grep -q anvil; then @@ -68,7 +77,8 @@ export P2P_TCP_ANNOUNCE_ADDR="127.0.0.1:$P2P_PORT" export P2P_UDP_ANNOUNCE_ADDR="127.0.0.1:$P2P_PORT" export P2P_TCP_LISTEN_ADDR="0.0.0.0:$P2P_PORT" export P2P_UDP_LISTEN_ADDR="0.0.0.0:$P2P_PORT" -export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5052}" +export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" +export L1_CHAIN_ID=${L1_CHAIN_ID:-31337} export OTEL_RESOURCE_ATTRIBUTES="service.name=validator-node-${PORT}" export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-}" export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-}" From f203d8eba9946fe389175db645020baaeb12eea4 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 18:49:10 +0000 Subject: [PATCH 23/46] chore: kill different blob sink urls --- yarn-project/blob-sink/src/client/config.ts | 2 +- yarn-project/end-to-end/scripts/native-network/boot-node.sh | 2 +- yarn-project/end-to-end/scripts/native-network/prover-node.sh | 2 +- yarn-project/end-to-end/scripts/native-network/validator.sh | 2 +- yarn-project/foundation/src/config/env_var.ts | 3 +-- yarn-project/sequencer-client/src/publisher/config.ts | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/yarn-project/blob-sink/src/client/config.ts b/yarn-project/blob-sink/src/client/config.ts index 2b51a4a34b74..deebc326a678 100644 --- a/yarn-project/blob-sink/src/client/config.ts +++ b/yarn-project/blob-sink/src/client/config.ts @@ -22,7 +22,7 @@ export interface BlobSinkConfig { export const blobSinkConfigMapping: ConfigMappingsType = { blobSinkUrl: { - env: 'SEQ_BLOB_SINK_URL', + env: 'BLOB_SINK_URL', description: 'The URL of the blob sink', }, l1RpcUrl: { diff --git a/yarn-project/end-to-end/scripts/native-network/boot-node.sh b/yarn-project/end-to-end/scripts/native-network/boot-node.sh index d194e6319525..d84c1886d443 100755 --- a/yarn-project/end-to-end/scripts/native-network/boot-node.sh +++ b/yarn-project/end-to-end/scripts/native-network/boot-node.sh @@ -20,7 +20,7 @@ export ETHEREUM_HOST=${ETHEREUM_HOST:-"http://127.0.0.1:8545"} export L1_CONSENSUS_HOST_URL=${L1_CONSENSUS_HOST_URL:-} export P2P_ENABLED="true" export VALIDATOR_DISABLED="true" -export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" +export BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" export SEQ_MAX_SECONDS_BETWEEN_BLOCKS="0" export SEQ_MIN_TX_PER_BLOCK="1" export P2P_TCP_ANNOUNCE_ADDR="127.0.0.1:40400" diff --git a/yarn-project/end-to-end/scripts/native-network/prover-node.sh b/yarn-project/end-to-end/scripts/native-network/prover-node.sh index 926e2bd311a7..32998b5e43db 100755 --- a/yarn-project/end-to-end/scripts/native-network/prover-node.sh +++ b/yarn-project/end-to-end/scripts/native-network/prover-node.sh @@ -44,7 +44,7 @@ export PROVER_AGENT_COUNT="1" export PROVER_AGENT_ENABLED="true" export PROVER_PUBLISHER_PRIVATE_KEY=${PROVER_PUBLISHER_PRIVATE_KEY:-"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"} export PROVER_COORDINATION_NODE_URL="http://127.0.0.1:8080" -export PROVER_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" +export BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" export AZTEC_NODE_URL="http://127.0.0.1:8080" export OTEL_RESOURCE_ATTRIBUTES="service.name=prover-node-${PORT}" export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-}" diff --git a/yarn-project/end-to-end/scripts/native-network/validator.sh b/yarn-project/end-to-end/scripts/native-network/validator.sh index d09844f20d85..adb98ab5931f 100755 --- a/yarn-project/end-to-end/scripts/native-network/validator.sh +++ b/yarn-project/end-to-end/scripts/native-network/validator.sh @@ -77,7 +77,7 @@ export P2P_TCP_ANNOUNCE_ADDR="127.0.0.1:$P2P_PORT" export P2P_UDP_ANNOUNCE_ADDR="127.0.0.1:$P2P_PORT" export P2P_TCP_LISTEN_ADDR="0.0.0.0:$P2P_PORT" export P2P_UDP_LISTEN_ADDR="0.0.0.0:$P2P_PORT" -export SEQ_BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" +export BLOB_SINK_URL="http://127.0.0.1:${BLOB_SINK_PORT:-5053}" export L1_CHAIN_ID=${L1_CHAIN_ID:-31337} export OTEL_RESOURCE_ATTRIBUTES="service.name=validator-node-${PORT}" export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT="${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-}" diff --git a/yarn-project/foundation/src/config/env_var.ts b/yarn-project/foundation/src/config/env_var.ts index f578688fb123..19cad72a6eb5 100644 --- a/yarn-project/foundation/src/config/env_var.ts +++ b/yarn-project/foundation/src/config/env_var.ts @@ -17,6 +17,7 @@ export type EnvVar = | 'BB_WORKING_DIRECTORY' | 'BOOTSTRAP_NODES' | 'BLOB_SINK_PORT' + | 'BLOB_SINK_URL' | 'BOT_DA_GAS_LIMIT' | 'BOT_FEE_PAYMENT_METHOD' | 'BOT_FLUSH_SETUP_TRANSACTIONS' @@ -104,7 +105,6 @@ export type EnvVar = | 'P2P_UDP_LISTEN_ADDR' | 'P2P_ARCHIVED_TX_LIMIT' | 'PEER_ID_PRIVATE_KEY' - | 'PROVER_BLOB_SINK_URL' | 'PROOF_VERIFIER_L1_START_BLOCK' | 'PROOF_VERIFIER_POLL_INTERVAL_MS' | 'PROVER_AGENT_ENABLED' @@ -144,7 +144,6 @@ export type EnvVar = | 'REGISTRY_CONTRACT_ADDRESS' | 'ROLLUP_CONTRACT_ADDRESS' | 'SEQ_ALLOWED_SETUP_FN' - | 'SEQ_BLOB_SINK_URL' | 'SEQ_MAX_BLOCK_SIZE_IN_BYTES' | 'SEQ_MAX_TX_PER_BLOCK' | 'SEQ_MIN_TX_PER_BLOCK' diff --git a/yarn-project/sequencer-client/src/publisher/config.ts b/yarn-project/sequencer-client/src/publisher/config.ts index d77efa57ca2a..dfb97ea3ecfb 100644 --- a/yarn-project/sequencer-client/src/publisher/config.ts +++ b/yarn-project/sequencer-client/src/publisher/config.ts @@ -78,7 +78,7 @@ export const getPublisherConfigMappings: ( }, ...l1TxUtilsConfigMappings, blobSinkUrl: { - env: `${scope}_BLOB_SINK_URL`, + env: 'BLOB_SINK_URL', description: 'The URL of the blob sink.', parseEnv: (val?: string) => val, }, From b1f8add515e4b7354d5cfb2e61c92dcafe1397e7 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 20:11:43 +0000 Subject: [PATCH 24/46] fix: allow larger transactions --- scripts/run_native_testnet.sh | 10 +++------- .../files/config/setup-service-addresses.sh | 2 +- spartan/aztec-network/templates/_helpers.tpl | 2 +- spartan/aztec-network/templates/eth-execution.yaml | 1 + spartan/aztec-network/values.yaml | 2 ++ yarn-project/blob-sink/src/client/factory.ts | 2 +- yarn-project/blob-sink/src/client/http.ts | 5 ++++- 7 files changed, 13 insertions(+), 11 deletions(-) diff --git a/scripts/run_native_testnet.sh b/scripts/run_native_testnet.sh index c19a363e02fc..b942083c93ec 100755 --- a/scripts/run_native_testnet.sh +++ b/scripts/run_native_testnet.sh @@ -135,15 +135,11 @@ if $METRICS; then fi # If an ethereum rpc url is provided, use it -if $ETHEREUM_HOST; then - export ETHEREUM_HOST -fi -if $L1_CONSENSUS_HOST_URL; then - export L1_CONSENSUS_HOST_URL -fi +export ETHEREUM_HOST +export L1_CONSENSUS_HOST_URL # If an ethereum url has been provided, do not run the ethereum.sh script -if $ETHEREUM_HOST && $L1_CONSENSUS_HOST_URL; then +if [ -n "$ETHEREUM_HOST" ]; then ETHEREUM_SCRIPT="" else ETHEREUM_SCRIPT="./ethereum.sh" diff --git a/spartan/aztec-network/files/config/setup-service-addresses.sh b/spartan/aztec-network/files/config/setup-service-addresses.sh index 2f77eafca915..83118f1bf2b2 100644 --- a/spartan/aztec-network/files/config/setup-service-addresses.sh +++ b/spartan/aztec-network/files/config/setup-service-addresses.sh @@ -102,7 +102,7 @@ fi # Write addresses to file for sourcing echo "export ETHEREUM_HOST=${ETHEREUM_ADDR}" >> /shared/config/service-addresses -echo "export ETHEREUM_CONSENSUS_HOST=${ETHEREUM_CONSENSUS_ADDR}" >> /shared/config/service-addresses +echo "export L1_CONSENSUS_HOST_URL=${ETHEREUM_CONSENSUS_ADDR}" >> /shared/config/service-addresses echo "export BOOT_NODE_HOST=${BOOT_NODE_ADDR}" >> /shared/config/service-addresses echo "export PROVER_NODE_HOST=${PROVER_NODE_ADDR}" >> /shared/config/service-addresses echo "export PROVER_BROKER_HOST=${PROVER_BROKER_ADDR}" >> /shared/config/service-addresses diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index 519cd01b1c95..b96837261865 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -147,7 +147,7 @@ Service Address Setup Container value: "{{ .Values.ethereum.execution.service.port }}" - name: EXTERNAL_ETHEREUM_CONSENSUS_HOST value: "{{ .Values.ethereum.beacon.externalHost }}" - - name: EXTERNAL_ETHEREUM_CONSENSUS_PORT + - name: ETHEREUM_CONSENSUS_PORT value: "{{ .Values.ethereum.beacon.service.port }}" - name: EXTERNAL_BOOT_NODE_HOST value: "{{ .Values.bootNode.externalHost }}" diff --git a/spartan/aztec-network/templates/eth-execution.yaml b/spartan/aztec-network/templates/eth-execution.yaml index c4bcc29947b4..39f1e722e96d 100644 --- a/spartan/aztec-network/templates/eth-execution.yaml +++ b/spartan/aztec-network/templates/eth-execution.yaml @@ -33,6 +33,7 @@ spec: --http.addr="0.0.0.0" --http.api="admin,net,eth,web3,debug,trace" --http.corsdomain="*" + --txpool.max-tx-input-bytes={{ .Values.ethereum.maxTxInputSizeBytes }} --max-outbound-peers=0 --max-inbound-peers=0 --ipcdisable diff --git a/spartan/aztec-network/values.yaml b/spartan/aztec-network/values.yaml index f3dec7d93c07..16f198d62230 100644 --- a/spartan/aztec-network/values.yaml +++ b/spartan/aztec-network/values.yaml @@ -228,6 +228,8 @@ ethereum: # 1 billion gas limit # helps ensure we can deploy public contracts gasLimit: "1000000000" + # 10 times the default of 131072 + maxTxInputSizeBytes: "1310720" args: "" execution: externalHost: "" diff --git a/yarn-project/blob-sink/src/client/factory.ts b/yarn-project/blob-sink/src/client/factory.ts index ff56d6118f98..16f8eaa3ac45 100644 --- a/yarn-project/blob-sink/src/client/factory.ts +++ b/yarn-project/blob-sink/src/client/factory.ts @@ -5,7 +5,7 @@ import { type BlobSinkClientInterface } from './interface.js'; import { LocalBlobSinkClient } from './local.js'; export function createBlobSinkClient(config?: BlobSinkConfig): BlobSinkClientInterface { - if (!config?.blobSinkUrl) { + if (!config?.blobSinkUrl && !config?.l1ConsensusHostUrl) { const blobStore = new MemoryBlobStore(); return new LocalBlobSinkClient(blobStore); } diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index dd2c0996a47c..ece4ad85b5b7 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -70,16 +70,19 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { this.log.debug('Getting blob sidecar from blob sink'); const blobs = await this.getBlobSidecarFrom(this.config.blobSinkUrl, blockHash, indices); if (blobs.length > 0) { + this.log.debug(`Got ${blobs.length} blobs from blob sink`); return blobs; } } if (this.config.l1ConsensusHostUrl) { // The beacon api can query by slot number, so we get that first + this.log.debug('Getting slot number from consensus host'); const slotNumber = await this.getSlotNumber(blockHash); if (slotNumber) { const blobs = await this.getBlobSidecarFrom(this.config.l1ConsensusHostUrl, slotNumber, indices); if (blobs.length > 0) { + this.log.debug(`Got ${blobs.length} blobs from consensus host`); return blobs; } } @@ -94,6 +97,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { blockHashOrSlot: string | number, indices?: number[], ): Promise { + // TODO(md): right now we assume all blobs are ours, this will not yet work on sepolia try { let url = `${hostUrl}/eth/v1/beacon/blob_sidecars/${blockHashOrSlot}`; if (indices && indices.length > 0) { @@ -104,7 +108,6 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { if (res.ok) { const body = await res.json(); - this.log.debug(`Blob sidecar for block ${blockHashOrSlot} is ${body}`); const blobs = body.data.map((b: BlobJson) => Blob.fromJson(b)); return blobs; } From 46594e35a9eb3b64d82134492841c668c8727561 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:45:31 +0000 Subject: [PATCH 25/46] feat(spartan): cl layer in spartan --- .release-please-manifest.json | 2 +- barretenberg/ts/CHANGELOG.md | 748 +++++++----------- barretenberg/ts/package.json | 2 +- .../crates/rollup-block-merge/Prover.toml | 4 + .../block_root/block_root_rollup_inputs.nr | 93 +++ .../src/ssa/opt/normalize_value_ids.rs | 5 +- .../src/ssa/ssa_gen/context.rs | 7 + .../tooling/lsp/src/requests/completion.rs | 1 + yarn-project/aztec/package.json | 2 +- .../bb-prover/src/avm_proving.test.ts | 41 + .../rollup/empty_block_root_rollup_inputs.ts | 2 +- .../src/orchestrator/orchestrator.ts | 18 +- .../broker_prover_facade.test.ts | 15 + .../proving_broker/broker_prover_facade.ts | 14 + yarn-project/txe/src/oracle/txe_oracle.ts | 4 + 15 files changed, 479 insertions(+), 479 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8047d00eb4a5..78f65973e484 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,4 +4,4 @@ "yarn-project/aztec": "0.71.0", "barretenberg": "0.71.0", "barretenberg/ts": "0.71.0" -} +} \ No newline at end of file diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index 7e1d7ae532bc..e3ecec31585c 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -2,1414 +2,1218 @@ ## [0.71.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.70.0...barretenberg.js-v0.71.0) (2025-01-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.70.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.1...barretenberg.js-v0.70.0) (2025-01-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.0...barretenberg.js-v0.69.1) (2025-01-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.2...barretenberg.js-v0.69.0) (2025-01-03) - ### Miscellaneous -* Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) +- Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) ## [0.68.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.1...barretenberg.js-v0.68.2) (2024-12-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.0...barretenberg.js-v0.68.1) (2024-12-23) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.1...barretenberg.js-v0.68.0) (2024-12-20) - ### Features -* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) -* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) -* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) - +- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) ### Bug Fixes -* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) -* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) -* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) -* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) -* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) - +- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) ### Miscellaneous -* Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) -* **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) -* **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) -* **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) -* **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) -* **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) -* **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) -* **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) +- Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) +- **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) +- **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) +- **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) +- **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) +- **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) +- **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) +- **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) ## [0.67.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.0...barretenberg.js-v0.67.1) (2024-12-17) - ### Features -* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) - +- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) ### Bug Fixes -* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) ## [0.67.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.66.0...barretenberg.js-v0.67.0) (2024-12-13) - ### Features -* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) - +- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) ### Bug Fixes -* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) ## [0.66.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.2...barretenberg.js-v0.66.0) (2024-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.1...barretenberg.js-v0.65.2) (2024-11-28) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.0...barretenberg.js-v0.65.1) (2024-11-27) - ### Features -* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) - +- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) ### Bug Fixes -* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) ## [0.65.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.64.0...barretenberg.js-v0.65.0) (2024-11-26) - ### Bug Fixes -* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) ## [0.64.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.1...barretenberg.js-v0.64.0) (2024-11-25) - ### Features -* Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) - +- Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) ### Bug Fixes -* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) - +- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) ### Documentation -* Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) +- Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) ## [0.63.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.0...barretenberg.js-v0.63.1) (2024-11-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.63.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.62.0...barretenberg.js-v0.63.0) (2024-11-19) - ### ⚠ BREAKING CHANGES -* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) +- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ### Features -* Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) -* Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) -* Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) - +- Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) +- Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) +- Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) ### Bug Fixes -* Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) - +- Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) ### Miscellaneous -* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) +- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) ## [0.62.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.61.0...barretenberg.js-v0.62.0) (2024-11-01) - ### Features -* Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) +- Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) ## [0.61.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.60.0...barretenberg.js-v0.61.0) (2024-10-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.60.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.59.0...barretenberg.js-v0.60.0) (2024-10-24) - ### Features -* Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) - +- Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) ### Miscellaneous -* Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) +- Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) ## [0.59.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.58.0...barretenberg.js-v0.59.0) (2024-10-21) - ### Bug Fixes -* Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) +- Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) ## [0.58.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.57.0...barretenberg.js-v0.58.0) (2024-10-18) - ### Features -* Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) -* Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) -* Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) - +- Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) +- Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) +- Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) ### Bug Fixes -* Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) -* Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) -* Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) -* Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) -* Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) +- Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) +- Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) +- Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) +- Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) +- Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) ## [0.57.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.56.0...barretenberg.js-v0.57.0) (2024-10-07) - ### Features -* Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) -* CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) -* Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) - +- Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) +- CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) +- Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) ### Bug Fixes -* **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) -* **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) - +- **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) +- **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) ### Miscellaneous -* Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) -* Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) +- Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) +- Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) ## [0.56.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.1...barretenberg.js-v0.56.0) (2024-09-25) - ### Features -* Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) - +- Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) ### Bug Fixes -* Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) - +- Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) ### Miscellaneous -* Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) +- Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) ## [0.55.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.0...barretenberg.js-v0.55.1) (2024-09-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.55.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.54.0...barretenberg.js-v0.55.0) (2024-09-13) - ### Features -* New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) +- New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) ## [0.54.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.53.0...barretenberg.js-v0.54.0) (2024-09-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.53.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.52.0...barretenberg.js-v0.53.0) (2024-09-09) - ### Bug Fixes -* HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) +- HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) ## [0.52.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.1...barretenberg.js-v0.52.0) (2024-09-01) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.0...barretenberg.js-v0.51.1) (2024-08-29) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.1...barretenberg.js-v0.51.0) (2024-08-27) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.0...barretenberg.js-v0.50.1) (2024-08-23) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.2...barretenberg.js-v0.50.0) (2024-08-22) - ### Miscellaneous -* Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) +- Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) ## [0.49.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.1...barretenberg.js-v0.49.2) (2024-08-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.48.0...barretenberg.js-v0.49.0) (2024-08-15) - ### Miscellaneous -* Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) +- Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) ## [0.48.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.1...barretenberg.js-v0.48.0) (2024-08-12) - ### Features -* Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) - +- Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) ### Bug Fixes -* Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) +- Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) ## [0.47.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.0...barretenberg.js-v0.47.1) (2024-07-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.47.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.7...barretenberg.js-v0.47.0) (2024-07-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.6...barretenberg.js-v0.46.7) (2024-07-16) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) - ### Features -* Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) - +- Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) ### Miscellaneous -* **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) - +- **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) ### Documentation -* Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) +- Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) ## [0.46.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.4...barretenberg.js-v0.46.5) (2024-07-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.3...barretenberg.js-v0.46.4) (2024-07-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.2...barretenberg.js-v0.46.3) (2024-07-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.1...barretenberg.js-v0.46.2) (2024-07-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.1...barretenberg.js-v0.46.0) (2024-07-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.0...barretenberg.js-v0.45.1) (2024-07-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) - ### Bug Fixes -* False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) +- False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) ## [0.43.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.42.0...barretenberg.js-v0.43.0) (2024-06-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.42.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.41.0...barretenberg.js-v0.42.0) (2024-06-04) - ### Features -* Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) -* Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) -* Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) -* Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) - +- Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) +- Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) +- Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) +- Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) ### Bug Fixes -* Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) - +- Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) ### Miscellaneous -* Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) -* Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) +- Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) +- Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) ## [0.41.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.1...barretenberg.js-v0.41.0) (2024-05-21) - ### Features -* Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) - +- Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) ### Miscellaneous -* Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) +- Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) ## [0.40.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.0...barretenberg.js-v0.40.1) (2024-05-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.40.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.39.0...barretenberg.js-v0.40.0) (2024-05-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.39.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.38.0...barretenberg.js-v0.39.0) (2024-05-14) - ### ⚠ BREAKING CHANGES -* switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) +- switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ### Features -* Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) +- Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) ## [0.38.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.37.0...barretenberg.js-v0.38.0) (2024-05-07) - ### ⚠ BREAKING CHANGES -* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) +- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ### Features -* `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) -* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) -* Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) -* Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) - +- `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) +- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) +- Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) +- Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) ### Miscellaneous -* Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) -* Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) +- Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) +- Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) ## [0.37.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.36.0...barretenberg.js-v0.37.0) (2024-05-02) - ### Features -* Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) +- Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) ## [0.36.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.1...barretenberg.js-v0.36.0) (2024-04-30) - ### Miscellaneous -* Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) +- Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) ## [0.35.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.0...barretenberg.js-v0.35.1) (2024-04-16) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.35.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.34.0...barretenberg.js-v0.35.0) (2024-04-16) - ### Features -* Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) - +- Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) ### Miscellaneous -* Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) -* TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) +- Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) +- TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) ## [0.34.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.33.0...barretenberg.js-v0.34.0) (2024-04-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.33.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.1...barretenberg.js-v0.33.0) (2024-04-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.32.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.0...barretenberg.js-v0.32.1) (2024-04-02) - ### Features -* Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) - +- Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) ### Bug Fixes -* **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) +- **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) ## [0.32.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.31.0...barretenberg.js-v0.32.0) (2024-03-27) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.31.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.1...barretenberg.js-v0.31.0) (2024-03-26) - ### Features -* Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) -* Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) -* Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) +- Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) +- Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) +- Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) ## [0.30.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.0...barretenberg.js-v0.30.1) (2024-03-20) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.30.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.29.0...barretenberg.js-v0.30.0) (2024-03-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.29.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.1...barretenberg.js-v0.29.0) (2024-03-18) - ### Features -* Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) +- Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) ## [0.28.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.0...barretenberg.js-v0.28.1) (2024-03-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.28.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.2...barretenberg.js-v0.28.0) (2024-03-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.1...barretenberg.js-v0.27.2) (2024-03-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.0...barretenberg.js-v0.27.1) (2024-03-12) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.6...barretenberg.js-v0.27.0) (2024-03-12) - ### Miscellaneous -* Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) +- Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) ## [0.26.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.5...barretenberg.js-v0.26.6) (2024-03-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.4...barretenberg.js-v0.26.5) (2024-03-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.2...barretenberg.js-v0.26.3) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.1...barretenberg.js-v0.26.2) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.0...barretenberg.js-v0.26.1) (2024-03-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.25.0...barretenberg.js-v0.26.0) (2024-03-05) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.25.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.24.0...barretenberg.js-v0.25.0) (2024-03-05) - ### Features -* Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) - +- Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) ### Miscellaneous -* Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) -* Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) -* Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) +- Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) +- Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) +- Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) ## [0.24.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.23.0...barretenberg.js-v0.24.0) (2024-02-13) - ### Features -* Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) +- Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) ## [0.23.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.22.0...barretenberg.js-v0.23.0) (2024-02-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) - ### ⚠ BREAKING CHANGES -* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ### Miscellaneous -* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.20.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.19.0...barretenberg.js-v0.20.0) (2024-01-22) - ### Features -* Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) +- Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) ## [0.19.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.18.0...barretenberg.js-v0.19.0) (2024-01-17) - ### Miscellaneous -* Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) +- Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) ## [0.18.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.17.0...barretenberg.js-v0.18.0) (2024-01-16) - ### Features -* Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) - +- Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) ### Bug Fixes -* Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) +- Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) ## [0.17.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.9...barretenberg.js-v0.17.0) (2024-01-09) - ### ⚠ BREAKING CHANGES -* return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) +- return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ### Features -* Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) -* Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) -* Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) -* Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) - +- Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) +- Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) +- Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) +- Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) ### Miscellaneous -* Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) -* Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) +- Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) +- Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) ## [0.16.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.8...barretenberg.js-v0.16.9) (2023-12-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.7...barretenberg.js-v0.16.8) (2023-12-13) - ### Bug Fixes -* Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) -* Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) +- Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) +- Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) ## [0.16.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.6...barretenberg.js-v0.16.7) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.5...barretenberg.js-v0.16.6) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.3...barretenberg.js-v0.16.4) (2023-12-05) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.2...barretenberg.js-v0.16.3) (2023-12-05) - ### Miscellaneous -* CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) +- CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.1...barretenberg.js-v0.16.2) (2023-12-05) - ### Miscellaneous -* Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) -* Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) +- Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) +- Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) ## [0.16.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.0...barretenberg.js-v0.16.1) (2023-11-28) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.1...barretenberg.js-v0.16.0) (2023-11-27) - ### Miscellaneous -* Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) +- Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) ## [0.15.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.0...barretenberg.js-v0.15.1) (2023-11-21) - ### Features -* **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) - +- **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) ### Miscellaneous -* All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) +- All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) ## [0.15.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.2...barretenberg.js-v0.15.0) (2023-11-16) - ### ⚠ BREAKING CHANGES -* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) +- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ### Bug Fixes -* Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) - +- Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) ### Miscellaneous -* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) -* Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) +- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) +- Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) ## [0.14.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) - ### Features -* Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) +- Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) ## [0.14.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.0...barretenberg.js-v0.14.1) (2023-11-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.14.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.1...barretenberg.js-v0.14.0) (2023-11-07) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.0...barretenberg.js-v0.13.1) (2023-10-31) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.12.0...barretenberg.js-v0.13.0) (2023-10-31) - ### Features -* New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) - +- New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) ### Miscellaneous -* Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) -* Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) -* Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) +- Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) +- Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) +- Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) ## [0.12.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.1...barretenberg.js-v0.12.0) (2023-10-26) - ### ⚠ BREAKING CHANGES -* remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) +- remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ### Miscellaneous -* Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) -* Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) -* Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) -* Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) +- Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) +- Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) +- Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) +- Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) ## [0.11.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.0...barretenberg.js-v0.11.1) (2023-10-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.11.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) - ### Features -* Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) +- Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) ## [0.10.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.0...barretenberg.js-v0.10.1) (2023-10-24) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.10.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.9.0...barretenberg.js-v0.10.0) (2023-10-24) - ### Features -* Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) +- Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) ## [0.9.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.14...barretenberg.js-v0.9.0) (2023-10-17) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.14](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.13...barretenberg.js-v0.8.14) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.13](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.12...barretenberg.js-v0.8.13) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.12](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.11...barretenberg.js-v0.8.12) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.11](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.10...barretenberg.js-v0.8.11) (2023-10-13) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.9...barretenberg.js-v0.8.10) (2023-10-11) - ### Features -* Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) +- Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) ## [0.8.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.8...barretenberg.js-v0.8.9) (2023-10-10) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.7...barretenberg.js-v0.8.8) (2023-10-09) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.6...barretenberg.js-v0.8.7) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.5...barretenberg.js-v0.8.6) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.4...barretenberg.js-v0.8.5) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.3...barretenberg.js-v0.8.4) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.2...barretenberg.js-v0.8.3) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.1...barretenberg.js-v0.8.2) (2023-10-04) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.0...barretenberg.js-v0.8.1) (2023-10-03) - ### Bug Fixes -* Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) +- Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) ## [0.8.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.10...barretenberg.js-v0.8.0) (2023-10-03) - ### ⚠ BREAKING CHANGES -* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) +- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ### Bug Fixes -* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) - +- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) ### Miscellaneous -* Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) -* Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) -* Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) +- Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) +- Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) +- Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) ## [0.7.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.9...barretenberg.js-v0.7.10) (2023-09-20) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.8...barretenberg.js-v0.7.9) (2023-09-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.7...barretenberg.js-v0.7.8) (2023-09-19) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.6...barretenberg.js-v0.7.7) (2023-09-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.5...barretenberg.js-v0.7.6) (2023-09-18) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.4...barretenberg.js-v0.7.5) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.3...barretenberg.js-v0.7.4) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.2...barretenberg.js-v0.7.3) (2023-09-15) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.1...barretenberg.js-v0.7.2) (2023-09-14) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.0...barretenberg.js-v0.7.1) (2023-09-14) - ### Miscellaneous -* Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) +- Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) ## [0.7.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) - ### Bug Fixes -* Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) - +- Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) ### Miscellaneous -* Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) +- Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) ## [0.6.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.6...barretenberg.js-v0.6.7) (2023-09-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.5...barretenberg.js-v0.6.6) (2023-09-11) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.4...barretenberg.js-v0.6.5) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.3...barretenberg.js-v0.6.4) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.2...barretenberg.js-v0.6.3) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.1...barretenberg.js-v0.6.2) (2023-09-08) - ### Miscellaneous -* **barretenberg.js:** Synchronize aztec-packages versions +- **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.6.1) (2023-09-08) - ### Miscellaneous -* **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) -* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) -* Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) +- **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) +- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +- Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) ## [0.5.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.5.2) (2023-09-08) - ### Miscellaneous -* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) ## [0.5.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.5.0...barretenberg.js-v0.5.1) (2023-09-05) - ### Features -* Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) -* **ci:** Use content hash in build system, restrict docs build to *.ts or *.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) - +- Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) +- **ci:** Use content hash in build system, restrict docs build to _.ts or _.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) ### Bug Fixes -* **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) -* **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) -* Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) +- **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) +- **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) +- Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) ## [0.5.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.6...barretenberg.js-v0.5.0) (2023-09-01) - ### ⚠ BREAKING CHANGES -* update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) +- update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ### Miscellaneous Chores -* Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) +- Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) ## [0.4.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.5...barretenberg.js-v0.4.6) (2023-08-29) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.4...barretenberg.js-v0.4.5) (2023-08-28) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.3...barretenberg.js-v0.4.4) (2023-08-28) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.2...barretenberg.js-v0.4.3) (2023-08-23) - ### Bug Fixes -* Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) -* Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) +- Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) +- Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) ## [0.4.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.1...barretenberg.js-v0.4.2) (2023-08-21) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.4.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.0...barretenberg.js-v0.4.1) (2023-08-21) - ### Bug Fixes -* **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) +- **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) ## [0.4.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.6...barretenberg.js-v0.4.0) (2023-08-21) - ### ⚠ BREAKING CHANGES -* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) +- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ### Bug Fixes -* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) -* Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) -* Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) +- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) +- Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) +- Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) ## [0.3.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.5...barretenberg.js-v0.3.6) (2023-08-08) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.4...barretenberg.js-v0.3.5) (2023-08-07) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.3...barretenberg.js-v0.3.4) (2023-07-25) - ### Features -* Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) +- Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) ## [0.3.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.2...barretenberg.js-v0.3.3) (2023-07-17) - ### Features -* Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) +- Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) ## [0.3.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.1...barretenberg.js-v0.3.2) (2023-07-12) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## [0.3.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.0...barretenberg.js-v0.3.1) (2023-07-11) - ### Miscellaneous Chores -* **barretenberg.js:** Synchronize barretenberg versions +- **barretenberg.js:** Synchronize barretenberg versions ## 0.3.0 (2023-07-11) - ### Features -* **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) -* **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) -* Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) -* Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) -* **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) - +- **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) +- **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) +- Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) +- Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) +- **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) ### Bug Fixes -* **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) -* bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) -* Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) +- **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) +- bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) +- Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index 5512cb9a003a..51a21aa9dee4 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -102,4 +102,4 @@ "webpack-dev-server": "^4.15.0", "worker-loader": "^3.0.8" } -} +} \ No newline at end of file diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml index 39a35c24c7cb..2170db5dbca0 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml @@ -3403,6 +3403,10 @@ prover_id = "0x0000000000000000000000000000000000000000000000000000000000000051" root = "0x1cffcc63d710ac154b6732b7661770c7a418ccc3c057d66d3f9cf29575d33472" next_available_leaf_index = "0x000000000000000000000000000000000000000000000000000000000000000a" + [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.new_archive] + root = "0x1566582e6653f16bc9df9431aeb78df062bf2700872597c2c497d5fd9f9b1fb2" + next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000009" + [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.start_global_variables] chain_id = "0x0000000000000000000000000000000000000000000000000000000000007a69" version = "0x0000000000000000000000000000000000000000000000000000000000000001" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr index 915eef2cca05..b29d57105772 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr @@ -193,4 +193,97 @@ pub(crate) mod tests { let _ = builder.execute(); } + + #[test] + unconstrained fn correct_block_root_rollup_output() { + let builder = TestBuilder::new().mock_evaluate_blobs(); + + let output = builder.execute(); + + let left_rollup = builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs; + let right_rollup = builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs; + + assert_eq(output.previous_archive, left_rollup.constants.last_archive); + assert(output.new_archive != output.previous_archive); + assert_eq(output.start_global_variables, left_rollup.constants.global_variables); + assert_eq(output.end_global_variables, left_rollup.constants.global_variables); + + let expected_out_hash = accumulate_sha256([left_rollup.out_hash, right_rollup.out_hash]); + assert_eq(output.out_hash, expected_out_hash); + + let expected_fee = FeeRecipient { + recipient: left_rollup.constants.global_variables.coinbase, + value: left_rollup.accumulated_fees + right_rollup.accumulated_fees, + }; + assert_array_eq(output.fees, [expected_fee]); + } + + #[test] + fn correct_blob_with_non_empty_fields() { + // Note: this test will not run in unconstrained, because it reaches the foreign call + // TODO(#10323): remove the oracle and switch this test to unconstrained + + // The below values are generated from block_building_helper.test.ts. + let blob_fields_0 = [ + 0x000000000000000000000000000000000074785f737461727400000500010000, + 0x000000000000000000000000000000000000000000000000000000000000002a, + 0x0002000000000000000000000000000000000000000000000000000000000000, + 0x0000000000000000000000000000000000000000000000000000000004000001, + 0x0000000000000000000000000000000000000000000000000000000000000123, + ]; + let blob_fields_1 = [ + 0x000000000000000000000000000000000074785f737461727400000700010000, + 0x000000000000000000000000000000000000000000000000000000000000002b, + 0x0002000000000000000000000000000000000000000000000000000000000000, + 0x0000000000000000000000000000000000000000000000000000000003000001, + 0x0000000000000000000000000000000000000000000000000000000000006789, + 0x0000000000000000000000000000000000000000000000000000000004000001, + 0x0000000000000000000000000000000000000000000000000000000000000045, + ]; + let expected_blob_commitment = [ + 0x008c32fe581c8fdba12c0d7597911dead2d937d68525bae655508412bb53bb98, + 0x0000000000000000000000000000006aaa0680f21270e7d8de4e19da5164f95c, + ]; + let expected_blobs_hash = + 0x00a965619c8668b834755678b32d023b9c5e8588ce449f44f7fa9335455b5cc5; + let expected_z = 0x1f92b871671f27a378d23f1cef10fbd8f0d90dd7172da9e3c3fc1aa745a072c3; + + let mut builder = TestBuilder::new_with_blobs_fields(blob_fields_0, blob_fields_1); + builder.data.blob_commitments[0].inner = expected_blob_commitment; + builder.data.blobs_hash = expected_blobs_hash; + + let output = builder.execute(); + + let start_sponge_blob = + builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob; + let end_sponge_blob = + builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs.end_sponge_blob; + let blobs_fields = array_concat(blob_fields_0, blob_fields_1); + let mut expected_sponge = start_sponge_blob; + expected_sponge.absorb(blobs_fields, blobs_fields.len()); + assert(!end_sponge_blob.eq(start_sponge_blob)); + assert(end_sponge_blob.eq(expected_sponge)); + + let hashed_tx_effects = expected_sponge.squeeze(); + let computed_z = Poseidon2::hash( + [hashed_tx_effects, expected_blob_commitment[0], expected_blob_commitment[1]], + 3, + ); + assert_eq(computed_z, expected_z); + assert_eq(output.blob_public_inputs[0].inner[0].z, expected_z); + assert_eq( + output.blob_public_inputs[0].inner[0].kzg_commitment.inner, + expected_blob_commitment, + ); + } + + #[test(should_fail_with = "block's first blob sponge was not empty")] + unconstrained fn non_empty_start_blob_fails() { + let mut builder = TestBuilder::new(); + + builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob.fields = + 1; + + let _ = builder.execute(); + } } diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs index b248f6734a90..11986d080d56 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs @@ -3,6 +3,7 @@ use std::collections::BTreeMap; use crate::ssa::{ ir::{ basic_block::BasicBlockId, + dfg::DataFlowGraph, function::{Function, FunctionId}, map::SparseMap, post_order::PostOrder, @@ -25,7 +26,7 @@ impl Ssa { let mut context = Context::default(); context.populate_functions(&self.functions); for function in self.functions.values_mut() { - context.normalize_ids(function); + context.normalize_ids(function, &self.globals.dfg); } self.functions = context.functions.into_btree(); } @@ -65,7 +66,7 @@ impl Context { } } - fn normalize_ids(&mut self, old_function: &mut Function) { + fn normalize_ids(&mut self, old_function: &mut Function, globals: &DataFlowGraph) { self.new_ids.blocks.clear(); self.new_ids.values.clear(); diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index 0b778ef9b78d..c06e22ea66e8 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -123,6 +123,7 @@ impl<'a> FunctionContext<'a> { let definitions = HashMap::default(); let mut this = Self { definitions, builder, shared_context, loops: Vec::new() }; + this.add_globals(); this.add_parameters_to_scope(parameters); this } @@ -146,6 +147,12 @@ impl<'a> FunctionContext<'a> { self.add_parameters_to_scope(&func.parameters); } + fn add_globals(&mut self) { + for (_, value) in self.shared_context.globals_context.dfg.values_iter() { + self.builder.current_function.dfg.make_global(value.get_type().into_owned()); + } + } + /// Add each parameter to the current scope, and return the list of parameter types. /// /// The returned parameter type list will be flattened, so any struct parameters will diff --git a/noir/noir-repo/tooling/lsp/src/requests/completion.rs b/noir/noir-repo/tooling/lsp/src/requests/completion.rs index 0d737e29ff7c..b639e17e4e41 100644 --- a/noir/noir-repo/tooling/lsp/src/requests/completion.rs +++ b/noir/noir-repo/tooling/lsp/src/requests/completion.rs @@ -28,6 +28,7 @@ use noirc_frontend::{ def_map::{CrateDefMap, LocalModuleId, ModuleDefId, ModuleId}, resolution::visibility::{ item_in_module_is_visible, method_call_is_visible, struct_member_is_visible, + trait_member_is_visible, }, }, hir_def::traits::Trait, diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index 19e7e64f0b00..ed1f89249f7b 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -116,4 +116,4 @@ "engines": { "node": ">=18" } -} +} \ No newline at end of file diff --git a/yarn-project/bb-prover/src/avm_proving.test.ts b/yarn-project/bb-prover/src/avm_proving.test.ts index feb7581be9e3..154c810f73b4 100644 --- a/yarn-project/bb-prover/src/avm_proving.test.ts +++ b/yarn-project/bb-prover/src/avm_proving.test.ts @@ -290,6 +290,47 @@ describe('AVM WitGen, "check circuit" tests', () => { }, TIMEOUT, ); + it( + 'Should prove and verify multiple app logic enqueued calls (set storage in first call, read it in next)', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ [], + /*setupArgs=*/ [], + /*appFunctionNames=*/ ['set_storage_single', 'read_assert_storage_single'], + /*appArgs=*/ [[new Fr(5)], [new Fr(5)]], + ); + }, + TIMEOUT, + ); + it( + 'Should prove and verify multiple app logic enqueued calls (like `enqueue_public_from_private`)', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ [], + /*setupArgs=*/ [], + /*appFunctionNames=*/ ['set_opcode_u8', 'set_read_storage_single'], + /*appArgs=*/ [[], [new Fr(5)]], + ); + }, + TIMEOUT, + ); + it.skip( + 'Should prove and verify enqueued calls in every phase, with enqueued calls that depend on each other', + async () => { + await proveAndVerifyAvmTestContract( + /*checkCircuitOnly=*/ true, + /*setupFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], + /*setupArgs=*/ [[new Fr(0)], [new Fr(5)]], + /*appFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], + /*appArgs=*/ [[new Fr(5)], [new Fr(10)]], + /*teardownFunctionName=*/ 'read_assert_storage_single', + /*teardownArgs=*/ [new Fr(10)], + ); + }, + TIMEOUT, + ); }); /** diff --git a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts index f36a6091d207..77512f94446e 100644 --- a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts +++ b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts @@ -1,5 +1,5 @@ import { bufferSchemaFor } from '@aztec/foundation/schemas'; -import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; +import { BufferReader, type Tuple, serializeToBuffer } from '@aztec/foundation/serialize'; import { bufferToHex, hexToBuffer } from '@aztec/foundation/string'; import { type FieldsOf } from '@aztec/foundation/types'; diff --git a/yarn-project/prover-client/src/orchestrator/orchestrator.ts b/yarn-project/prover-client/src/orchestrator/orchestrator.ts index 3d96c3b06d6d..f5329d57b58e 100644 --- a/yarn-project/prover-client/src/orchestrator/orchestrator.ts +++ b/yarn-project/prover-client/src/orchestrator/orchestrator.ts @@ -20,7 +20,7 @@ import { BaseParityInputs, type BlockHeader, Fr, - type GlobalVariables, + GlobalVariables, L1_TO_L2_MSG_SUBTREE_HEIGHT, L1_TO_L2_MSG_SUBTREE_SIBLING_PATH_LENGTH, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, @@ -161,6 +161,22 @@ export class ProvingOrchestrator implements EpochProver { const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db); const newArchiveSiblingPath = await getRootTreeSiblingPath(MerkleTreeId.ARCHIVE, db); + const partial = new PartialStateReference( + await getTreeSnapshot(MerkleTreeId.NOTE_HASH_TREE, db), + await getTreeSnapshot(MerkleTreeId.NULLIFIER_TREE, db), + await getTreeSnapshot(MerkleTreeId.PUBLIC_DATA_TREE, db), + ); + const state = new StateReference(messageTreeSnapshot, partial); + // TODO: Construct the full previousBlockHeader. + const previousBlockHeader = BlockHeader.from({ + lastArchive: startArchiveSnapshot, + contentCommitment: ContentCommitment.empty(), + state, + globalVariables: GlobalVariables.empty(), + totalFees: Fr.ZERO, + totalManaUsed: Fr.ZERO, + }); + const blockProvingState = this.provingState!.startNewBlock( globalVariables, l1ToL2Messages, diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts index a502209d5104..9044091385a7 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts @@ -180,4 +180,19 @@ describe('BrokerCircuitProverFacade', () => { await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); }); + + it('rejects jobs when the facade is stopped', async () => { + const inputs = makeBaseParityInputs(); + const controller = new AbortController(); + + const resultPromise = promiseWithResolvers(); + jest.spyOn(broker, 'enqueueProvingJob'); + jest.spyOn(prover, 'getBaseParityProof').mockReturnValue(resultPromise.promise); + + const promise = facade.getBaseParityProof(inputs, controller.signal, 42).catch(err => ({ err })); + + await facade.stop(); + + await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); + }); }); diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts index 833979906d17..3841220bdbc0 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts @@ -59,6 +59,20 @@ type ProvingJob = { signal?: AbortSignal; }; +// Perform a snapshot sync every 30 seconds +const SNAPSHOT_SYNC_INTERVAL_MS = 30_000; + +const MAX_CONCURRENT_JOB_SETTLED_REQUESTS = 10; +const SNAPSHOT_SYNC_CHECK_MAX_REQUEST_SIZE = 1000; + +type ProvingJob = { + id: ProvingJobId; + type: ProvingRequestType; + promise: PromiseWithResolvers; + abortFn?: () => Promise; + signal?: AbortSignal; +}; + export class BrokerCircuitProverFacade implements ServerCircuitProver { private jobs: Map = new Map(); private runningPromise?: RunningPromise; diff --git a/yarn-project/txe/src/oracle/txe_oracle.ts b/yarn-project/txe/src/oracle/txe_oracle.ts index b338e756b65d..ca96c406db8c 100644 --- a/yarn-project/txe/src/oracle/txe_oracle.ts +++ b/yarn-project/txe/src/oracle/txe_oracle.ts @@ -120,6 +120,10 @@ export class TXE implements TypedOracle { private noteCache: ExecutionNoteCache; + private simulationProvider = new WASMSimulator(); + + private noteCache: ExecutionNoteCache; + debug: LogFn; constructor( From e1b9d9da1eb9f36e3df8271149446b8a9618a0ba Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:33:01 +0000 Subject: [PATCH 26/46] fix: dirty rebase --- .release-please-manifest.json | 2 +- barretenberg/ts/CHANGELOG.md | 748 +++++++++++------- barretenberg/ts/package.json | 2 +- .../crates/private-kernel-init/Prover.toml | 2 +- .../crates/private-kernel-inner/Prover.toml | 4 +- .../crates/private-kernel-reset/Prover.toml | 2 +- .../private-kernel-tail-to-public/Prover.toml | 2 +- .../crates/private-kernel-tail/Prover.toml | 2 +- .../crates/rollup-base-private/Prover.toml | 4 +- .../crates/rollup-base-public/Prover.toml | 8 +- .../crates/rollup-block-merge/Prover.toml | 4 - .../block_root/block_root_rollup_inputs.nr | 93 --- .../crates/rollup-merge/Prover.toml | 2 +- .../src/ssa/opt/normalize_value_ids.rs | 5 +- .../src/ssa/ssa_gen/context.rs | 7 - .../tooling/lsp/src/requests/completion.rs | 1 - yarn-project/aztec/package.json | 2 +- .../bb-prover/src/avm_proving.test.ts | 41 - .../rollup/empty_block_root_rollup_inputs.ts | 2 +- .../src/orchestrator/orchestrator.ts | 18 +- .../broker_prover_facade.test.ts | 15 - .../proving_broker/broker_prover_facade.ts | 14 - yarn-project/txe/src/oracle/txe_oracle.ts | 4 - 23 files changed, 492 insertions(+), 492 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 78f65973e484..8047d00eb4a5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -4,4 +4,4 @@ "yarn-project/aztec": "0.71.0", "barretenberg": "0.71.0", "barretenberg/ts": "0.71.0" -} \ No newline at end of file +} diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index e3ecec31585c..7e1d7ae532bc 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -2,1218 +2,1414 @@ ## [0.71.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.70.0...barretenberg.js-v0.71.0) (2025-01-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.70.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.1...barretenberg.js-v0.70.0) (2025-01-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.69.0...barretenberg.js-v0.69.1) (2025-01-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.69.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.2...barretenberg.js-v0.69.0) (2025-01-03) + ### Miscellaneous -- Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) +* Cl/ci3.2 ([#10919](https://github.com/AztecProtocol/aztec-packages/issues/10919)) ([49dacc3](https://github.com/AztecProtocol/aztec-packages/commit/49dacc3378a339f8cc36971b630c52952249f60c)) ## [0.68.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.1...barretenberg.js-v0.68.2) (2024-12-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.68.0...barretenberg.js-v0.68.1) (2024-12-23) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.68.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.1...barretenberg.js-v0.68.0) (2024-12-20) + ### Features -- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) -- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) -- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) +* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) + ### Bug Fixes -- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) -- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) -- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) -- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) -- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) +* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) + ### Miscellaneous -- Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) -- **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) -- **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) -- **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) -- **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) -- **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) -- **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) -- **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) +* Ci3 phase 1 ([#10042](https://github.com/AztecProtocol/aztec-packages/issues/10042)) ([641da4b](https://github.com/AztecProtocol/aztec-packages/commit/641da4bbd7f12d5a66e5763c18f5fa8f7c627c76)) +* **master:** Release 0.64.0 ([#10043](https://github.com/AztecProtocol/aztec-packages/issues/10043)) ([12b1daa](https://github.com/AztecProtocol/aztec-packages/commit/12b1daafa121452a1ba2d17228be335b1a45b818)) +* **master:** Release 0.65.0 ([#10181](https://github.com/AztecProtocol/aztec-packages/issues/10181)) ([903bcb0](https://github.com/AztecProtocol/aztec-packages/commit/903bcb0a42f7fd83fb7da97a13b763cf761336bd)) +* **master:** Release 0.65.1 ([#10219](https://github.com/AztecProtocol/aztec-packages/issues/10219)) ([62fc917](https://github.com/AztecProtocol/aztec-packages/commit/62fc9175019cb5f3fabca1a5f5ff9e04d708695e)) +* **master:** Release 0.65.2 ([#10258](https://github.com/AztecProtocol/aztec-packages/issues/10258)) ([10754db](https://github.com/AztecProtocol/aztec-packages/commit/10754db0e6626047d4fc59cd0d7bbb320606152a)) +* **master:** Release 0.66.0 ([#10282](https://github.com/AztecProtocol/aztec-packages/issues/10282)) ([fc61b27](https://github.com/AztecProtocol/aztec-packages/commit/fc61b27dde7c8d30712bf4910d45081caaf0bb53)) +* **master:** Release 0.67.0 ([#10472](https://github.com/AztecProtocol/aztec-packages/issues/10472)) ([19a500f](https://github.com/AztecProtocol/aztec-packages/commit/19a500ffc09ab8bc367a78599dd73a07a04b426e)) +* **master:** Release 0.67.1 ([#10684](https://github.com/AztecProtocol/aztec-packages/issues/10684)) ([c90bb16](https://github.com/AztecProtocol/aztec-packages/commit/c90bb16a5880c42752809f383f517181e6f8a53a)) ## [0.67.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.67.0...barretenberg.js-v0.67.1) (2024-12-17) + ### Features -- PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) +* PXE browser proving ([#10704](https://github.com/AztecProtocol/aztec-packages/issues/10704)) ([46da3cc](https://github.com/AztecProtocol/aztec-packages/commit/46da3cc8a9c1c407a8ad2857695eea794e334efd)) + ### Bug Fixes -- **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) -- Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) +* **bb.js:** Use globalThis instead of self ([#10747](https://github.com/AztecProtocol/aztec-packages/issues/10747)) ([309b5f7](https://github.com/AztecProtocol/aztec-packages/commit/309b5f74862089001e3159bdb52cbc8b60c71dc1)), closes [#10741](https://github.com/AztecProtocol/aztec-packages/issues/10741) +* Casting vk to rawbuffer before wasm so it reads from the correct offset ([#10769](https://github.com/AztecProtocol/aztec-packages/issues/10769)) ([6a5bcfd](https://github.com/AztecProtocol/aztec-packages/commit/6a5bcfd2dc1a2bef6df2b93e9afa137a9b4ea315)) ## [0.67.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.66.0...barretenberg.js-v0.67.0) (2024-12-13) + ### Features -- CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) -- Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) +* CIVC browser proveThenVerify ([#10431](https://github.com/AztecProtocol/aztec-packages/issues/10431)) ([8c064d4](https://github.com/AztecProtocol/aztec-packages/commit/8c064d484c686fdf00a100f65f1f740be4ef13cb)) +* Keccak honk proving in bb.js ([#10489](https://github.com/AztecProtocol/aztec-packages/issues/10489)) ([e0d7431](https://github.com/AztecProtocol/aztec-packages/commit/e0d743121674bcfdd73f84836c17645a5bc2df92)) + ### Bug Fixes -- Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) +* Bump hard coded SRS size for wasm from 2^19 to 2^10 ([#10596](https://github.com/AztecProtocol/aztec-packages/issues/10596)) ([a37f82d](https://github.com/AztecProtocol/aztec-packages/commit/a37f82d2ed6a4512eb38f8fa576f52a06ddbdfba)) ## [0.66.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.2...barretenberg.js-v0.66.0) (2024-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.1...barretenberg.js-v0.65.2) (2024-11-28) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.65.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.65.0...barretenberg.js-v0.65.1) (2024-11-27) + ### Features -- Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) +* Speed up transaction execution ([#10172](https://github.com/AztecProtocol/aztec-packages/issues/10172)) ([da265b6](https://github.com/AztecProtocol/aztec-packages/commit/da265b6b7d61a0d991fa23bd044f711513a0e86c)) + ### Bug Fixes -- Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) +* Add pako as a dependency in bb.js ([#10186](https://github.com/AztecProtocol/aztec-packages/issues/10186)) ([b773c14](https://github.com/AztecProtocol/aztec-packages/commit/b773c14a8fe8bf425dc755b3a156e500e9924c1e)) ## [0.65.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.64.0...barretenberg.js-v0.65.0) (2024-11-26) + ### Bug Fixes -- **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) +* **bb.js:** Don't minify bb.js - webpack config ([#10170](https://github.com/AztecProtocol/aztec-packages/issues/10170)) ([6e7fae7](https://github.com/AztecProtocol/aztec-packages/commit/6e7fae7c78496b0b2241e2061b35ab22a3b3b186)) ## [0.64.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.1...barretenberg.js-v0.64.0) (2024-11-25) + ### Features -- Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) +* Single commitment key allocation in CIVC ([#9974](https://github.com/AztecProtocol/aztec-packages/issues/9974)) ([a0551ee](https://github.com/AztecProtocol/aztec-packages/commit/a0551ee9fca242a02774fd07bf8156a3a74dae3a)) + ### Bug Fixes -- Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) +* Strip wasm debug ([#9987](https://github.com/AztecProtocol/aztec-packages/issues/9987)) ([62a6b66](https://github.com/AztecProtocol/aztec-packages/commit/62a6b662f1ef20a603177c55c199de4a79b65b5c)) + ### Documentation -- Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) +* Add docs to enable multi-threading in bb.js ([#10064](https://github.com/AztecProtocol/aztec-packages/issues/10064)) ([8b4ebd1](https://github.com/AztecProtocol/aztec-packages/commit/8b4ebd1ddf3e8b3bac341c612444f28ea819f6c3)) ## [0.63.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.63.0...barretenberg.js-v0.63.1) (2024-11-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.63.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.62.0...barretenberg.js-v0.63.0) (2024-11-19) + ### ⚠ BREAKING CHANGES -- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) +* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ### Features -- Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) -- Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) -- Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) +* Bb.js tests of ClientIVC ([#9412](https://github.com/AztecProtocol/aztec-packages/issues/9412)) ([90696cd](https://github.com/AztecProtocol/aztec-packages/commit/90696cd0e126d7db3c4ef396ada4bddd3ac0de73)) +* Constrain App function VKs ([#9756](https://github.com/AztecProtocol/aztec-packages/issues/9756)) ([ae7cfe7](https://github.com/AztecProtocol/aztec-packages/commit/ae7cfe72b5c528fb533040c6da62c9b21f542f8b)) +* Naive attempt to bind the honk solidity verifier function to the ts interface ([#9432](https://github.com/AztecProtocol/aztec-packages/issues/9432)) ([fc27eaf](https://github.com/AztecProtocol/aztec-packages/commit/fc27eafaaa471e888805c785066f361f0da15298)) + ### Bug Fixes -- Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) +* Remove extra `number` from return type of `acirGetCircuitSizes` ([#9493](https://github.com/AztecProtocol/aztec-packages/issues/9493)) ([1aef553](https://github.com/AztecProtocol/aztec-packages/commit/1aef553d0991fca9940ed0521dab246de08a0a77)) + ### Miscellaneous -- Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) +* Remove `recursive` from ACIR format; add them to API and CLI ([#9479](https://github.com/AztecProtocol/aztec-packages/issues/9479)) ([d2a84c4](https://github.com/AztecProtocol/aztec-packages/commit/d2a84c405291b5a04576c133b0e74327d9092db1)) ## [0.62.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.61.0...barretenberg.js-v0.62.0) (2024-11-01) + ### Features -- Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) +* Faster square roots ([#2694](https://github.com/AztecProtocol/aztec-packages/issues/2694)) ([722ec5c](https://github.com/AztecProtocol/aztec-packages/commit/722ec5c3dfdc2a5e467528ed94a25677f8800087)) ## [0.61.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.60.0...barretenberg.js-v0.61.0) (2024-10-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.60.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.59.0...barretenberg.js-v0.60.0) (2024-10-24) + ### Features -- Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) +* Eccvm translator zk sumcheck ([#9199](https://github.com/AztecProtocol/aztec-packages/issues/9199)) ([c7d4572](https://github.com/AztecProtocol/aztec-packages/commit/c7d4572b49b33ee309f9238f3cec245878e6c295)) + ### Miscellaneous -- Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) +* Remove noir_js_backend_barretenberg ([#9338](https://github.com/AztecProtocol/aztec-packages/issues/9338)) ([cefe3d9](https://github.com/AztecProtocol/aztec-packages/commit/cefe3d901731d3b05de503ce93c97a3badf91363)) ## [0.59.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.58.0...barretenberg.js-v0.59.0) (2024-10-21) + ### Bug Fixes -- Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) +* Publish readme on bb.js NPM package ([#9303](https://github.com/AztecProtocol/aztec-packages/issues/9303)) ([1d860a8](https://github.com/AztecProtocol/aztec-packages/commit/1d860a82c290d820b0fcc55b61ef68f5501f7c1b)) ## [0.58.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.57.0...barretenberg.js-v0.58.0) (2024-10-18) + ### Features -- Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) -- Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) -- Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) +* Browser tests for UltraHonk ([#9047](https://github.com/AztecProtocol/aztec-packages/issues/9047)) ([f0d45dd](https://github.com/AztecProtocol/aztec-packages/commit/f0d45dd8d0c00707cd18989c3a45ff0c3cbc92a6)) +* Docker_fast.sh ([#9273](https://github.com/AztecProtocol/aztec-packages/issues/9273)) ([57e792e](https://github.com/AztecProtocol/aztec-packages/commit/57e792e6baaa2dfaef7af4c84d4ab75804c9d3de)) +* Use s3 cache in bootstrap fast ([#9111](https://github.com/AztecProtocol/aztec-packages/issues/9111)) ([349f938](https://github.com/AztecProtocol/aztec-packages/commit/349f938601f7a4fdbdf83aea62c7b8c244bbe434)) + ### Bug Fixes -- Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) -- Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) -- Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) -- Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) -- Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) +* Limit number of bb.js threads to 32 ([#9070](https://github.com/AztecProtocol/aztec-packages/issues/9070)) ([97e4b9b](https://github.com/AztecProtocol/aztec-packages/commit/97e4b9b2e0d37575b6b5e4c7a22f85b60d1f418b)) +* Make gate counting functions less confusing and avoid estimations ([#9046](https://github.com/AztecProtocol/aztec-packages/issues/9046)) ([0bda0a4](https://github.com/AztecProtocol/aztec-packages/commit/0bda0a4d71ae0fb4352de0746f7d96b63b787888)) +* Reduce SRS size back to normal ([#9098](https://github.com/AztecProtocol/aztec-packages/issues/9098)) ([a306ea5](https://github.com/AztecProtocol/aztec-packages/commit/a306ea5ffeb13019427a96d8152e5642b717c5f6)) +* Revert "feat: use s3 cache in bootstrap fast" ([#9181](https://github.com/AztecProtocol/aztec-packages/issues/9181)) ([7872d09](https://github.com/AztecProtocol/aztec-packages/commit/7872d092c359298273d7ab1fc23fa61ae1973f8b)) +* Revert "fix: Revert "feat: use s3 cache in bootstrap fast"" ([#9182](https://github.com/AztecProtocol/aztec-packages/issues/9182)) ([ce3d08a](https://github.com/AztecProtocol/aztec-packages/commit/ce3d08a18684da9f5b1289a2b9bdf60a66342590)) ## [0.57.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.56.0...barretenberg.js-v0.57.0) (2024-10-07) + ### Features -- Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) -- CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) -- Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) +* Add crsPath to BackendOptions ([#8775](https://github.com/AztecProtocol/aztec-packages/issues/8775)) ([78fa676](https://github.com/AztecProtocol/aztec-packages/commit/78fa676eda1c6b35fe843e72347a77f9f6d89fa4)) +* CI/local S3 build cache ([#8802](https://github.com/AztecProtocol/aztec-packages/issues/8802)) ([06be26e](https://github.com/AztecProtocol/aztec-packages/commit/06be26e2b5dfd4b1fa35f57231e15ebffbe410a7)) +* Use structured polys to reduce prover memory ([#8587](https://github.com/AztecProtocol/aztec-packages/issues/8587)) ([59e3dd9](https://github.com/AztecProtocol/aztec-packages/commit/59e3dd93a70398e828269dbf13d8c4b9b38227ea)) + ### Bug Fixes -- **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) -- **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) +* **avm:** Kernel out full proving fix ([#8873](https://github.com/AztecProtocol/aztec-packages/issues/8873)) ([784d483](https://github.com/AztecProtocol/aztec-packages/commit/784d483b592cb80da143634c07d330ba2f2c9ab7)) +* **CI:** Yarn-project publish_npm script ([#8996](https://github.com/AztecProtocol/aztec-packages/issues/8996)) ([dc87b0e](https://github.com/AztecProtocol/aztec-packages/commit/dc87b0e9c33d59924368341f765c7a5fedf420d2)) + ### Miscellaneous -- Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) -- Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) +* Publish bb.js in github action ([#8959](https://github.com/AztecProtocol/aztec-packages/issues/8959)) ([a21ab89](https://github.com/AztecProtocol/aztec-packages/commit/a21ab8915937b3c3f98551fb078c9874f2ed1547)) +* Push proof splitting helpers into bb.js ([#8795](https://github.com/AztecProtocol/aztec-packages/issues/8795)) ([951ce6d](https://github.com/AztecProtocol/aztec-packages/commit/951ce6d974504f0453ad2816d10c358d8ef02ce5)) ## [0.56.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.1...barretenberg.js-v0.56.0) (2024-09-25) + ### Features -- Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) +* Use new IVC scheme ([#8480](https://github.com/AztecProtocol/aztec-packages/issues/8480)) ([1c7b06d](https://github.com/AztecProtocol/aztec-packages/commit/1c7b06d6621d9873f84147b2b7f1f22bf21bbacb)) + ### Bug Fixes -- Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) +* Skip G1 SRS download if numPoints is zero ([#8717](https://github.com/AztecProtocol/aztec-packages/issues/8717)) ([753cdf8](https://github.com/AztecProtocol/aztec-packages/commit/753cdf8b047365b6280c0306fdc6f59f824f740b)) + ### Miscellaneous -- Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) +* Migrate higher-level APIs for barretenberg to bb.js ([#8677](https://github.com/AztecProtocol/aztec-packages/issues/8677)) ([0237a20](https://github.com/AztecProtocol/aztec-packages/commit/0237a20c989f2b37a64ee18b41c1da361363a81f)) ## [0.55.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.55.0...barretenberg.js-v0.55.1) (2024-09-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.55.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.54.0...barretenberg.js-v0.55.0) (2024-09-13) + ### Features -- New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) +* New test programs for wasm benchmarking ([#8389](https://github.com/AztecProtocol/aztec-packages/issues/8389)) ([0b46e96](https://github.com/AztecProtocol/aztec-packages/commit/0b46e96e8e5d05876a3700b9e50d29d6f349ea6e)) ## [0.54.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.53.0...barretenberg.js-v0.54.0) (2024-09-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.53.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.52.0...barretenberg.js-v0.53.0) (2024-09-09) + ### Bug Fixes -- HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) +* HonkRecursion serde for cpp bindings ([#8387](https://github.com/AztecProtocol/aztec-packages/issues/8387)) ([6162179](https://github.com/AztecProtocol/aztec-packages/commit/6162179ffc9b04213ef600e1733d2ac696c1dbe6)) ## [0.52.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.1...barretenberg.js-v0.52.0) (2024-09-01) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.51.0...barretenberg.js-v0.51.1) (2024-08-29) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.51.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.1...barretenberg.js-v0.51.0) (2024-08-27) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.50.0...barretenberg.js-v0.50.1) (2024-08-23) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.50.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.2...barretenberg.js-v0.50.0) (2024-08-22) + ### Miscellaneous -- Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) +* Merge devnet fixes back to master ([#8149](https://github.com/AztecProtocol/aztec-packages/issues/8149)) ([6be2183](https://github.com/AztecProtocol/aztec-packages/commit/6be21831764243ea42ef932aac3b79f20b483a40)) ## [0.49.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.1...barretenberg.js-v0.49.2) (2024-08-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.49.0...barretenberg.js-v0.49.1) (2024-08-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.49.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.48.0...barretenberg.js-v0.49.0) (2024-08-15) + ### Miscellaneous -- Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) +* Pin yarn versions in noir-projects and bb/ts ([#7988](https://github.com/AztecProtocol/aztec-packages/issues/7988)) ([83f33a1](https://github.com/AztecProtocol/aztec-packages/commit/83f33a1c131c89c2113bea0527cfa5586529714c)) ## [0.48.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.1...barretenberg.js-v0.48.0) (2024-08-12) + ### Features -- Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) +* Ts pedersen commit with offset ([#7699](https://github.com/AztecProtocol/aztec-packages/issues/7699)) ([b2224b4](https://github.com/AztecProtocol/aztec-packages/commit/b2224b48190d33af5e78efa3a470503331b0371f)) + ### Bug Fixes -- Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) +* Commonly occurring typo ([#7807](https://github.com/AztecProtocol/aztec-packages/issues/7807)) ([e3cc7d0](https://github.com/AztecProtocol/aztec-packages/commit/e3cc7d0fa0d842edcd24f1981b687cbdf057ce1a)) ## [0.47.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.47.0...barretenberg.js-v0.47.1) (2024-07-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.47.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.7...barretenberg.js-v0.47.0) (2024-07-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.6...barretenberg.js-v0.46.7) (2024-07-16) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.5...barretenberg.js-v0.46.6) (2024-07-15) + ### Features -- Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) +* Modular CLI + `aztec test` ([#7426](https://github.com/AztecProtocol/aztec-packages/issues/7426)) ([cca2a9b](https://github.com/AztecProtocol/aztec-packages/commit/cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e)) + ### Miscellaneous -- **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) +* **ci:** Recover from earthly bug with --no-cache, build images from registry ([#7462](https://github.com/AztecProtocol/aztec-packages/issues/7462)) ([09299e3](https://github.com/AztecProtocol/aztec-packages/commit/09299e34082047ec0e84ee3229381ff25e3b85e5)) + ### Documentation -- Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) +* Documenting fields ([#7468](https://github.com/AztecProtocol/aztec-packages/issues/7468)) ([05a11a1](https://github.com/AztecProtocol/aztec-packages/commit/05a11a1c0d2600a7dc561af9c336fab61aaead1a)) ## [0.46.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.4...barretenberg.js-v0.46.5) (2024-07-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.3...barretenberg.js-v0.46.4) (2024-07-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.2...barretenberg.js-v0.46.3) (2024-07-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.1...barretenberg.js-v0.46.2) (2024-07-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.46.0...barretenberg.js-v0.46.1) (2024-07-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.46.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.1...barretenberg.js-v0.46.0) (2024-07-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.45.0...barretenberg.js-v0.45.1) (2024-07-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.45.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.44.0...barretenberg.js-v0.45.0) (2024-07-02) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.44.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.43.0...barretenberg.js-v0.44.0) (2024-06-26) + ### Bug Fixes -- False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) +* False decryption fix ([#7066](https://github.com/AztecProtocol/aztec-packages/issues/7066)) ([48d9df4](https://github.com/AztecProtocol/aztec-packages/commit/48d9df4ff227c08a6e66f21c0286bc6349151671)) ## [0.43.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.42.0...barretenberg.js-v0.43.0) (2024-06-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.42.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.41.0...barretenberg.js-v0.42.0) (2024-06-04) + ### Features -- Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) -- Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) -- Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) -- Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) +* Enable honk_recursion through acir ([#6719](https://github.com/AztecProtocol/aztec-packages/issues/6719)) ([7ce4cbe](https://github.com/AztecProtocol/aztec-packages/commit/7ce4cbef78ac0da590fbbad184219038ffa5afd9)) +* Fold acir programs ([#6563](https://github.com/AztecProtocol/aztec-packages/issues/6563)) ([f7d6541](https://github.com/AztecProtocol/aztec-packages/commit/f7d65416c741790ce5b5cda8cba08d869a659670)) +* Folding acir programs ([#6685](https://github.com/AztecProtocol/aztec-packages/issues/6685)) ([8d1788d](https://github.com/AztecProtocol/aztec-packages/commit/8d1788de43c41929ce131c3dbd4687ce555e48bc)) +* Sumcheck part of ECCVM recursive verifier instantiated as an UltraCircuit ([#6413](https://github.com/AztecProtocol/aztec-packages/issues/6413)) ([afe84a2](https://github.com/AztecProtocol/aztec-packages/commit/afe84a201cb8462c0e9f538b4518085f68bbdab5)) + ### Bug Fixes -- Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) +* Add cbind declarations for new methods to fix autogen ([#6622](https://github.com/AztecProtocol/aztec-packages/issues/6622)) ([2429cd8](https://github.com/AztecProtocol/aztec-packages/commit/2429cd87a980eca62d2ff4543e6887f5ee9dd600)) + ### Miscellaneous -- Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) -- Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) +* Remove acir goblin flow ([#6724](https://github.com/AztecProtocol/aztec-packages/issues/6724)) ([f035231](https://github.com/AztecProtocol/aztec-packages/commit/f035231ca5cde4592be599a2e7b4ce706cdee27d)) +* Ultra goblin --> mega ([#6674](https://github.com/AztecProtocol/aztec-packages/issues/6674)) ([d272abd](https://github.com/AztecProtocol/aztec-packages/commit/d272abd1b332aae8d062b2340afd5cabf61e31d9)) ## [0.41.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.1...barretenberg.js-v0.41.0) (2024-05-21) + ### Features -- Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) +* Vk_as_fields, proof_as_fields flows for honk ([#6406](https://github.com/AztecProtocol/aztec-packages/issues/6406)) ([a6100ad](https://github.com/AztecProtocol/aztec-packages/commit/a6100ad3d5126321d457b5c336ab4a3521ff1fb2)) + ### Miscellaneous -- Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) +* Remove acvmInfo from bb.js CLI ([#6507](https://github.com/AztecProtocol/aztec-packages/issues/6507)) ([e298c76](https://github.com/AztecProtocol/aztec-packages/commit/e298c766d17029a9dbfce694b48327c5e76dfddb)) ## [0.40.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.40.0...barretenberg.js-v0.40.1) (2024-05-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.40.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.39.0...barretenberg.js-v0.40.0) (2024-05-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.39.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.38.0...barretenberg.js-v0.39.0) (2024-05-14) + ### ⚠ BREAKING CHANGES -- switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) +* switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ### Features -- Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) +* Switch `bb` over to read ACIR from nargo artifacts ([#6283](https://github.com/AztecProtocol/aztec-packages/issues/6283)) ([78adcc0](https://github.com/AztecProtocol/aztec-packages/commit/78adcc0f6bd74d7ead6de58099dda1a3f88eefb0)) ## [0.38.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.37.0...barretenberg.js-v0.38.0) (2024-05-07) + ### ⚠ BREAKING CHANGES -- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) +* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ### Features -- `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) -- AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) -- Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) -- Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) +* `multi_scalar_mul` blackbox func ([#6097](https://github.com/AztecProtocol/aztec-packages/issues/6097)) ([f6b1ba6](https://github.com/AztecProtocol/aztec-packages/commit/f6b1ba60daf37a5a6466ca1e5ee7be70354af485)) +* AES blackbox ([#6016](https://github.com/AztecProtocol/aztec-packages/issues/6016)) ([e4b97a8](https://github.com/AztecProtocol/aztec-packages/commit/e4b97a8cd7574a828c2a54b4a93b5ced79df6abf)) +* Honk flows exposed through wasm ([#6096](https://github.com/AztecProtocol/aztec-packages/issues/6096)) ([c9b3206](https://github.com/AztecProtocol/aztec-packages/commit/c9b32061b2849442516ff0395b69d9a230191234)) +* Run noir-packages-test in Earthly ([#6174](https://github.com/AztecProtocol/aztec-packages/issues/6174)) ([58e40c9](https://github.com/AztecProtocol/aztec-packages/commit/58e40c9125e6d7b30abf7a4cbb170bbfc15e2037)) + ### Miscellaneous -- Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) -- Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) +* Bump bb.js timeouts ([#6196](https://github.com/AztecProtocol/aztec-packages/issues/6196)) ([acab3de](https://github.com/AztecProtocol/aztec-packages/commit/acab3de86aae9ce5078795ba1ed0626d0c018565)) +* Migrate acir tests to earthly ([#6142](https://github.com/AztecProtocol/aztec-packages/issues/6142)) ([18c8ea8](https://github.com/AztecProtocol/aztec-packages/commit/18c8ea8eb5f9fd1cb51c116d6d1976c774d51bc1)) ## [0.37.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.36.0...barretenberg.js-v0.37.0) (2024-05-02) + ### Features -- Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) +* Devbox ([#5772](https://github.com/AztecProtocol/aztec-packages/issues/5772)) ([72321f9](https://github.com/AztecProtocol/aztec-packages/commit/72321f9d3af27f85c92564754d444ac3df1fcad2)) ## [0.36.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.1...barretenberg.js-v0.36.0) (2024-04-30) + ### Miscellaneous -- Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) +* Do not bootstrap cache if working copy is dirty ([#6033](https://github.com/AztecProtocol/aztec-packages/issues/6033)) ([3671932](https://github.com/AztecProtocol/aztec-packages/commit/367193253670a1d61ffa440d94dad4b9d068e72f)) ## [0.35.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.35.0...barretenberg.js-v0.35.1) (2024-04-16) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.35.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.34.0...barretenberg.js-v0.35.0) (2024-04-16) + ### Features -- Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) +* Export poseidon2_permutation and add to foundation/crypto ([#5706](https://github.com/AztecProtocol/aztec-packages/issues/5706)) ([6b91e27](https://github.com/AztecProtocol/aztec-packages/commit/6b91e2776de8fd5b1f489b5cfeee83c7e0996c2e)) + ### Miscellaneous -- Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) -- TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) +* Don't strip bb wasm ([#5743](https://github.com/AztecProtocol/aztec-packages/issues/5743)) ([d4cb410](https://github.com/AztecProtocol/aztec-packages/commit/d4cb4108900f1fb6307de17be9ee3516d6023609)) +* TS hash wrappers cleanup ([#5691](https://github.com/AztecProtocol/aztec-packages/issues/5691)) ([7f8b09f](https://github.com/AztecProtocol/aztec-packages/commit/7f8b09fca6370b140870041a49692383a4db6551)) ## [0.34.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.33.0...barretenberg.js-v0.34.0) (2024-04-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.33.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.1...barretenberg.js-v0.33.0) (2024-04-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.32.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.32.0...barretenberg.js-v0.32.1) (2024-04-02) + ### Features -- Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) +* Earthly split runners, structure reverts ([#5524](https://github.com/AztecProtocol/aztec-packages/issues/5524)) ([fcb8787](https://github.com/AztecProtocol/aztec-packages/commit/fcb8787f4623eccbc6189f9399d444a4cb863684)) + ### Bug Fixes -- **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) +* **ci:** Turn on earthly for everyone ([#5423](https://github.com/AztecProtocol/aztec-packages/issues/5423)) ([bea3fcb](https://github.com/AztecProtocol/aztec-packages/commit/bea3fcbde91d08f13cb7c2ceeff8be33b3edcdfd)) ## [0.32.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.31.0...barretenberg.js-v0.32.0) (2024-03-27) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.31.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.1...barretenberg.js-v0.31.0) (2024-03-26) + ### Features -- Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) -- Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) -- Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) +* Earthly bb tests + arm + satellites ([#5268](https://github.com/AztecProtocol/aztec-packages/issues/5268)) ([eca12b3](https://github.com/AztecProtocol/aztec-packages/commit/eca12b3a173f9ef1880e3b703ab778beb036a23b)) +* Less earthly runners + e2e GA runners, bb bench ([#5356](https://github.com/AztecProtocol/aztec-packages/issues/5356)) ([2136a66](https://github.com/AztecProtocol/aztec-packages/commit/2136a66cc1fa2249b3ef47b787cfa1de9576dc38)) +* Simplified bb Honk interface ([#5319](https://github.com/AztecProtocol/aztec-packages/issues/5319)) ([a2d138f](https://github.com/AztecProtocol/aztec-packages/commit/a2d138fa8c0ecf90bea843d38d2d693d6a38b2cc)) ## [0.30.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.30.0...barretenberg.js-v0.30.1) (2024-03-20) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.30.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.29.0...barretenberg.js-v0.30.0) (2024-03-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.29.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.1...barretenberg.js-v0.29.0) (2024-03-18) + ### Features -- Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) +* Initial Earthly CI ([#5069](https://github.com/AztecProtocol/aztec-packages/issues/5069)) ([8e75fe5](https://github.com/AztecProtocol/aztec-packages/commit/8e75fe5c47250e860a4eae4dbf0973c503221720)) ## [0.28.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.28.0...barretenberg.js-v0.28.1) (2024-03-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.28.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.2...barretenberg.js-v0.28.0) (2024-03-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.1...barretenberg.js-v0.27.2) (2024-03-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.27.0...barretenberg.js-v0.27.1) (2024-03-12) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.27.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.6...barretenberg.js-v0.27.0) (2024-03-12) + ### Miscellaneous -- Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) +* Move alpine containers to ubuntu ([#5026](https://github.com/AztecProtocol/aztec-packages/issues/5026)) ([d483e67](https://github.com/AztecProtocol/aztec-packages/commit/d483e678e4b2558f74c3b79083cf2257d6eafe0c)), closes [#4708](https://github.com/AztecProtocol/aztec-packages/issues/4708) ## [0.26.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.5...barretenberg.js-v0.26.6) (2024-03-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.4...barretenberg.js-v0.26.5) (2024-03-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.2...barretenberg.js-v0.26.3) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.1...barretenberg.js-v0.26.2) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.26.0...barretenberg.js-v0.26.1) (2024-03-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.26.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.25.0...barretenberg.js-v0.26.0) (2024-03-05) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.25.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.24.0...barretenberg.js-v0.25.0) (2024-03-05) + ### Features -- Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) +* Parallel native/wasm bb builds. Better messaging around using ci cache. ([#4766](https://github.com/AztecProtocol/aztec-packages/issues/4766)) ([a924e55](https://github.com/AztecProtocol/aztec-packages/commit/a924e55393daa89fbba3a87cf019977286104b59)) + ### Miscellaneous -- Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) -- Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) -- Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) +* Bootstrap improvements. ([#4711](https://github.com/AztecProtocol/aztec-packages/issues/4711)) ([1375233](https://github.com/AztecProtocol/aztec-packages/commit/13752339334be9c8cc0ae500d0e932f76d18a77d)) +* Implement poseidon2 opcode ([#4446](https://github.com/AztecProtocol/aztec-packages/issues/4446)) ([491a8df](https://github.com/AztecProtocol/aztec-packages/commit/491a8dfe81a33a7552686f70833f6130da944142)) +* Squash yp ypb + other build improvements. ([#4901](https://github.com/AztecProtocol/aztec-packages/issues/4901)) ([be5855c](https://github.com/AztecProtocol/aztec-packages/commit/be5855cdbd1993155bd228afbeafee2c447b46a5)) ## [0.24.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.23.0...barretenberg.js-v0.24.0) (2024-02-13) + ### Features -- Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) +* Prototype native merkle trees ([#4457](https://github.com/AztecProtocol/aztec-packages/issues/4457)) ([7d5e056](https://github.com/AztecProtocol/aztec-packages/commit/7d5e0563edf3c7397ca994033b703149242cc24c)) ## [0.23.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.22.0...barretenberg.js-v0.23.0) (2024-02-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.22.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.21.0...barretenberg.js-v0.22.0) (2024-02-06) + ### ⚠ BREAKING CHANGES -- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ### Miscellaneous -- **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) +* **acir:** Move `is_recursive` flag to be part of the circuit definition ([#4221](https://github.com/AztecProtocol/aztec-packages/issues/4221)) ([9c965a7](https://github.com/AztecProtocol/aztec-packages/commit/9c965a7c9e652dfeaba2f09152e5db287407473d)) ## [0.21.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.20.0...barretenberg.js-v0.21.0) (2024-01-30) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.20.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.19.0...barretenberg.js-v0.20.0) (2024-01-22) + ### Features -- Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) +* Goblin acir composer ([#4112](https://github.com/AztecProtocol/aztec-packages/issues/4112)) ([5e85b92](https://github.com/AztecProtocol/aztec-packages/commit/5e85b92f48bc31fe55315de9f45c4907e417cb6a)) ## [0.19.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.18.0...barretenberg.js-v0.19.0) (2024-01-17) + ### Miscellaneous -- Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) +* Barretenberg => bb namespace shortening ([#4066](https://github.com/AztecProtocol/aztec-packages/issues/4066)) ([e6b66b8](https://github.com/AztecProtocol/aztec-packages/commit/e6b66b856db498e6fc465212f3645cf2c196c31a)) ## [0.18.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.17.0...barretenberg.js-v0.18.0) (2024-01-16) + ### Features -- Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) +* Bootstrap cache v2 ([#3876](https://github.com/AztecProtocol/aztec-packages/issues/3876)) ([331598d](https://github.com/AztecProtocol/aztec-packages/commit/331598d369ab9bb91dcc48d50bdd8df0684f0b79)) + ### Bug Fixes -- Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) +* Dont spam logs with yarn install ([#4027](https://github.com/AztecProtocol/aztec-packages/issues/4027)) ([949c5ab](https://github.com/AztecProtocol/aztec-packages/commit/949c5abf1df399f691f17c19fab64f0e36476219)) ## [0.17.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.9...barretenberg.js-v0.17.0) (2024-01-09) + ### ⚠ BREAKING CHANGES -- return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) +* return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ### Features -- Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) -- Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) -- Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) -- Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) +* Adding option to set initial and max memory ([#3265](https://github.com/AztecProtocol/aztec-packages/issues/3265)) ([0ad75fe](https://github.com/AztecProtocol/aztec-packages/commit/0ad75fe745099119726976f964a92d1587f32fbf)) +* Bb uses goblin ([#3636](https://github.com/AztecProtocol/aztec-packages/issues/3636)) ([d093266](https://github.com/AztecProtocol/aztec-packages/commit/d09326636140dbd68d3efb8bc4ec2b6948e2bfe1)) +* Correct circuit construction from acir ([#3757](https://github.com/AztecProtocol/aztec-packages/issues/3757)) ([a876ab8](https://github.com/AztecProtocol/aztec-packages/commit/a876ab8a61108be06bd5d884d727058e7e54a383)) +* Return full verification contract from `AcirComposer::get_solidity_verifier` ([#3735](https://github.com/AztecProtocol/aztec-packages/issues/3735)) ([bd5614c](https://github.com/AztecProtocol/aztec-packages/commit/bd5614c2ee04065e149d3df48f1ace9c0ce3858f)) + ### Miscellaneous -- Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) -- Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) +* Remove HashToField128Security ACIR opcode ([#3631](https://github.com/AztecProtocol/aztec-packages/issues/3631)) ([1d6d3c9](https://github.com/AztecProtocol/aztec-packages/commit/1d6d3c94f327de1f20ef7d78302d3957db70019e)) +* Use simple "flat" CRS. ([#3748](https://github.com/AztecProtocol/aztec-packages/issues/3748)) ([5c6c2ca](https://github.com/AztecProtocol/aztec-packages/commit/5c6c2caf212fb22856df41fd15464dda37e10dab)) ## [0.16.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.8...barretenberg.js-v0.16.9) (2023-12-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.7...barretenberg.js-v0.16.8) (2023-12-13) + ### Bug Fixes -- Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) -- Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) +* Aztec sandbox compose fixes ([#3634](https://github.com/AztecProtocol/aztec-packages/issues/3634)) ([765a19c](https://github.com/AztecProtocol/aztec-packages/commit/765a19c3aad3a2793a764b970b7cc8a819094da7)) +* Top level init bb.js, but better scoped imports to not incur cost too early ([#3629](https://github.com/AztecProtocol/aztec-packages/issues/3629)) ([cea862d](https://github.com/AztecProtocol/aztec-packages/commit/cea862dd7feec714a34eba6a3cf7a2a174a59a1b)) ## [0.16.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.6...barretenberg.js-v0.16.7) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.5...barretenberg.js-v0.16.6) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.4...barretenberg.js-v0.16.5) (2023-12-06) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.3...barretenberg.js-v0.16.4) (2023-12-05) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.2...barretenberg.js-v0.16.3) (2023-12-05) + ### Miscellaneous -- CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) +* CLI's startup time was pushing almost 2s. This gets the basic 'help' down to 0.16. ([#3529](https://github.com/AztecProtocol/aztec-packages/issues/3529)) ([396df13](https://github.com/AztecProtocol/aztec-packages/commit/396df13389cdcb8b8b0d5a92a4b3d1c2bffcb7a7)) ## [0.16.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.1...barretenberg.js-v0.16.2) (2023-12-05) + ### Miscellaneous -- Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) -- Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) +* Optimise bb.js package size and sandox/cli dockerfiles to unbloat final containers. ([#3462](https://github.com/AztecProtocol/aztec-packages/issues/3462)) ([cb3db5d](https://github.com/AztecProtocol/aztec-packages/commit/cb3db5d0f1f8912f1a97258e5043eb0f69eff551)) +* Pin node version in docker base images and bump nvmrc ([#3537](https://github.com/AztecProtocol/aztec-packages/issues/3537)) ([5d3895a](https://github.com/AztecProtocol/aztec-packages/commit/5d3895aefb7812eb6bd8017baf43533959ad69b4)) ## [0.16.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.16.0...barretenberg.js-v0.16.1) (2023-11-28) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.16.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.1...barretenberg.js-v0.16.0) (2023-11-27) + ### Miscellaneous -- Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) +* Plumbs noir subrepo into yarn-project. ([#3420](https://github.com/AztecProtocol/aztec-packages/issues/3420)) ([63173c4](https://github.com/AztecProtocol/aztec-packages/commit/63173c45db127288bc4b079229239a650fc5d4be)) ## [0.15.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.15.0...barretenberg.js-v0.15.1) (2023-11-21) + ### Features -- **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) +* **bb:** Add ability to write pk to file or stdout ([#3335](https://github.com/AztecProtocol/aztec-packages/issues/3335)) ([c99862c](https://github.com/AztecProtocol/aztec-packages/commit/c99862c9602d7d37f7fef348e9f014fb137adab1)) + ### Miscellaneous -- All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) +* All hashes in ts ([#3333](https://github.com/AztecProtocol/aztec-packages/issues/3333)) ([6307e12](https://github.com/AztecProtocol/aztec-packages/commit/6307e129770af7791dc5a477859b75ebb112a653)) ## [0.15.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.2...barretenberg.js-v0.15.0) (2023-11-16) + ### ⚠ BREAKING CHANGES -- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) +* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ### Bug Fixes -- Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) +* Fix block constraint key divergence bug. ([#3256](https://github.com/AztecProtocol/aztec-packages/issues/3256)) ([1c71a0c](https://github.com/AztecProtocol/aztec-packages/commit/1c71a0cf38cf463efe1964126a6a5741c27bd2eb)) + ### Miscellaneous -- Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) -- Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) +* Replace computing hashes in circuits wasm, with computing them in ts via bb.js pedersen call. ([#3114](https://github.com/AztecProtocol/aztec-packages/issues/3114)) ([87eeb71](https://github.com/AztecProtocol/aztec-packages/commit/87eeb715014996ec329de969df85684083b18f83)) +* Typo fixes based on cspell ([#3319](https://github.com/AztecProtocol/aztec-packages/issues/3319)) ([8ae44dd](https://github.com/AztecProtocol/aztec-packages/commit/8ae44dd702987db524ab5e3edd6545881614f56b)) ## [0.14.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) + ### Features -- Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) +* Run solidity tests for all acir artifacts ([#3161](https://github.com/AztecProtocol/aztec-packages/issues/3161)) ([d09f667](https://github.com/AztecProtocol/aztec-packages/commit/d09f66748fcbb7739b17940a36806abb72091ee1)) ## [0.14.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.14.0...barretenberg.js-v0.14.1) (2023-11-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.14.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.1...barretenberg.js-v0.14.0) (2023-11-07) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.13.0...barretenberg.js-v0.13.1) (2023-10-31) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.13.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.12.0...barretenberg.js-v0.13.0) (2023-10-31) + ### Features -- New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) +* New script to output table of benchmarks for README pasting. ([#2780](https://github.com/AztecProtocol/aztec-packages/issues/2780)) ([6c20b45](https://github.com/AztecProtocol/aztec-packages/commit/6c20b45993ee9cbd319ab8351e2722e0c912f427)) + ### Miscellaneous -- Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) -- Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) -- Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) +* Automatic c_binds for commit should return a point instead of an Fr element ([#3072](https://github.com/AztecProtocol/aztec-packages/issues/3072)) ([2e289a5](https://github.com/AztecProtocol/aztec-packages/commit/2e289a5d11d28496ac47220bede03268065e0cb7)) +* Remove unecessary calls to `pedersen__init` ([#3079](https://github.com/AztecProtocol/aztec-packages/issues/3079)) ([84f8db2](https://github.com/AztecProtocol/aztec-packages/commit/84f8db20f482242ac29a23eb4c8876f14f060b4c)) +* Remove unused pedersen c_binds ([#3058](https://github.com/AztecProtocol/aztec-packages/issues/3058)) ([e71e5f9](https://github.com/AztecProtocol/aztec-packages/commit/e71e5f94ba920208e7cc9b2b1b9d62678b699812)) ## [0.12.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.1...barretenberg.js-v0.12.0) (2023-10-26) + ### ⚠ BREAKING CHANGES -- remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) +* remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ### Miscellaneous -- Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) -- Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) -- Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) -- Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) +* Proxy redundant `hash` methods ([#3046](https://github.com/AztecProtocol/aztec-packages/issues/3046)) ([df389b5](https://github.com/AztecProtocol/aztec-packages/commit/df389b5f593a202bc644479a6c3dff884b7d3652)) +* Remove `pedersen_buffer_to_field` from c_bind ([#3045](https://github.com/AztecProtocol/aztec-packages/issues/3045)) ([de7e63b](https://github.com/AztecProtocol/aztec-packages/commit/de7e63bf7e1184333c1eaadf2387fef6bf163871)) +* Remove plookup pedersen methods from c_bind namespace ([#3033](https://github.com/AztecProtocol/aztec-packages/issues/3033)) ([a8ea391](https://github.com/AztecProtocol/aztec-packages/commit/a8ea391c95a9fe4fa26a3fa987f52114a40c664a)) +* Rename pedersen typescript methods to be called `hash` instead of compress ([#3047](https://github.com/AztecProtocol/aztec-packages/issues/3047)) ([2f7cc5f](https://github.com/AztecProtocol/aztec-packages/commit/2f7cc5fd3242b04fa996b71dbd7282444e82e903)) ## [0.11.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.11.0...barretenberg.js-v0.11.1) (2023-10-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.11.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.1...barretenberg.js-v0.11.0) (2023-10-24) + ### Features -- Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) +* Pedersen hash in acir format ([#2990](https://github.com/AztecProtocol/aztec-packages/issues/2990)) ([2a4c548](https://github.com/AztecProtocol/aztec-packages/commit/2a4c548bc816a5f379ee841e26bb30411deef56b)) ## [0.10.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.10.0...barretenberg.js-v0.10.1) (2023-10-24) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.10.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.9.0...barretenberg.js-v0.10.0) (2023-10-24) + ### Features -- Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) +* Refactor pedersen hash standard ([#2592](https://github.com/AztecProtocol/aztec-packages/issues/2592)) ([3085676](https://github.com/AztecProtocol/aztec-packages/commit/3085676dd8a68ac43abc3e5c7843ff437df91d7d)) ## [0.9.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.14...barretenberg.js-v0.9.0) (2023-10-17) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.14](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.13...barretenberg.js-v0.8.14) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.13](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.12...barretenberg.js-v0.8.13) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.12](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.11...barretenberg.js-v0.8.12) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.11](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.10...barretenberg.js-v0.8.11) (2023-10-13) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.9...barretenberg.js-v0.8.10) (2023-10-11) + ### Features -- Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) +* Adding Fr back as a BB export (ts) ([#2770](https://github.com/AztecProtocol/aztec-packages/issues/2770)) ([d9ac808](https://github.com/AztecProtocol/aztec-packages/commit/d9ac8080a5525b9792b7b3f10c40583536bb256c)) ## [0.8.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.8...barretenberg.js-v0.8.9) (2023-10-10) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.7...barretenberg.js-v0.8.8) (2023-10-09) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.6...barretenberg.js-v0.8.7) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.5...barretenberg.js-v0.8.6) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.4...barretenberg.js-v0.8.5) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.3...barretenberg.js-v0.8.4) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.2...barretenberg.js-v0.8.3) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.1...barretenberg.js-v0.8.2) (2023-10-04) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.8.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.8.0...barretenberg.js-v0.8.1) (2023-10-03) + ### Bug Fixes -- Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) +* Remove -u from build_wasm script so that we can skip the build when SKIP_CPP_BUILD is unset ([#2649](https://github.com/AztecProtocol/aztec-packages/issues/2649)) ([84b8ff4](https://github.com/AztecProtocol/aztec-packages/commit/84b8ff4b46e1f542209c1f35a33b7cffdc083f04)) ## [0.8.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.10...barretenberg.js-v0.8.0) (2023-10-03) + ### ⚠ BREAKING CHANGES -- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) +* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ### Bug Fixes -- Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) +* Gates command should always return 8 bytes ([#2631](https://github.com/AztecProtocol/aztec-packages/issues/2631)) ([9668165](https://github.com/AztecProtocol/aztec-packages/commit/9668165372c4f5170aa7c4f161e031da0c845649)) + ### Miscellaneous -- Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) -- Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) -- Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) +* Provide cross compile to cjs. ([#2566](https://github.com/AztecProtocol/aztec-packages/issues/2566)) ([47d0d37](https://github.com/AztecProtocol/aztec-packages/commit/47d0d376727dfcb798af4ea019dfc23a9a57b6ca)) +* Remove `BarretenbergBinderSync` import from typescript bindgen file ([#2607](https://github.com/AztecProtocol/aztec-packages/issues/2607)) ([43af1a3](https://github.com/AztecProtocol/aztec-packages/commit/43af1a35c1bbe55cab102bef21375dd9986202ea)) +* Typo ([#2546](https://github.com/AztecProtocol/aztec-packages/issues/2546)) ([8656a3b](https://github.com/AztecProtocol/aztec-packages/commit/8656a3b1f4fce63c3acaed6e81ae77632df05ef5)) ## [0.7.10](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.9...barretenberg.js-v0.7.10) (2023-09-20) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.9](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.8...barretenberg.js-v0.7.9) (2023-09-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.8](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.7...barretenberg.js-v0.7.8) (2023-09-19) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.6...barretenberg.js-v0.7.7) (2023-09-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.5...barretenberg.js-v0.7.6) (2023-09-18) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.4...barretenberg.js-v0.7.5) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.3...barretenberg.js-v0.7.4) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.2...barretenberg.js-v0.7.3) (2023-09-15) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.1...barretenberg.js-v0.7.2) (2023-09-14) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.7.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.7.0...barretenberg.js-v0.7.1) (2023-09-14) + ### Miscellaneous -- Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) +* Move barretenberg to top of repo. Make circuits build off barretenberg build. ([#2221](https://github.com/AztecProtocol/aztec-packages/issues/2221)) ([404ec34](https://github.com/AztecProtocol/aztec-packages/commit/404ec34d38e1a9c3fbe7a3cdb6e88c28f62f72e4)) ## [0.7.0](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) + ### Bug Fixes -- Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) +* Add cjs-entry to bbjs package files ([#2237](https://github.com/AztecProtocol/aztec-packages/issues/2237)) ([ae16193](https://github.com/AztecProtocol/aztec-packages/commit/ae16193b3cdb2da3d57a1c74f7e71f139ced54d1)) + ### Miscellaneous -- Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) +* Add debugging to run_tests ([#2212](https://github.com/AztecProtocol/aztec-packages/issues/2212)) ([1c5e78a](https://github.com/AztecProtocol/aztec-packages/commit/1c5e78a4ac01bee4b785857447efdb02d8d9cb35)) ## [0.6.7](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.6...barretenberg.js-v0.6.7) (2023-09-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.6](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.5...barretenberg.js-v0.6.6) (2023-09-11) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.5](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.4...barretenberg.js-v0.6.5) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.4](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.3...barretenberg.js-v0.6.4) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.3](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.2...barretenberg.js-v0.6.3) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.6.1...barretenberg.js-v0.6.2) (2023-09-08) + ### Miscellaneous -- **barretenberg.js:** Synchronize aztec-packages versions +* **barretenberg.js:** Synchronize aztec-packages versions ## [0.6.1](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.6.1) (2023-09-08) + ### Miscellaneous -- **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) -- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) -- Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) +* **master:** Release 0.5.2 ([#2141](https://github.com/AztecProtocol/aztec-packages/issues/2141)) ([451aad6](https://github.com/AztecProtocol/aztec-packages/commit/451aad6ea92ebced9839ca14baae10cee327be35)) +* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +* Release 0.6.1 ([1bd1a79](https://github.com/AztecProtocol/aztec-packages/commit/1bd1a79b0cefcd90306133aab141d992e8ea5fc3)) ## [0.5.2](https://github.com/AztecProtocol/aztec-packages/compare/barretenberg.js-v0.5.2...barretenberg.js-v0.5.2) (2023-09-08) + ### Miscellaneous -- Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) +* Release 0.5.2 ([f76b53c](https://github.com/AztecProtocol/aztec-packages/commit/f76b53c985116ac131a9b11b2a255feb7d0f8f13)) ## [0.5.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.5.0...barretenberg.js-v0.5.1) (2023-09-05) + ### Features -- Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) -- **ci:** Use content hash in build system, restrict docs build to _.ts or _.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) +* Add `info` command to bb ([#2010](https://github.com/AztecProtocol/barretenberg/issues/2010)) ([2882d97](https://github.com/AztecProtocol/barretenberg/commit/2882d97f5165239badb328be80568e7d683c0465)) +* **ci:** Use content hash in build system, restrict docs build to *.ts or *.cpp ([#1953](https://github.com/AztecProtocol/barretenberg/issues/1953)) ([297a20d](https://github.com/AztecProtocol/barretenberg/commit/297a20d7878a4aabab1cabf2cc5d2d67f9e969c5)) + ### Bug Fixes -- **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) -- **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) -- Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) +* **bb.js:** (breaking change) bundles bb.js properly so that it works in the browser and in node ([#1855](https://github.com/AztecProtocol/barretenberg/issues/1855)) ([bc93a5f](https://github.com/AztecProtocol/barretenberg/commit/bc93a5f8510d0dc600343e7e613ab84380d3c225)) +* **ci:** Incorrect content hash in some build targets ([#1973](https://github.com/AztecProtocol/barretenberg/issues/1973)) ([c6c469a](https://github.com/AztecProtocol/barretenberg/commit/c6c469aa5da7c6973f656ddf8af4fb20c3e8e4f6)) +* Master ([#1981](https://github.com/AztecProtocol/barretenberg/issues/1981)) ([59a454e](https://github.com/AztecProtocol/barretenberg/commit/59a454ecf1611424893e1cb093774a23dde39310)) ## [0.5.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.6...barretenberg.js-v0.5.0) (2023-09-01) + ### ⚠ BREAKING CHANGES -- update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) +* update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ### Miscellaneous Chores -- Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) +* Update to acvm 0.24.0 ([#1925](https://github.com/AztecProtocol/barretenberg/issues/1925)) ([5d8db8e](https://github.com/AztecProtocol/barretenberg/commit/5d8db8eb993334b43e24a51efba9c59e123320ab)) ## [0.4.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.5...barretenberg.js-v0.4.6) (2023-08-29) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.4...barretenberg.js-v0.4.5) (2023-08-28) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.3...barretenberg.js-v0.4.4) (2023-08-28) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.2...barretenberg.js-v0.4.3) (2023-08-23) + ### Bug Fixes -- Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) -- Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) +* Download SRS using one canonical URL across the codebase ([#1748](https://github.com/AztecProtocol/barretenberg/issues/1748)) ([5c91de7](https://github.com/AztecProtocol/barretenberg/commit/5c91de7296e054f6d5ac3dca94ca85e06d496048)) +* Proving fails when circuit has size > ~500K ([#1739](https://github.com/AztecProtocol/barretenberg/issues/1739)) ([6d32383](https://github.com/AztecProtocol/barretenberg/commit/6d323838a525190618d608598357ee4608c46699)) ## [0.4.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.1...barretenberg.js-v0.4.2) (2023-08-21) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.4.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.4.0...barretenberg.js-v0.4.1) (2023-08-21) + ### Bug Fixes -- **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) +* **bb:** Fix Typo ([#1709](https://github.com/AztecProtocol/barretenberg/issues/1709)) ([286d64e](https://github.com/AztecProtocol/barretenberg/commit/286d64e6036336314114f1d2a25273f4dabe36f4)) ## [0.4.0](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.6...barretenberg.js-v0.4.0) (2023-08-21) + ### ⚠ BREAKING CHANGES -- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) +* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ### Bug Fixes -- Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) -- Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) -- Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) +* Barretenberg binaries now take in the encoded circuit instead of a json file ([#1618](https://github.com/AztecProtocol/barretenberg/issues/1618)) ([180cdc9](https://github.com/AztecProtocol/barretenberg/commit/180cdc9ac7cf9aa793d9774dc866ceb4e6ec3fbc)) +* Bin reference when installing package ([#678](https://github.com/AztecProtocol/barretenberg/issues/678)) ([c734295](https://github.com/AztecProtocol/barretenberg/commit/c734295a10d2c40ede773519664170880f28b2b7)) +* Sync aztec master ([#680](https://github.com/AztecProtocol/barretenberg/issues/680)) ([3afc243](https://github.com/AztecProtocol/barretenberg/commit/3afc2438053f530e49fbebbdbadd8db8a630bb8c)) ## [0.3.6](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.5...barretenberg.js-v0.3.6) (2023-08-08) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.5](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.4...barretenberg.js-v0.3.5) (2023-08-07) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.4](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.3...barretenberg.js-v0.3.4) (2023-07-25) + ### Features -- Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) +* Modify bb.js to be compatible with next.js ([#544](https://github.com/AztecProtocol/barretenberg/issues/544)) ([d384089](https://github.com/AztecProtocol/barretenberg/commit/d384089f60d1a6d5baeb0d3459556a310b790366)) ## [0.3.3](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.2...barretenberg.js-v0.3.3) (2023-07-17) + ### Features -- Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) +* Bb and bb.js directly parse nargo bincode format. ([#610](https://github.com/AztecProtocol/barretenberg/issues/610)) ([d25e37a](https://github.com/AztecProtocol/barretenberg/commit/d25e37ad74b88dc45337b2a529ede3136dd4a699)) ## [0.3.2](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.1...barretenberg.js-v0.3.2) (2023-07-12) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## [0.3.1](https://github.com/AztecProtocol/barretenberg/compare/barretenberg.js-v0.3.0...barretenberg.js-v0.3.1) (2023-07-11) + ### Miscellaneous Chores -- **barretenberg.js:** Synchronize barretenberg versions +* **barretenberg.js:** Synchronize barretenberg versions ## 0.3.0 (2023-07-11) + ### Features -- **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) -- **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) -- Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) -- Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) -- **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) +* **bb.js:** initial API ([#232](https://github.com/AztecProtocol/barretenberg/issues/232)) ([c860b02](https://github.com/AztecProtocol/barretenberg/commit/c860b02d80425de161af50acf33e94d94eb0659c)) +* **dsl:** Add ECDSA secp256r1 verification ([#582](https://github.com/AztecProtocol/barretenberg/issues/582)) ([adc4c7b](https://github.com/AztecProtocol/barretenberg/commit/adc4c7b4eb634eae28dd28e25b94b93a5b49c80e)) +* Initial native version of bb binary. ([#524](https://github.com/AztecProtocol/barretenberg/issues/524)) ([4a1b532](https://github.com/AztecProtocol/barretenberg/commit/4a1b5322dc78921d253e6a374eba0b616ab788df)) +* Optimize memory consumption of pedersen generators ([#413](https://github.com/AztecProtocol/barretenberg/issues/413)) ([d60b16a](https://github.com/AztecProtocol/barretenberg/commit/d60b16a14219fd4bd130ce4537c3e94bfa10128f)) +* **ts:** allow passing srs via env functions ([#260](https://github.com/AztecProtocol/barretenberg/issues/260)) ([ac78353](https://github.com/AztecProtocol/barretenberg/commit/ac7835304f4524039abf0a0df9ae85d905f55c86)) + ### Bug Fixes -- **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) -- bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) -- Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) +* **build:** git add -f .yalc ([#265](https://github.com/AztecProtocol/barretenberg/issues/265)) ([7671192](https://github.com/AztecProtocol/barretenberg/commit/7671192c8a60ff0bc0f8ad3e14ac299ff780cc25)) +* bump timeout on common test. ([c9bc87d](https://github.com/AztecProtocol/barretenberg/commit/c9bc87d29fa1325162cb1e7bf2db7cc85747fd9e)) +* Trigger release-please ([#594](https://github.com/AztecProtocol/barretenberg/issues/594)) ([5042861](https://github.com/AztecProtocol/barretenberg/commit/5042861405df6b5659c0c32418720d8bdea81081)) diff --git a/barretenberg/ts/package.json b/barretenberg/ts/package.json index 51a21aa9dee4..5512cb9a003a 100644 --- a/barretenberg/ts/package.json +++ b/barretenberg/ts/package.json @@ -102,4 +102,4 @@ "webpack-dev-server": "^4.15.0", "worker-loader": "^3.0.8" } -} \ No newline at end of file +} diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml index 9877bddbb294..e100087b7852 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml @@ -1508,7 +1508,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml index 00bc295c0d2f..5f4c15854556 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -6515,7 +6515,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml index 688c672456c9..a66d94dd7dc1 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml index f58192d9177e..3cacd4ec5ae6 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml index 0c32cd703fcc..facffe6c4068 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml index 4da7e2355bdb..7dabe5fa7a98 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml @@ -22,7 +22,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x0ad7cf4b139c253b28143ba262c4b5710870e8be54333f3b15ed3617f7ae5f92" @@ -5244,7 +5244,7 @@ fee_write_sibling_path = [ ] [inputs.archive_root_membership_witness] -leaf_index = "7" +leaf_index = "5" sibling_path = [ "0x05c625ad4e12187e136570b29b020dea7e3963650e899ffd0fa073d73464a887", "0x2af669b88877cf3ac3d65e3d64c94dab025dcdbec4a3658b6a818057acf2be21", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml index 2f4f4d813754..0bb6cf1e8d95 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml @@ -18,7 +18,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -3515,7 +3515,7 @@ reverted = false [inputs.avm_proof_data.public_inputs.start_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.avm_proof_data.public_inputs.start_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -4853,7 +4853,7 @@ inner = "0x0000000000000000000000000000000000000000000000000000000000000000" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -19073,7 +19073,7 @@ public_data_tree_sibling_paths = [ ] [inputs.archive_root_membership_witness] -leaf_index = "8" +leaf_index = "5" sibling_path = [ "0x190e7dc0a4fcb9c317c351190ee064f5cd8a5f575da0377390f8add3c5d5d4d9", "0x0186a873772f6337a7539a2062dd2e501cf9a991df463cee3e9e068fe8058d98", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml index 2170db5dbca0..39a35c24c7cb 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-block-merge/Prover.toml @@ -3403,10 +3403,6 @@ prover_id = "0x0000000000000000000000000000000000000000000000000000000000000051" root = "0x1cffcc63d710ac154b6732b7661770c7a418ccc3c057d66d3f9cf29575d33472" next_available_leaf_index = "0x000000000000000000000000000000000000000000000000000000000000000a" - [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.new_archive] - root = "0x1566582e6653f16bc9df9431aeb78df062bf2700872597c2c497d5fd9f9b1fb2" - next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000009" - [inputs.previous_rollup_data.block_root_or_block_merge_public_inputs.start_global_variables] chain_id = "0x0000000000000000000000000000000000000000000000000000000000007a69" version = "0x0000000000000000000000000000000000000000000000000000000000000001" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr index b29d57105772..915eef2cca05 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/block_root/block_root_rollup_inputs.nr @@ -193,97 +193,4 @@ pub(crate) mod tests { let _ = builder.execute(); } - - #[test] - unconstrained fn correct_block_root_rollup_output() { - let builder = TestBuilder::new().mock_evaluate_blobs(); - - let output = builder.execute(); - - let left_rollup = builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs; - let right_rollup = builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs; - - assert_eq(output.previous_archive, left_rollup.constants.last_archive); - assert(output.new_archive != output.previous_archive); - assert_eq(output.start_global_variables, left_rollup.constants.global_variables); - assert_eq(output.end_global_variables, left_rollup.constants.global_variables); - - let expected_out_hash = accumulate_sha256([left_rollup.out_hash, right_rollup.out_hash]); - assert_eq(output.out_hash, expected_out_hash); - - let expected_fee = FeeRecipient { - recipient: left_rollup.constants.global_variables.coinbase, - value: left_rollup.accumulated_fees + right_rollup.accumulated_fees, - }; - assert_array_eq(output.fees, [expected_fee]); - } - - #[test] - fn correct_blob_with_non_empty_fields() { - // Note: this test will not run in unconstrained, because it reaches the foreign call - // TODO(#10323): remove the oracle and switch this test to unconstrained - - // The below values are generated from block_building_helper.test.ts. - let blob_fields_0 = [ - 0x000000000000000000000000000000000074785f737461727400000500010000, - 0x000000000000000000000000000000000000000000000000000000000000002a, - 0x0002000000000000000000000000000000000000000000000000000000000000, - 0x0000000000000000000000000000000000000000000000000000000004000001, - 0x0000000000000000000000000000000000000000000000000000000000000123, - ]; - let blob_fields_1 = [ - 0x000000000000000000000000000000000074785f737461727400000700010000, - 0x000000000000000000000000000000000000000000000000000000000000002b, - 0x0002000000000000000000000000000000000000000000000000000000000000, - 0x0000000000000000000000000000000000000000000000000000000003000001, - 0x0000000000000000000000000000000000000000000000000000000000006789, - 0x0000000000000000000000000000000000000000000000000000000004000001, - 0x0000000000000000000000000000000000000000000000000000000000000045, - ]; - let expected_blob_commitment = [ - 0x008c32fe581c8fdba12c0d7597911dead2d937d68525bae655508412bb53bb98, - 0x0000000000000000000000000000006aaa0680f21270e7d8de4e19da5164f95c, - ]; - let expected_blobs_hash = - 0x00a965619c8668b834755678b32d023b9c5e8588ce449f44f7fa9335455b5cc5; - let expected_z = 0x1f92b871671f27a378d23f1cef10fbd8f0d90dd7172da9e3c3fc1aa745a072c3; - - let mut builder = TestBuilder::new_with_blobs_fields(blob_fields_0, blob_fields_1); - builder.data.blob_commitments[0].inner = expected_blob_commitment; - builder.data.blobs_hash = expected_blobs_hash; - - let output = builder.execute(); - - let start_sponge_blob = - builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob; - let end_sponge_blob = - builder.previous_rollup_data[1].base_or_merge_rollup_public_inputs.end_sponge_blob; - let blobs_fields = array_concat(blob_fields_0, blob_fields_1); - let mut expected_sponge = start_sponge_blob; - expected_sponge.absorb(blobs_fields, blobs_fields.len()); - assert(!end_sponge_blob.eq(start_sponge_blob)); - assert(end_sponge_blob.eq(expected_sponge)); - - let hashed_tx_effects = expected_sponge.squeeze(); - let computed_z = Poseidon2::hash( - [hashed_tx_effects, expected_blob_commitment[0], expected_blob_commitment[1]], - 3, - ); - assert_eq(computed_z, expected_z); - assert_eq(output.blob_public_inputs[0].inner[0].z, expected_z); - assert_eq( - output.blob_public_inputs[0].inner[0].kzg_commitment.inner, - expected_blob_commitment, - ); - } - - #[test(should_fail_with = "block's first blob sponge was not empty")] - unconstrained fn non_empty_start_blob_fails() { - let mut builder = TestBuilder::new(); - - builder.previous_rollup_data[0].base_or_merge_rollup_public_inputs.start_sponge_blob.fields = - 1; - - let _ = builder.execute(); - } } diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml index e4468220d356..edd8af37b725 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml @@ -882,7 +882,7 @@ next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000 "0x234ad0eebbc903d5819d1d912167965e70a71b1cad76b7c094b9c948ec3334f0", "0x25e6ff8e72ba7a1d4fc3b7c0459287c577dfe649c9426a52bf4538eecfdb0eae" ] - cache_size = "0x0000000000000000000000000000000000000000000000000000000000000002" + cache_size = "0x0000000000000000000000000000000000000000000000000000000000000003" squeeze_mode = false [inputs.previous_rollup_data.proof] diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs index 11986d080d56..b248f6734a90 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/opt/normalize_value_ids.rs @@ -3,7 +3,6 @@ use std::collections::BTreeMap; use crate::ssa::{ ir::{ basic_block::BasicBlockId, - dfg::DataFlowGraph, function::{Function, FunctionId}, map::SparseMap, post_order::PostOrder, @@ -26,7 +25,7 @@ impl Ssa { let mut context = Context::default(); context.populate_functions(&self.functions); for function in self.functions.values_mut() { - context.normalize_ids(function, &self.globals.dfg); + context.normalize_ids(function); } self.functions = context.functions.into_btree(); } @@ -66,7 +65,7 @@ impl Context { } } - fn normalize_ids(&mut self, old_function: &mut Function, globals: &DataFlowGraph) { + fn normalize_ids(&mut self, old_function: &mut Function) { self.new_ids.blocks.clear(); self.new_ids.values.clear(); diff --git a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index c06e22ea66e8..0b778ef9b78d 100644 --- a/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/noir/noir-repo/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -123,7 +123,6 @@ impl<'a> FunctionContext<'a> { let definitions = HashMap::default(); let mut this = Self { definitions, builder, shared_context, loops: Vec::new() }; - this.add_globals(); this.add_parameters_to_scope(parameters); this } @@ -147,12 +146,6 @@ impl<'a> FunctionContext<'a> { self.add_parameters_to_scope(&func.parameters); } - fn add_globals(&mut self) { - for (_, value) in self.shared_context.globals_context.dfg.values_iter() { - self.builder.current_function.dfg.make_global(value.get_type().into_owned()); - } - } - /// Add each parameter to the current scope, and return the list of parameter types. /// /// The returned parameter type list will be flattened, so any struct parameters will diff --git a/noir/noir-repo/tooling/lsp/src/requests/completion.rs b/noir/noir-repo/tooling/lsp/src/requests/completion.rs index b639e17e4e41..0d737e29ff7c 100644 --- a/noir/noir-repo/tooling/lsp/src/requests/completion.rs +++ b/noir/noir-repo/tooling/lsp/src/requests/completion.rs @@ -28,7 +28,6 @@ use noirc_frontend::{ def_map::{CrateDefMap, LocalModuleId, ModuleDefId, ModuleId}, resolution::visibility::{ item_in_module_is_visible, method_call_is_visible, struct_member_is_visible, - trait_member_is_visible, }, }, hir_def::traits::Trait, diff --git a/yarn-project/aztec/package.json b/yarn-project/aztec/package.json index ed1f89249f7b..19e7e64f0b00 100644 --- a/yarn-project/aztec/package.json +++ b/yarn-project/aztec/package.json @@ -116,4 +116,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/yarn-project/bb-prover/src/avm_proving.test.ts b/yarn-project/bb-prover/src/avm_proving.test.ts index 154c810f73b4..feb7581be9e3 100644 --- a/yarn-project/bb-prover/src/avm_proving.test.ts +++ b/yarn-project/bb-prover/src/avm_proving.test.ts @@ -290,47 +290,6 @@ describe('AVM WitGen, "check circuit" tests', () => { }, TIMEOUT, ); - it( - 'Should prove and verify multiple app logic enqueued calls (set storage in first call, read it in next)', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ [], - /*setupArgs=*/ [], - /*appFunctionNames=*/ ['set_storage_single', 'read_assert_storage_single'], - /*appArgs=*/ [[new Fr(5)], [new Fr(5)]], - ); - }, - TIMEOUT, - ); - it( - 'Should prove and verify multiple app logic enqueued calls (like `enqueue_public_from_private`)', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ [], - /*setupArgs=*/ [], - /*appFunctionNames=*/ ['set_opcode_u8', 'set_read_storage_single'], - /*appArgs=*/ [[], [new Fr(5)]], - ); - }, - TIMEOUT, - ); - it.skip( - 'Should prove and verify enqueued calls in every phase, with enqueued calls that depend on each other', - async () => { - await proveAndVerifyAvmTestContract( - /*checkCircuitOnly=*/ true, - /*setupFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], - /*setupArgs=*/ [[new Fr(0)], [new Fr(5)]], - /*appFunctionNames=*/ ['read_assert_storage_single', 'set_storage_single'], - /*appArgs=*/ [[new Fr(5)], [new Fr(10)]], - /*teardownFunctionName=*/ 'read_assert_storage_single', - /*teardownArgs=*/ [new Fr(10)], - ); - }, - TIMEOUT, - ); }); /** diff --git a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts index 77512f94446e..f36a6091d207 100644 --- a/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts +++ b/yarn-project/circuits.js/src/structs/rollup/empty_block_root_rollup_inputs.ts @@ -1,5 +1,5 @@ import { bufferSchemaFor } from '@aztec/foundation/schemas'; -import { BufferReader, type Tuple, serializeToBuffer } from '@aztec/foundation/serialize'; +import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; import { bufferToHex, hexToBuffer } from '@aztec/foundation/string'; import { type FieldsOf } from '@aztec/foundation/types'; diff --git a/yarn-project/prover-client/src/orchestrator/orchestrator.ts b/yarn-project/prover-client/src/orchestrator/orchestrator.ts index f5329d57b58e..3d96c3b06d6d 100644 --- a/yarn-project/prover-client/src/orchestrator/orchestrator.ts +++ b/yarn-project/prover-client/src/orchestrator/orchestrator.ts @@ -20,7 +20,7 @@ import { BaseParityInputs, type BlockHeader, Fr, - GlobalVariables, + type GlobalVariables, L1_TO_L2_MSG_SUBTREE_HEIGHT, L1_TO_L2_MSG_SUBTREE_SIBLING_PATH_LENGTH, NUMBER_OF_L1_L2_MESSAGES_PER_ROLLUP, @@ -161,22 +161,6 @@ export class ProvingOrchestrator implements EpochProver { const lastArchive = await getTreeSnapshot(MerkleTreeId.ARCHIVE, db); const newArchiveSiblingPath = await getRootTreeSiblingPath(MerkleTreeId.ARCHIVE, db); - const partial = new PartialStateReference( - await getTreeSnapshot(MerkleTreeId.NOTE_HASH_TREE, db), - await getTreeSnapshot(MerkleTreeId.NULLIFIER_TREE, db), - await getTreeSnapshot(MerkleTreeId.PUBLIC_DATA_TREE, db), - ); - const state = new StateReference(messageTreeSnapshot, partial); - // TODO: Construct the full previousBlockHeader. - const previousBlockHeader = BlockHeader.from({ - lastArchive: startArchiveSnapshot, - contentCommitment: ContentCommitment.empty(), - state, - globalVariables: GlobalVariables.empty(), - totalFees: Fr.ZERO, - totalManaUsed: Fr.ZERO, - }); - const blockProvingState = this.provingState!.startNewBlock( globalVariables, l1ToL2Messages, diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts index 9044091385a7..a502209d5104 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.test.ts @@ -180,19 +180,4 @@ describe('BrokerCircuitProverFacade', () => { await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); }); - - it('rejects jobs when the facade is stopped', async () => { - const inputs = makeBaseParityInputs(); - const controller = new AbortController(); - - const resultPromise = promiseWithResolvers(); - jest.spyOn(broker, 'enqueueProvingJob'); - jest.spyOn(prover, 'getBaseParityProof').mockReturnValue(resultPromise.promise); - - const promise = facade.getBaseParityProof(inputs, controller.signal, 42).catch(err => ({ err })); - - await facade.stop(); - - await expect(promise).resolves.toEqual({ err: new Error('Broker facade stopped') }); - }); }); diff --git a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts index 3841220bdbc0..833979906d17 100644 --- a/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts +++ b/yarn-project/prover-client/src/proving_broker/broker_prover_facade.ts @@ -59,20 +59,6 @@ type ProvingJob = { signal?: AbortSignal; }; -// Perform a snapshot sync every 30 seconds -const SNAPSHOT_SYNC_INTERVAL_MS = 30_000; - -const MAX_CONCURRENT_JOB_SETTLED_REQUESTS = 10; -const SNAPSHOT_SYNC_CHECK_MAX_REQUEST_SIZE = 1000; - -type ProvingJob = { - id: ProvingJobId; - type: ProvingRequestType; - promise: PromiseWithResolvers; - abortFn?: () => Promise; - signal?: AbortSignal; -}; - export class BrokerCircuitProverFacade implements ServerCircuitProver { private jobs: Map = new Map(); private runningPromise?: RunningPromise; diff --git a/yarn-project/txe/src/oracle/txe_oracle.ts b/yarn-project/txe/src/oracle/txe_oracle.ts index ca96c406db8c..b338e756b65d 100644 --- a/yarn-project/txe/src/oracle/txe_oracle.ts +++ b/yarn-project/txe/src/oracle/txe_oracle.ts @@ -120,10 +120,6 @@ export class TXE implements TypedOracle { private noteCache: ExecutionNoteCache; - private simulationProvider = new WASMSimulator(); - - private noteCache: ExecutionNoteCache; - debug: LogFn; constructor( From d3845774b6ea92403dfb597072f385084c516d49 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 17:56:11 +0000 Subject: [PATCH 27/46] fix: dirty rebase --- .../crates/private-kernel-init/Prover.toml | 2 +- .../crates/private-kernel-inner/Prover.toml | 4 ++-- .../crates/private-kernel-reset/Prover.toml | 2 +- .../crates/private-kernel-tail-to-public/Prover.toml | 2 +- .../crates/private-kernel-tail/Prover.toml | 2 +- .../crates/rollup-base-private/Prover.toml | 4 ++-- .../crates/rollup-base-public/Prover.toml | 8 ++++---- .../crates/rollup-merge/Prover.toml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml index e100087b7852..9877bddbb294 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-init/Prover.toml @@ -1508,7 +1508,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml index 5f4c15854556..00bc295c0d2f 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-inner/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -6515,7 +6515,7 @@ _value = "0x0000000000000000000000000000000000000000000000000000000000000000" [app_public_inputs.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [app_public_inputs.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml index a66d94dd7dc1..688c672456c9 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-reset/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml index 3cacd4ec5ae6..f58192d9177e 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail-to-public/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x1bdf1f2eb2d18abc58a3a5e428275f9bd24bba2b68e281ab59d [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml index facffe6c4068..0c32cd703fcc 100644 --- a/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/private-kernel-tail/Prover.toml @@ -182,7 +182,7 @@ claimed_first_nullifier = "0x281fee20d8354147ce54e1186a5312d51ef0d7bf7a6f40f61ed [previous_kernel_public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [previous_kernel_public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml index 7dabe5fa7a98..4da7e2355bdb 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-private/Prover.toml @@ -22,7 +22,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x0ad7cf4b139c253b28143ba262c4b5710870e8be54333f3b15ed3617f7ae5f92" @@ -5244,7 +5244,7 @@ fee_write_sibling_path = [ ] [inputs.archive_root_membership_witness] -leaf_index = "5" +leaf_index = "7" sibling_path = [ "0x05c625ad4e12187e136570b29b020dea7e3963650e899ffd0fa073d73464a887", "0x2af669b88877cf3ac3d65e3d64c94dab025dcdbec4a3658b6a818057acf2be21", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml index 0bb6cf1e8d95..2f4f4d813754 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-base-public/Prover.toml @@ -18,7 +18,7 @@ protocol_contract_tree_root = "0x2f9edcbdd0cfc67764aa32cdef9ea44f2914b44bfd9cf77 [inputs.tube_data.public_inputs.constants.historical_header.state.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000050" +next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000080" [inputs.tube_data.public_inputs.constants.historical_header.state.partial.note_hash_tree] root = "0x2596f3d6b05b7055c3c5ab89de6e270b653cb30c3dd6b9cfd230ff41b5ffa623" @@ -3515,7 +3515,7 @@ reverted = false [inputs.avm_proof_data.public_inputs.start_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" [inputs.avm_proof_data.public_inputs.start_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -4853,7 +4853,7 @@ inner = "0x0000000000000000000000000000000000000000000000000000000000000000" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.l1_to_l2_message_tree] root = "0x2e33ee2008411c04b99c24b313513d097a0d21a5040b6193d1f978b8226892d6" -next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000000000000000070" +next_available_leaf_index = "0x00000000000000000000000000000000000000000000000000000000000000a0" [inputs.avm_proof_data.public_inputs.end_tree_snapshots.note_hash_tree] root = "0x2da60f40a9ef5e4c47aca72c089ac5b94fdf0ca8508a087a870f6cf78be61ab0" @@ -19073,7 +19073,7 @@ public_data_tree_sibling_paths = [ ] [inputs.archive_root_membership_witness] -leaf_index = "5" +leaf_index = "8" sibling_path = [ "0x190e7dc0a4fcb9c317c351190ee064f5cd8a5f575da0377390f8add3c5d5d4d9", "0x0186a873772f6337a7539a2062dd2e501cf9a991df463cee3e9e068fe8058d98", diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml index edd8af37b725..e4468220d356 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml +++ b/noir-projects/noir-protocol-circuits/crates/rollup-merge/Prover.toml @@ -882,7 +882,7 @@ next_available_leaf_index = "0x0000000000000000000000000000000000000000000000000 "0x234ad0eebbc903d5819d1d912167965e70a71b1cad76b7c094b9c948ec3334f0", "0x25e6ff8e72ba7a1d4fc3b7c0459287c577dfe649c9426a52bf4538eecfdb0eae" ] - cache_size = "0x0000000000000000000000000000000000000000000000000000000000000003" + cache_size = "0x0000000000000000000000000000000000000000000000000000000000000002" squeeze_mode = false [inputs.previous_rollup_data.proof] From 4f18b314dd80f6a4d80f2d20813c1ff5f3aab8b8 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:40:54 +0000 Subject: [PATCH 28/46] feat: http client can read from consensus layer --- yarn-project/blob-sink/src/client/http.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index ece4ad85b5b7..77fb02ccc6ae 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -57,8 +57,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { * * 1. First atttempts to get blobs from a configured blob sink * 2. If no blob sink is configured, attempts to get blobs from a configured consensus host - - * // TODO(md): blow up? + * * 3. If none configured, fails * * @param blockHash - The block hash From b8305981471cb6b6a0a22501c8590a009e9aa322 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:38:17 +0000 Subject: [PATCH 29/46] commit --- .../archiver/src/archiver/data_retrieval.ts | 1 + .../src/e2e_token_contract/minting.test.ts | 54 +++++++++---------- .../foundation/src/serialize/field_reader.ts | 8 +++ .../src/publisher/l1-publisher.ts | 5 ++ 4 files changed, 41 insertions(+), 27 deletions(-) diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index ca193b17de14..e086e9e0ec31 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -140,6 +140,7 @@ async function getBlockFromRollupTx( blobSinkClient: BlobSinkClientInterface, txHash: `0x${string}`, l2BlockNum: bigint, + logger: Logger, ): Promise { const { input: data, blockHash } = await publicClient.getTransaction({ hash: txHash }); diff --git a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts index b2fcc69add96..6dea0c732c2d 100644 --- a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts +++ b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts @@ -20,7 +20,7 @@ describe('e2e_token_contract minting', () => { }); describe('Public', () => { - it('as minter', async () => { + it.only('as minter', async () => { const amount = 10000n; await asset.methods.mint_to_public(accounts[0].address, amount).send().wait(); @@ -31,34 +31,34 @@ describe('e2e_token_contract minting', () => { expect(await asset.methods.total_supply().simulate()).toEqual(tokenSim.totalSupply); }); - describe('failure cases', () => { - it('as non-minter', async () => { - const amount = 10000n; - await expect( - asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), - ).rejects.toThrow('Assertion failed: caller is not minter'); - }); + // describe('failure cases', () => { + // it('as non-minter', async () => { + // const amount = 10000n; + // await expect( + // asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), + // ).rejects.toThrow('Assertion failed: caller is not minter'); + // }); - it('mint >u128 tokens to overflow', async () => { - const amount = 2n ** 128n; // U128::max() + 1; - await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - BITSIZE_TOO_BIG_ERROR, - ); - }); + // it('mint >u128 tokens to overflow', async () => { + // const amount = 2n ** 128n; // U128::max() + 1; + // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + // BITSIZE_TOO_BIG_ERROR, + // ); + // }); - it('mint u128', async () => { - const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - U128_OVERFLOW_ERROR, - ); - }); + // it('mint u128', async () => { + // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + // U128_OVERFLOW_ERROR, + // ); + // }); - it('mint u128', async () => { - const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( - U128_OVERFLOW_ERROR, - ); - }); - }); + // it('mint u128', async () => { + // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + // await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( + // U128_OVERFLOW_ERROR, + // ); + // }); + // }); }); }); diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index b9c593615a53..5297386dbd5c 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -34,6 +34,14 @@ export class FieldReader { return new FieldReader(fields); } + public skip(n: number) { + this.index += n; + } + + get cursor() { + return this.index; + } + /** * Skips the next n fields. * diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts index c4f992aa9969..5752a840207a 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts @@ -1175,6 +1175,11 @@ export class L1Publisher { * to calculate and will need to be mocked in e2e tests */ protected sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise { + blobs.forEach(b => { + this.log.verbose(`Blob: ${Buffer.from(b.data).toString('hex').slice(0, 100)}`); + this.log.verbose(`Blob commitment: ${Buffer.from(b.commitment).toString('hex')}`); + this.log.verbose(`Blob proof: ${Buffer.from(b.proof).toString('hex')}`); + }); return this.blobSinkClient.sendBlobsToBlobSink(blockHash, blobs); } } From c2899dcd6d291818e9b7de880049006883deb3cb Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:39:51 +0000 Subject: [PATCH 30/46] config --- .../archiver/src/archiver/data_retrieval.ts | 1 - .../src/e2e_token_contract/minting.test.ts | 54 +++++++++---------- .../src/publisher/l1-publisher.ts | 5 -- 3 files changed, 27 insertions(+), 33 deletions(-) diff --git a/yarn-project/archiver/src/archiver/data_retrieval.ts b/yarn-project/archiver/src/archiver/data_retrieval.ts index e086e9e0ec31..ca193b17de14 100644 --- a/yarn-project/archiver/src/archiver/data_retrieval.ts +++ b/yarn-project/archiver/src/archiver/data_retrieval.ts @@ -140,7 +140,6 @@ async function getBlockFromRollupTx( blobSinkClient: BlobSinkClientInterface, txHash: `0x${string}`, l2BlockNum: bigint, - logger: Logger, ): Promise { const { input: data, blockHash } = await publicClient.getTransaction({ hash: txHash }); diff --git a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts index 6dea0c732c2d..b2fcc69add96 100644 --- a/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts +++ b/yarn-project/end-to-end/src/e2e_token_contract/minting.test.ts @@ -20,7 +20,7 @@ describe('e2e_token_contract minting', () => { }); describe('Public', () => { - it.only('as minter', async () => { + it('as minter', async () => { const amount = 10000n; await asset.methods.mint_to_public(accounts[0].address, amount).send().wait(); @@ -31,34 +31,34 @@ describe('e2e_token_contract minting', () => { expect(await asset.methods.total_supply().simulate()).toEqual(tokenSim.totalSupply); }); - // describe('failure cases', () => { - // it('as non-minter', async () => { - // const amount = 10000n; - // await expect( - // asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), - // ).rejects.toThrow('Assertion failed: caller is not minter'); - // }); + describe('failure cases', () => { + it('as non-minter', async () => { + const amount = 10000n; + await expect( + asset.withWallet(wallets[1]).methods.mint_to_public(accounts[0].address, amount).simulate(), + ).rejects.toThrow('Assertion failed: caller is not minter'); + }); - // it('mint >u128 tokens to overflow', async () => { - // const amount = 2n ** 128n; // U128::max() + 1; - // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - // BITSIZE_TOO_BIG_ERROR, - // ); - // }); + it('mint >u128 tokens to overflow', async () => { + const amount = 2n ** 128n; // U128::max() + 1; + await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + BITSIZE_TOO_BIG_ERROR, + ); + }); - // it('mint u128', async () => { - // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - // await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( - // U128_OVERFLOW_ERROR, - // ); - // }); + it('mint u128', async () => { + const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + await expect(asset.methods.mint_to_public(accounts[0].address, amount).simulate()).rejects.toThrow( + U128_OVERFLOW_ERROR, + ); + }); - // it('mint u128', async () => { - // const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); - // await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( - // U128_OVERFLOW_ERROR, - // ); - // }); - // }); + it('mint u128', async () => { + const amount = 2n ** 128n - tokenSim.balanceOfPublic(accounts[0].address); + await expect(asset.methods.mint_to_public(accounts[1].address, amount).simulate()).rejects.toThrow( + U128_OVERFLOW_ERROR, + ); + }); + }); }); }); diff --git a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts index 5752a840207a..c4f992aa9969 100644 --- a/yarn-project/sequencer-client/src/publisher/l1-publisher.ts +++ b/yarn-project/sequencer-client/src/publisher/l1-publisher.ts @@ -1175,11 +1175,6 @@ export class L1Publisher { * to calculate and will need to be mocked in e2e tests */ protected sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise { - blobs.forEach(b => { - this.log.verbose(`Blob: ${Buffer.from(b.data).toString('hex').slice(0, 100)}`); - this.log.verbose(`Blob commitment: ${Buffer.from(b.commitment).toString('hex')}`); - this.log.verbose(`Blob proof: ${Buffer.from(b.proof).toString('hex')}`); - }); return this.blobSinkClient.sendBlobsToBlobSink(blockHash, blobs); } } From 1aabedf2bd948e5c0a13b109d7f001fb1b0e0c5e Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:45:28 +0000 Subject: [PATCH 31/46] fix: running promise test --- .../src/promise/running-promise.test.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/yarn-project/foundation/src/promise/running-promise.test.ts b/yarn-project/foundation/src/promise/running-promise.test.ts index 709e91c144af..71d8c486e3f0 100644 --- a/yarn-project/foundation/src/promise/running-promise.test.ts +++ b/yarn-project/foundation/src/promise/running-promise.test.ts @@ -78,5 +78,23 @@ describe('RunningPromise', () => { expect(counter).toEqual(1); expect(loggerSpy).not.toHaveBeenCalled(); }); + + class IgnoredError extends Error { + constructor() { + super('ignored'); + this.name = 'IgnoredError'; + } + } + + it('handles ignored errors', async () => { + const failingFn = async () => { + await fn(); + throw new IgnoredError(); + }; + runningPromise = new RunningPromise(failingFn, logger, 50, [IgnoredError]); + runningPromise.start(); + await sleep(90); + expect(counter).toEqual(0); + }); }); }); From 7979ab075b0925270b05be20096dcd9764ca56a2 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:48:34 +0000 Subject: [PATCH 32/46] fix: field reader tests --- .../foundation/src/serialize/field_reader.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index 5297386dbd5c..f764d20ddf77 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -34,11 +34,24 @@ export class FieldReader { return new FieldReader(fields); } + /** + * Skips the next n fields. + * + * @param n - The number of fields to skip. + */ public skip(n: number) { + if (this.index + n > this.length) { + throw new Error('Not enough fields to be consumed.'); + } this.index += n; } - get cursor() { + /** + * Returns the current cursor position. + * + * @returns The current cursor position. + */ + public get cursor() { return this.index; } From 6161aec8d80125decf916d0acd47b5648e2cfd11 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:37:19 +0000 Subject: [PATCH 33/46] fix: test --- yarn-project/foundation/src/promise/running-promise.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yarn-project/foundation/src/promise/running-promise.test.ts b/yarn-project/foundation/src/promise/running-promise.test.ts index 71d8c486e3f0..f87b4af074fe 100644 --- a/yarn-project/foundation/src/promise/running-promise.test.ts +++ b/yarn-project/foundation/src/promise/running-promise.test.ts @@ -91,10 +91,12 @@ describe('RunningPromise', () => { await fn(); throw new IgnoredError(); }; + const loggerSpy = jest.spyOn(logger, 'error'); runningPromise = new RunningPromise(failingFn, logger, 50, [IgnoredError]); runningPromise.start(); - await sleep(90); - expect(counter).toEqual(0); + await sleep(150); + expect(counter).toEqual(1); + expect(loggerSpy).not.toHaveBeenCalled(); }); }); }); From 20191642ed871ef1f7e018056af28e8921641e74 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 18:39:12 +0000 Subject: [PATCH 34/46] fix: javascript adding a string to a number --- yarn-project/blob-sink/src/client/http.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index 77fb02ccc6ae..0a2acef55082 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -107,6 +107,7 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { if (res.ok) { const body = await res.json(); + this.log.debug(`Blob sidecar for block ${blockHashOrSlot} is ${body}`); const blobs = body.data.map((b: BlobJson) => Blob.fromJson(b)); return blobs; } From 437c18ef6e1f14be4139f2dc6d152ae27bc2273d Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 20:11:43 +0000 Subject: [PATCH 35/46] fix: allow larger transactions --- yarn-project/blob-sink/src/client/http.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/yarn-project/blob-sink/src/client/http.ts b/yarn-project/blob-sink/src/client/http.ts index 0a2acef55082..77fb02ccc6ae 100644 --- a/yarn-project/blob-sink/src/client/http.ts +++ b/yarn-project/blob-sink/src/client/http.ts @@ -107,7 +107,6 @@ export class HttpBlobSinkClient implements BlobSinkClientInterface { if (res.ok) { const body = await res.json(); - this.log.debug(`Blob sidecar for block ${blockHashOrSlot} is ${body}`); const blobs = body.data.map((b: BlobJson) => Blob.fromJson(b)); return blobs; } From 12f5c0e46d87f906544966d946b9d038a51d9938 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:45:31 +0000 Subject: [PATCH 36/46] feat(spartan): blob sink in spartan --- .github/workflows/ci.yml | 7 +- ci.sh | 4 +- spartan/aztec-network/templates/_helpers.tpl | 4 + .../aztec-network/templates/blob-sink.yaml | 134 ++++++++++++++++++ .../aztec-network/templates/boot-node.yaml | 4 + .../aztec-network/templates/prover-node.yaml | 4 + .../aztec-network/templates/validator.yaml | 4 + spartan/aztec-network/values.yaml | 13 ++ .../aztec/src/cli/aztec_start_action.ts | 3 + .../aztec/src/cli/aztec_start_options.ts | 4 +- .../aztec/src/cli/cmds/start_blob_sink.ts | 32 +++++ .../blob-sink/src/server/server.test.ts | 7 + yarn-project/blob-sink/src/server/server.ts | 9 +- .../end-to-end/scripts/network_test.sh | 22 +++ 14 files changed, 246 insertions(+), 5 deletions(-) create mode 100644 spartan/aztec-network/templates/blob-sink.yaml create mode 100644 yarn-project/aztec/src/cli/cmds/start_blob_sink.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4726415358b6..35ebb3e585c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -408,6 +408,11 @@ jobs: values: ci runner_type: 16core-tester-x86 timeout: 40 + - test: 4epochs.test.ts + values: ci + overrides: "blobSink.enabled=true" + runner_type: 16core-tester-x86 + timeout: 40 # - test: gating-passive.test.ts # values: ci # runner_type: 16core-tester-x86 @@ -430,7 +435,7 @@ jobs: if ci3/test_should_run "$artifact"; then docker pull aztecprotocol/aztec:${{ env.GIT_COMMIT }} docker pull aztecprotocol/end-to-end:${{ env.GIT_COMMIT }} - ./ci.sh test-kind-network ${{ matrix.config.test }} ${{ matrix.config.values }} + ./ci.sh test-kind-network ${{ matrix.config.test }} ${{ matrix.config.values }} ${{ matrix.config.overrides }} ci3/cache_upload_flag "$artifact" fi - name: Copy Network Logs diff --git a/ci.sh b/ci.sh index d78c77251af5..e546b1dac692 100755 --- a/ci.sh +++ b/ci.sh @@ -192,9 +192,11 @@ case "$cmd" in "test-kind-network") test=${1:-transfer.test.ts} values=${2:-3-validators} + overrides=${3:-} + ./bootstrap.sh image-e2e cd yarn-project/end-to-end - NAMESPACE="kind-network-test" FRESH_INSTALL=true VALUES_FILE=$values.yaml ./scripts/network_test.sh ./src/spartan/$test + NAMESPACE="kind-network-test" FRESH_INSTALL=true VALUES_FILE=$values.yaml OVERRIDES="$overrides" ./scripts/network_test.sh ./src/spartan/$test exit 0 ;; "test-network") diff --git a/spartan/aztec-network/templates/_helpers.tpl b/spartan/aztec-network/templates/_helpers.tpl index b96837261865..aa007c2ea300 100644 --- a/spartan/aztec-network/templates/_helpers.tpl +++ b/spartan/aztec-network/templates/_helpers.tpl @@ -72,6 +72,10 @@ http://{{ include "aztec-network.fullname" . }}-boot-node-0.{{ include "aztec-ne http://{{ include "aztec-network.fullname" . }}-validator.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.validator.service.nodePort }} {{- end -}} +{{- define "aztec-network.blobSinkUrl" -}} +http://{{ include "aztec-network.fullname" . }}-blob-sink.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.blobSink.service.nodePort }} +{{- end -}} + {{- define "aztec-network.metricsHost" -}} http://{{ include "aztec-network.fullname" . }}-metrics.{{ .Release.Namespace }} {{- end -}} diff --git a/spartan/aztec-network/templates/blob-sink.yaml b/spartan/aztec-network/templates/blob-sink.yaml new file mode 100644 index 000000000000..8997c8cf961e --- /dev/null +++ b/spartan/aztec-network/templates/blob-sink.yaml @@ -0,0 +1,134 @@ +{{- if .Values.blobSink.enabled }} +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: {{ include "aztec-network.fullname" . }}-blob-sink + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + serviceName: {{ include "aztec-network.fullname" . }}-blob-sink + replicas: {{ .Values.blobSink.replicas }} + selector: + matchLabels: + {{- include "aztec-network.selectorLabels" . | nindent 6 }} + app: blob-sink + {{- if not .Values.storage.localSsd }} + volumeClaimTemplates: + - metadata: + name: blob-sink-data + spec: + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: {{ .Values.blobSink.dataStoreConfig.storageSize }} + {{- end }} + template: + metadata: + labels: + {{- include "aztec-network.selectorLabels" . | nindent 8 }} + app: blob-sink + spec: + {{- if .Values.storage.localSsd }} + {{- include "aztec-network.gcpLocalSsd" . | nindent 6 }} + {{- end }} + dnsPolicy: ClusterFirstWithHostNet + {{- if .Values.network.public }} + hostNetwork: true + {{- include "aztec-network.publicAntiAffinity" . | nindent 6 }} + {{- end }} + serviceAccountName: {{ include "aztec-network.fullname" . }}-node + initContainers: + containers: + - name: blob-sink + {{- include "aztec-network.image" . | nindent 10 }} + command: + - /bin/bash + - -c + - | + env && \ + node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js start --blob-sink + startupProbe: + httpGet: + path: /status + port: {{ .Values.blobSink.service.nodePort }} + periodSeconds: {{ .Values.blobSink.startupProbe.periodSeconds }} + failureThreshold: {{ .Values.blobSink.startupProbe.failureThreshold }} + livenessProbe: + httpGet: + path: /status + port: {{ .Values.blobSink.service.nodePort }} + initialDelaySeconds: 30 + periodSeconds: 5 + timeoutSeconds: 30 + failureThreshold: 3 + volumeMounts: + - name: blob-sink-data + mountPath: {{ .Values.blobSink.dataStoreConfig.dataDir }} + env: + - name: POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: K8S_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid + - name: K8S_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: OTEL_SERVICE_NAME + value: blob-sink + - name: K8S_NAMESPACE_NAME + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: BLOB_SINK_PORT + value: "{{ .Values.blobSink.service.nodePort }}" + - name: LOG_LEVEL + value: "{{ .Values.blobSink.logLevel }}" + - name: LOG_JSON + value: "1" + - name: DATA_DIRECTORY + value: "{{ .Values.blobSink.dataStoreConfig.dataDir }}" + - name: DATA_STORE_MAP_SIZE_KB + value: "{{ .Values.blobSink.dataStoreConfig.dataStoreMapSize }}" + - name: USE_GCLOUD_OBSERVABILITY + value: "{{ .Values.telemetry.useGcloudObservability }}" + ports: + - containerPort: {{ .Values.blobSink.service.nodePort }} + resources: + {{- toYaml .Values.blobSink.resources | nindent 12 }} + volumes: + - name: blob-sink-data + emptyDir: {} + {{- if .Values.storage.localSsd }} + - name: blob-sink-data + emptyDir: {} + {{ else }} + - name: blob-sink-data + persistentVolumeClaim: + claimName: blob-sink-data + {{- end }} +--- +# Headless service for StatefulSet DNS entries +apiVersion: v1 +kind: Service +metadata: + name: {{ include "aztec-network.fullname" . }}-blob-sink + labels: + {{- include "aztec-network.labels" . | nindent 4 }} +spec: + {{- if .Values.network.public }} + type: LoadBalancer + {{- else }} + type: ClusterIP + clusterIP: None + {{- end }} + selector: + {{- include "aztec-network.selectorLabels" . | nindent 4 }} + app: blob-sink + ports: + - port: {{ .Values.blobSink.service.nodePort }} + name: node +{{- end }} diff --git a/spartan/aztec-network/templates/boot-node.yaml b/spartan/aztec-network/templates/boot-node.yaml index c467ea50c9cf..f50414d6f60c 100644 --- a/spartan/aztec-network/templates/boot-node.yaml +++ b/spartan/aztec-network/templates/boot-node.yaml @@ -222,6 +222,10 @@ spec: value: "{{ .Values.telemetry.useGcloudObservability }}" - name: OTEL_EXCLUDE_METRICS value: "{{ .Values.bootNode.otelExcludeMetrics }}" + {{- if .Values.blobSink.enabled }} + - name: BLOB_SINK_URL + value: {{ include "aztec-network.blobSinkUrl" . }} + {{- end }} ports: - containerPort: {{ .Values.bootNode.service.nodePort }} - containerPort: {{ .Values.bootNode.service.p2pTcpPort }} diff --git a/spartan/aztec-network/templates/prover-node.yaml b/spartan/aztec-network/templates/prover-node.yaml index 3df3d60afaa8..2ca2f9ff0748 100644 --- a/spartan/aztec-network/templates/prover-node.yaml +++ b/spartan/aztec-network/templates/prover-node.yaml @@ -192,6 +192,10 @@ spec: value: "{{ .Values.telemetry.useGcloudObservability }}" - name: OTEL_EXCLUDE_METRICS value: "{{ .Values.proverNode.otelExcludeMetrics }}" + {{- if .Values.blobSink.enabled }} + - name: BLOB_SINK_URL + value: {{ include "aztec-network.blobSinkUrl" . }} + {{- end }} ports: - containerPort: {{ .Values.proverNode.service.nodePort }} - containerPort: {{ .Values.proverNode.service.p2pTcpPort }} diff --git a/spartan/aztec-network/templates/validator.yaml b/spartan/aztec-network/templates/validator.yaml index 39411ad2bf16..f91cac0153aa 100644 --- a/spartan/aztec-network/templates/validator.yaml +++ b/spartan/aztec-network/templates/validator.yaml @@ -213,6 +213,10 @@ spec: value: "{{ .Values.telemetry.useGcloudObservability }}" - name: OTEL_EXCLUDE_METRICS value: "{{ .Values.validator.otelExcludeMetrics }}" + {{- if .Values.blobSink.enabled }} + - name: BLOB_SINK_URL + value: {{ include "aztec-network.blobSinkUrl" . }} + {{- end }} ports: - containerPort: {{ .Values.validator.service.nodePort }} - containerPort: {{ .Values.validator.service.p2pTcpPort }} diff --git a/spartan/aztec-network/values.yaml b/spartan/aztec-network/values.yaml index 16f198d62230..e78aa465454f 100644 --- a/spartan/aztec-network/values.yaml +++ b/spartan/aztec-network/values.yaml @@ -314,6 +314,19 @@ jobs: deployL1Verifier: enable: false +blobSink: + enabled: false + replicas: 1 + service: + nodePort: 5052 + startupProbe: + periodSeconds: 10 + failureThreshold: 120 + dataStoreConfig: + dataDir: "/data" + storageSize: "8Gi" + dataStoreMapSize: "134217728" # 128 GB + faucet: replicas: 1 service: diff --git a/yarn-project/aztec/src/cli/aztec_start_action.ts b/yarn-project/aztec/src/cli/aztec_start_action.ts index f97db8d053d6..804223b1f2b4 100644 --- a/yarn-project/aztec/src/cli/aztec_start_action.ts +++ b/yarn-project/aztec/src/cli/aztec_start_action.ts @@ -70,6 +70,9 @@ export async function aztecStart(options: any, userLog: LogFn, debugLogger: Logg } else if (options.proverNode) { const { startProverNode } = await import('./cmds/start_prover_node.js'); await startProverNode(options, signalHandlers, services, userLog); + } else if (options.blobSink) { + const { startBlobSink } = await import('./cmds/start_blob_sink.js'); + await startBlobSink(options, signalHandlers, userLog); } else if (options.pxe) { const { startPXE } = await import('./cmds/start_pxe.js'); await startPXE(options, signalHandlers, services, userLog); diff --git a/yarn-project/aztec/src/cli/aztec_start_options.ts b/yarn-project/aztec/src/cli/aztec_start_options.ts index 58844c613735..ec2e482f9c01 100644 --- a/yarn-project/aztec/src/cli/aztec_start_options.ts +++ b/yarn-project/aztec/src/cli/aztec_start_options.ts @@ -1,7 +1,7 @@ import { type ArchiverConfig, archiverConfigMappings } from '@aztec/archiver/config'; import { faucetConfigMapping } from '@aztec/aztec-faucet/config'; import { sequencerClientConfigMappings } from '@aztec/aztec-node/config'; -import { blobSinkConfigMapping } from '@aztec/blob-sink/client'; +import { blobSinkConfigMappings } from '@aztec/blob-sink/server'; import { botConfigMappings } from '@aztec/bot/config'; import { type ConfigMapping, @@ -265,7 +265,7 @@ export const aztecStartOptions: { [key: string]: AztecStartOption[] } = { defaultValue: undefined, envVar: undefined, }, - ...getOptions('blobSink', blobSinkConfigMapping), + ...getOptions('blobSink', blobSinkConfigMappings), ], 'PROVER NODE': [ { diff --git a/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts b/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts new file mode 100644 index 000000000000..8149552840ee --- /dev/null +++ b/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts @@ -0,0 +1,32 @@ +import { + BlobSinkConfig, + blobSinkConfigMappings, + createBlobSinkServer, + getBlobSinkConfigFromEnv, +} from '@aztec/blob-sink/server'; +import { type NamespacedApiHandlers } from '@aztec/foundation/json-rpc/server'; +import { type LogFn } from '@aztec/foundation/log'; +import { createAndStartTelemetryClient, telemetryClientConfigMappings } from '@aztec/telemetry-client/start'; + +import { extractRelevantOptions } from '../util.js'; + +export async function startBlobSink(options: any, signalHandlers: (() => Promise)[], userLog: LogFn) { + if (options.prover || options.node || options.sequencer || options.pxe || options.p2pBootstrap || options.txe) { + userLog(`Starting a prover-node with --node, --sequencer, --pxe, --p2p-bootstrap, or --txe is not supported.`); + process.exit(1); + } + + const blobSinkConfig = { + ...getBlobSinkConfigFromEnv(), // get default config from env + ...extractRelevantOptions(options, blobSinkConfigMappings, 'blobSink'), // override with command line options + }; + + const telemetry = await createAndStartTelemetryClient( + extractRelevantOptions(options, telemetryClientConfigMappings, 'tel'), + ); + + const blobSink = await createBlobSinkServer(blobSinkConfig, telemetry); + signalHandlers.push(blobSink.stop.bind(blobSink)); + + await blobSink.start(); +} diff --git a/yarn-project/blob-sink/src/server/server.test.ts b/yarn-project/blob-sink/src/server/server.test.ts index 8b1329c86b7c..41da6faebeb6 100644 --- a/yarn-project/blob-sink/src/server/server.test.ts +++ b/yarn-project/blob-sink/src/server/server.test.ts @@ -19,6 +19,13 @@ describe('BlobSinkService', () => { await service.stop(); }); + describe('status', () => { + it('should return 200', async () => { + const response = await request(service.getApp()).get('/status'); + expect(response.status).toBe(200); + }); + }); + describe('should store and retrieve a blob sidecar', () => { const blob = makeEncodedBlob(3); const blob2 = makeEncodedBlob(3); diff --git a/yarn-project/blob-sink/src/server/server.ts b/yarn-project/blob-sink/src/server/server.ts index a4fe4177afd1..f98f2cb8f8d6 100644 --- a/yarn-project/blob-sink/src/server/server.ts +++ b/yarn-project/blob-sink/src/server/server.ts @@ -48,7 +48,7 @@ export class BlobSinkServer { } private setupRoutes() { - // TODO(md): needed? + this.app.get('/status', this.status.bind(this)); this.app.get('/eth/v1/beacon/headers/:block_id', this.handleGetBlockHeader.bind(this)); this.app.get('/eth/v1/beacon/blob_sidecars/:block_id', this.handleGetBlobSidecar.bind(this)); this.app.post('/blob_sidecar', this.handlePostBlobSidecar.bind(this)); @@ -72,6 +72,13 @@ export class BlobSinkServer { return; } + private status(_req: Request, res: Response) { + res.status(200).json({ + message: 'Ok', + }); + return; + } + private async handleGetBlobSidecar(req: Request, res: Response) { // eslint-disable-next-line camelcase const { block_id } = req.params; diff --git a/yarn-project/end-to-end/scripts/network_test.sh b/yarn-project/end-to-end/scripts/network_test.sh index b34469e4cdbf..b88351de0ba3 100755 --- a/yarn-project/end-to-end/scripts/network_test.sh +++ b/yarn-project/end-to-end/scripts/network_test.sh @@ -167,12 +167,34 @@ function generate_eth_devnet_config() { } generate_eth_devnet_config +function read_values_file() { + local key="$1" + + value=$(yq -r ".$key" "$VALUES_PATH") + if [ -z "$value" ] || [ "$value" = "null" ]; then + value=$(yq -r ".$key" "$DEFAULT_VALUES_PATH") + fi + echo "$value" +} + +function generate_overrides() { + local overrides="$1" + if [ -n "$overrides" ]; then + # Split the comma-separated string into an array and generate --set arguments + IFS=',' read -ra OVERRIDE_ARRAY <<< "$overrides" + for override in "${OVERRIDE_ARRAY[@]}"; do + echo "--set $override" + done + fi +} + # Install the Helm chart helm upgrade --install spartan "$REPO/spartan/aztec-network/" \ --namespace "$NAMESPACE" \ --create-namespace \ --values "$VALUES_PATH" \ --set images.aztec.image="aztecprotocol/aztec:$AZTEC_DOCKER_TAG" \ + $(generate_overrides "$OVERRIDES") \ --wait \ --wait-for-jobs=true \ --timeout="$INSTALL_TIMEOUT" From 866506509d0d41d909d366c8e79484b1e37bbc22 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Fri, 17 Jan 2025 22:05:06 +0000 Subject: [PATCH 37/46] fmt --- yarn-project/aztec/src/cli/cmds/start_blob_sink.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts b/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts index 8149552840ee..2a2536494166 100644 --- a/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts +++ b/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts @@ -1,10 +1,9 @@ import { - BlobSinkConfig, + type BlobSinkConfig, blobSinkConfigMappings, createBlobSinkServer, getBlobSinkConfigFromEnv, } from '@aztec/blob-sink/server'; -import { type NamespacedApiHandlers } from '@aztec/foundation/json-rpc/server'; import { type LogFn } from '@aztec/foundation/log'; import { createAndStartTelemetryClient, telemetryClientConfigMappings } from '@aztec/telemetry-client/start'; From 66410f603084ffe786d966eb962fa320615c6c97 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Sat, 18 Jan 2025 02:27:36 +0000 Subject: [PATCH 38/46] fix: telemetry client --- yarn-project/aztec/src/cli/cmds/start_blob_sink.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts b/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts index 2a2536494166..9f8f5721507e 100644 --- a/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts +++ b/yarn-project/aztec/src/cli/cmds/start_blob_sink.ts @@ -5,13 +5,15 @@ import { getBlobSinkConfigFromEnv, } from '@aztec/blob-sink/server'; import { type LogFn } from '@aztec/foundation/log'; -import { createAndStartTelemetryClient, telemetryClientConfigMappings } from '@aztec/telemetry-client/start'; +import { getConfigEnvVars as getTelemetryClientConfig, initTelemetryClient } from '@aztec/telemetry-client'; import { extractRelevantOptions } from '../util.js'; export async function startBlobSink(options: any, signalHandlers: (() => Promise)[], userLog: LogFn) { if (options.prover || options.node || options.sequencer || options.pxe || options.p2pBootstrap || options.txe) { - userLog(`Starting a prover-node with --node, --sequencer, --pxe, --p2p-bootstrap, or --txe is not supported.`); + userLog( + `Starting a blob sink with --node, --sequencer, --pxe, --p2p-bootstrap, --prover or --txe is not supported.`, + ); process.exit(1); } @@ -20,9 +22,7 @@ export async function startBlobSink(options: any, signalHandlers: (() => Promise ...extractRelevantOptions(options, blobSinkConfigMappings, 'blobSink'), // override with command line options }; - const telemetry = await createAndStartTelemetryClient( - extractRelevantOptions(options, telemetryClientConfigMappings, 'tel'), - ); + const telemetry = initTelemetryClient(getTelemetryClientConfig()); const blobSink = await createBlobSinkServer(blobSinkConfig, telemetry); signalHandlers.push(blobSink.stop.bind(blobSink)); From b2a2442f718f6f72da95a7a5ef045bd6160ca5d9 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 20 Jan 2025 17:04:17 +0000 Subject: [PATCH 39/46] fix: dirty merge --- .github/workflows/ci.yml | 2 +- .../src/promise/running-promise.test.ts | 20 ------------------ .../foundation/src/serialize/field_reader.ts | 21 ------------------- 3 files changed, 1 insertion(+), 42 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35ebb3e585c8..5e14627aa402 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -446,7 +446,7 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: kind-network-test-${{ matrix.config.values }}-${{ matrix.config.test }}.log + name: kind-network-test-${{ matrix.config.values }}-${{ matrix.config.test }}-${{ matrix.config.overrides }}.log path: network-test.log bb-bench: diff --git a/yarn-project/foundation/src/promise/running-promise.test.ts b/yarn-project/foundation/src/promise/running-promise.test.ts index f87b4af074fe..709e91c144af 100644 --- a/yarn-project/foundation/src/promise/running-promise.test.ts +++ b/yarn-project/foundation/src/promise/running-promise.test.ts @@ -78,25 +78,5 @@ describe('RunningPromise', () => { expect(counter).toEqual(1); expect(loggerSpy).not.toHaveBeenCalled(); }); - - class IgnoredError extends Error { - constructor() { - super('ignored'); - this.name = 'IgnoredError'; - } - } - - it('handles ignored errors', async () => { - const failingFn = async () => { - await fn(); - throw new IgnoredError(); - }; - const loggerSpy = jest.spyOn(logger, 'error'); - runningPromise = new RunningPromise(failingFn, logger, 50, [IgnoredError]); - runningPromise.start(); - await sleep(150); - expect(counter).toEqual(1); - expect(loggerSpy).not.toHaveBeenCalled(); - }); }); }); diff --git a/yarn-project/foundation/src/serialize/field_reader.ts b/yarn-project/foundation/src/serialize/field_reader.ts index f764d20ddf77..abaf19d2577d 100644 --- a/yarn-project/foundation/src/serialize/field_reader.ts +++ b/yarn-project/foundation/src/serialize/field_reader.ts @@ -34,18 +34,6 @@ export class FieldReader { return new FieldReader(fields); } - /** - * Skips the next n fields. - * - * @param n - The number of fields to skip. - */ - public skip(n: number) { - if (this.index + n > this.length) { - throw new Error('Not enough fields to be consumed.'); - } - this.index += n; - } - /** * Returns the current cursor position. * @@ -67,15 +55,6 @@ export class FieldReader { this.index += n; } - /** - * Returns the current cursor position. - * - * @returns The current cursor position. - */ - public get cursor() { - return this.index; - } - /** * Reads a single field from the array. * From 9a4a974bb5a71d83a423cfd202f58f64625ffd4a Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Tue, 21 Jan 2025 19:22:43 +0000 Subject: [PATCH 40/46] fix: native testnet script --- scripts/run_native_testnet.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/run_native_testnet.sh b/scripts/run_native_testnet.sh index b942083c93ec..544635123a3d 100755 --- a/scripts/run_native_testnet.sh +++ b/scripts/run_native_testnet.sh @@ -34,7 +34,7 @@ INTERLEAVED=false METRICS=false DISABLE_BLOB_SINK=false LOG_LEVEL="info" -ETHEREUM_HOST="http://localhost:8545" +ETHEREUM_HOST= L1_CONSENSUS_HOST_URL= OTEL_COLLECTOR_ENDPOINT=${OTEL_COLLECTOR_ENDPOINT:-"http://localhost:4318"} @@ -135,8 +135,12 @@ if $METRICS; then fi # If an ethereum rpc url is provided, use it -export ETHEREUM_HOST -export L1_CONSENSUS_HOST_URL +if [ -n "$ETHEREUM_HOST" ]; then + export ETHEREUM_HOST +fi +if [ -n "$L1_CONSENSUS_HOST_URL" ]; then + export L1_CONSENSUS_HOST_URL +fi # If an ethereum url has been provided, do not run the ethereum.sh script if [ -n "$ETHEREUM_HOST" ]; then From 53e391d5613faee402c25f6a6e47dad272ef9b5d Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Tue, 21 Jan 2025 19:46:23 +0000 Subject: [PATCH 41/46] chore: allow l1 consensus host url to be unset --- yarn-project/archiver/src/archiver/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn-project/archiver/src/archiver/config.ts b/yarn-project/archiver/src/archiver/config.ts index c55ff0dbcbe4..52a2aac3d72c 100644 --- a/yarn-project/archiver/src/archiver/config.ts +++ b/yarn-project/archiver/src/archiver/config.ts @@ -22,7 +22,7 @@ export type ArchiverConfig = { archiverUrl?: string; /** URL for an L1 consensus client */ - l1ConsensusHostUrl: string; + l1ConsensusHostUrl?: string; /** The polling interval in ms for retrieving new L2 blocks and encrypted logs. */ archiverPollingIntervalMS?: number; @@ -50,7 +50,7 @@ export const archiverConfigMappings: ConfigMappingsType = { l1ConsensusHostUrl: { env: 'L1_CONSENSUS_HOST_URL', description: 'URL for an L1 consensus client.', - parseEnv: (val: string) => (val ? val : 'http://localhost:5052'), + parseEnv: (val: string) => val, }, archiverPollingIntervalMS: { env: 'ARCHIVER_POLLING_INTERVAL_MS', From cab3d5f4b4a18cd7721461489e46aae089ea4af6 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:35:24 +0000 Subject: [PATCH 42/46] fix: build --- yarn-project/blob-sink/src/server/config.ts | 24 --------------------- 1 file changed, 24 deletions(-) diff --git a/yarn-project/blob-sink/src/server/config.ts b/yarn-project/blob-sink/src/server/config.ts index 8e6e94adc352..faad4dc7b9c3 100644 --- a/yarn-project/blob-sink/src/server/config.ts +++ b/yarn-project/blob-sink/src/server/config.ts @@ -25,27 +25,3 @@ export const blobSinkConfigMappings: ConfigMappingsType = { export function getBlobSinkConfigFromEnv(): BlobSinkConfig { return getConfigFromMappings(blobSinkConfigMappings); } - -export const blobSinkConfigMappings: ConfigMappingsType = { - port: { - env: 'BLOB_SINK_PORT', - description: 'The port to run the blob sink server on', - }, - dataStoreConfig: { - ...dataConfigMappings, - description: 'The configuration for the data store', - }, - otelMetricsCollectorUrl: { - env: 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT', - description: 'The URL of the OTLP metrics collector', - }, -}; - -/** - * Returns the blob sink configuration from the environment variables. - * Note: If an environment variable is not set, the default value is used. - * @returns The blob sink configuration. - */ -export function getBlobSinkConfigFromEnv(): BlobSinkConfig { - return getConfigFromMappings(blobSinkConfigMappings); -} From 712437793938cd1e0eac28b1cd7516111d1f3add Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:47:37 +0000 Subject: [PATCH 43/46] fix --- yarn-project/archiver/src/archiver/archiver.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/yarn-project/archiver/src/archiver/archiver.test.ts b/yarn-project/archiver/src/archiver/archiver.test.ts index 51b084fd9f91..6d31d0dac9e9 100644 --- a/yarn-project/archiver/src/archiver/archiver.test.ts +++ b/yarn-project/archiver/src/archiver/archiver.test.ts @@ -202,8 +202,6 @@ describe('Archiver', () => { const blobsFromBlocks = await Promise.all(blocks.map(b => makeBlobFromBlock(b))); blobsFromBlocks.forEach(blob => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([blob])); - blocks.forEach(b => blobSinkClient.getBlobSidecar.mockResolvedValueOnce([makeBlobFromBlock(b)])); - makeMessageSentEvent(98n, 1n, 0n); makeMessageSentEvent(99n, 1n, 1n); makeL2BlockProposedEvent(101n, 1n, blocks[0].archive.root.toString(), [blobHashes[0]]); From 799e80de31ecdc8cb92ddefa5e0f015b8c469eff Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:31:46 +0000 Subject: [PATCH 44/46] tmp --- spartan/aztec-network/templates/blob-sink.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spartan/aztec-network/templates/blob-sink.yaml b/spartan/aztec-network/templates/blob-sink.yaml index 8997c8cf961e..7c8acbb62f43 100644 --- a/spartan/aztec-network/templates/blob-sink.yaml +++ b/spartan/aztec-network/templates/blob-sink.yaml @@ -32,11 +32,6 @@ spec: {{- include "aztec-network.gcpLocalSsd" . | nindent 6 }} {{- end }} dnsPolicy: ClusterFirstWithHostNet - {{- if .Values.network.public }} - hostNetwork: true - {{- include "aztec-network.publicAntiAffinity" . | nindent 6 }} - {{- end }} - serviceAccountName: {{ include "aztec-network.fullname" . }}-node initContainers: containers: - name: blob-sink From cee428f780c2e9c6315a22e7bee4df8296add010 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Wed, 5 Feb 2025 13:30:18 +0000 Subject: [PATCH 45/46] fix: cleanup yaml --- spartan/aztec-network/templates/blob-sink.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/spartan/aztec-network/templates/blob-sink.yaml b/spartan/aztec-network/templates/blob-sink.yaml index 7c8acbb62f43..3bf384e25418 100644 --- a/spartan/aztec-network/templates/blob-sink.yaml +++ b/spartan/aztec-network/templates/blob-sink.yaml @@ -32,7 +32,6 @@ spec: {{- include "aztec-network.gcpLocalSsd" . | nindent 6 }} {{- end }} dnsPolicy: ClusterFirstWithHostNet - initContainers: containers: - name: blob-sink {{- include "aztec-network.image" . | nindent 10 }} @@ -95,8 +94,6 @@ spec: resources: {{- toYaml .Values.blobSink.resources | nindent 12 }} volumes: - - name: blob-sink-data - emptyDir: {} {{- if .Values.storage.localSsd }} - name: blob-sink-data emptyDir: {} From 8476296612db07ff0009b9f92be425f129b108b1 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Wed, 5 Feb 2025 13:31:15 +0000 Subject: [PATCH 46/46] fix: update github value from merge --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd2b57307c57..50b9ca65362f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -415,7 +415,7 @@ jobs: timeout: 40 - name: "4epochs-with-blob-sink" test: 4epochs.test.ts - values: ci + values: ci.yaml overrides: "blobSink.enabled=true" runner_type: 16core-tester-x86 timeout: 40