refactor: Use public constructors where possible#4937
Conversation
Docs PreviewHey there! 👋 You can check your preview at https://65e785eac2449c63c2b2d3c6--aztec-docs-dev.netlify.app |
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.
|
Changes to circuit sizes
🧾 Summary (100% most significant diffs)
Full diff report 👇
|
|
Is it possible to deploy a contract with a public initializer and a signerless wallet? |
3dd1231 to
4b37252
Compare
602797d to
edaef21
Compare
It shouldn't be possible, you need a private entrypoint (be it a wallet or just a contract with a private function that calls to public) to start your tx. |
edaef21 to
268456e
Compare
🤖 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).
Where possible, removes private constructors that just call an internal public initializer, and instead just declares a public constructor.
Depends on #4896