-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: compute out hash in circuits #4561 #4873
Conversation
Changes to circuit sizes
🧾 Summary (100% most significant diffs)
Full diff report 👇
|
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Values are compared against data from master at commit L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 16 txs.
Circuits statsStats on running time and I/O sizes collected for every circuit run across all benchmarks.
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contracts are deployed in the tx.
Transaction processing duration by data writes.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments. Please add a small test for the hashes as well so we have something to match against, should help on the sizing issue 👍
...ects/noir-protocol-circuits/crates/rollup-lib/src/abis/base_or_merge_rollup_public_inputs.nr
Outdated
Show resolved
Hide resolved
noir-projects/noir-protocol-circuits/crates/rollup-lib/src/base/base_rollup_inputs.nr
Outdated
Show resolved
Hide resolved
yarn-project/circuits.js/src/structs/rollup/base_or_merge_rollup_public_inputs.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👍
There is a |
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.26.4</summary> ## [0.26.4](aztec-package-v0.26.3...aztec-package-v0.26.4) (2024-03-06) ### Miscellaneous * **aztec-package:** Synchronize aztec-packages versions </details> <details><summary>barretenberg.js: 0.26.4</summary> ## [0.26.4](barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>aztec-cli: 0.26.4</summary> ## [0.26.4](aztec-cli-v0.26.3...aztec-cli-v0.26.4) (2024-03-06) ### Miscellaneous * **aztec-cli:** Synchronize aztec-packages versions </details> <details><summary>aztec-packages: 0.26.4</summary> ## [0.26.4](aztec-packages-v0.26.3...aztec-packages-v0.26.4) (2024-03-06) ### Features * **avm:** ALU <--> MAIN inter table relation on intermediate registers copy ([#4945](#4945)) ([8708131](8708131)), closes [#4613](#4613) * Circuit checker class ([#4931](#4931)) ([4eba266](4eba266)) * Compute out hash in circuits [#4561](#4561) ([#4873](#4873)) ([06a9116](06a9116)) ### Bug Fixes * **ci:** Noir mirror base commit ([#4969](#4969)) ([546c666](546c666)) * Fix release ([#4994](#4994)) ([19a8728](19a8728)) ### Miscellaneous * Use public constructors where possible ([#4937](#4937)) ([225aad6](225aad6)) </details> <details><summary>barretenberg: 0.26.4</summary> ## [0.26.4](barretenberg-v0.26.3...barretenberg-v0.26.4) (2024-03-06) ### Features * **avm:** ALU <--> MAIN inter table relation on intermediate registers copy ([#4945](#4945)) ([8708131](8708131)), closes [#4613](#4613) * Circuit checker class ([#4931](#4931)) ([4eba266](4eba266)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-package: 0.26.4</summary> ## [0.26.4](AztecProtocol/aztec-packages@aztec-package-v0.26.3...aztec-package-v0.26.4) (2024-03-06) ### Miscellaneous * **aztec-package:** Synchronize aztec-packages versions </details> <details><summary>barretenberg.js: 0.26.4</summary> ## [0.26.4](AztecProtocol/aztec-packages@barretenberg.js-v0.26.3...barretenberg.js-v0.26.4) (2024-03-06) ### Miscellaneous * **barretenberg.js:** Synchronize aztec-packages versions </details> <details><summary>aztec-cli: 0.26.4</summary> ## [0.26.4](AztecProtocol/aztec-packages@aztec-cli-v0.26.3...aztec-cli-v0.26.4) (2024-03-06) ### Miscellaneous * **aztec-cli:** Synchronize aztec-packages versions </details> <details><summary>aztec-packages: 0.26.4</summary> ## [0.26.4](AztecProtocol/aztec-packages@aztec-packages-v0.26.3...aztec-packages-v0.26.4) (2024-03-06) ### Features * **avm:** ALU <--> MAIN inter table relation on intermediate registers copy ([#4945](AztecProtocol/aztec-packages#4945)) ([8708131](AztecProtocol/aztec-packages@8708131)), closes [#4613](AztecProtocol/aztec-packages#4613) * Circuit checker class ([#4931](AztecProtocol/aztec-packages#4931)) ([4eba266](AztecProtocol/aztec-packages@4eba266)) * Compute out hash in circuits [#4561](AztecProtocol/aztec-packages#4561) ([#4873](AztecProtocol/aztec-packages#4873)) ([06a9116](AztecProtocol/aztec-packages@06a9116)) ### Bug Fixes * **ci:** Noir mirror base commit ([#4969](AztecProtocol/aztec-packages#4969)) ([546c666](AztecProtocol/aztec-packages@546c666)) * Fix release ([#4994](AztecProtocol/aztec-packages#4994)) ([19a8728](AztecProtocol/aztec-packages@19a8728)) ### Miscellaneous * Use public constructors where possible ([#4937](AztecProtocol/aztec-packages#4937)) ([225aad6](AztecProtocol/aztec-packages@225aad6)) </details> <details><summary>barretenberg: 0.26.4</summary> ## [0.26.4](AztecProtocol/aztec-packages@barretenberg-v0.26.3...barretenberg-v0.26.4) (2024-03-06) ### Features * **avm:** ALU <--> MAIN inter table relation on intermediate registers copy ([#4945](AztecProtocol/aztec-packages#4945)) ([8708131](AztecProtocol/aztec-packages@8708131)), closes [#4613](AztecProtocol/aztec-packages#4613) * Circuit checker class ([#4931](AztecProtocol/aztec-packages#4931)) ([4eba266](AztecProtocol/aztec-packages@4eba266)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Resolves #4561.