Skip to content
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

chore(avm): basic stat collection #7283

Merged
merged 1 commit into from
Jul 3, 2024
Merged

chore(avm): basic stat collection #7283

merged 1 commit into from
Jul 3, 2024

Conversation

fcarreiro
Copy link
Contributor

@fcarreiro fcarreiro commented Jul 2, 2024

Colelcts and prints stats for avm_prove when BB is compiled with in RelWithAssert mode or AVM_TRACK_STATS is defined.

Has no impact otherwise.

------- STATS -------
compute_logderivative_inverse/incl_main_tag_err_ms: 0
compute_logderivative_inverse/incl_mem_tag_err_ms: 0
compute_logderivative_inverse/kernel_output_lookup_ms: 0
compute_logderivative_inverse/lookup_byte_lengths_ms: 0
compute_logderivative_inverse/lookup_byte_operations_ms: 0
compute_logderivative_inverse/lookup_div_u16_0_ms: 0
compute_logderivative_inverse/lookup_div_u16_1_ms: 0
compute_logderivative_inverse/lookup_div_u16_2_ms: 0
compute_logderivative_inverse/lookup_div_u16_3_ms: 0
compute_logderivative_inverse/lookup_div_u16_4_ms: 0
compute_logderivative_inverse/lookup_div_u16_5_ms: 0
compute_logderivative_inverse/lookup_div_u16_6_ms: 0
compute_logderivative_inverse/lookup_div_u16_7_ms: 0
compute_logderivative_inverse/lookup_into_kernel_ms: 0
compute_logderivative_inverse/lookup_mem_rng_chk_hi_ms: 0
compute_logderivative_inverse/lookup_mem_rng_chk_lo_ms: 0
compute_logderivative_inverse/lookup_mem_rng_chk_mid_ms: 0
compute_logderivative_inverse/lookup_opcode_gas_ms: 0
compute_logderivative_inverse/lookup_pow_2_0_ms: 0
compute_logderivative_inverse/lookup_pow_2_1_ms: 0
compute_logderivative_inverse/lookup_u16_0_ms: 0
compute_logderivative_inverse/lookup_u16_10_ms: 0
compute_logderivative_inverse/lookup_u16_11_ms: 0
compute_logderivative_inverse/lookup_u16_12_ms: 0
compute_logderivative_inverse/lookup_u16_13_ms: 0
compute_logderivative_inverse/lookup_u16_14_ms: 0
compute_logderivative_inverse/lookup_u16_1_ms: 0
compute_logderivative_inverse/lookup_u16_2_ms: 0
compute_logderivative_inverse/lookup_u16_3_ms: 0
compute_logderivative_inverse/lookup_u16_4_ms: 0
compute_logderivative_inverse/lookup_u16_5_ms: 0
compute_logderivative_inverse/lookup_u16_6_ms: 0
compute_logderivative_inverse/lookup_u16_7_ms: 0
compute_logderivative_inverse/lookup_u16_8_ms: 0
compute_logderivative_inverse/lookup_u16_9_ms: 0
compute_logderivative_inverse/lookup_u8_0_ms: 0
compute_logderivative_inverse/lookup_u8_1_ms: 0
compute_logderivative_inverse/perm_main_alu_ms: 1
compute_logderivative_inverse/perm_main_bin_ms: 0
compute_logderivative_inverse/perm_main_conv_ms: 0
compute_logderivative_inverse/perm_main_mem_a_ms: 0
compute_logderivative_inverse/perm_main_mem_b_ms: 0
compute_logderivative_inverse/perm_main_mem_c_ms: 0
compute_logderivative_inverse/perm_main_mem_d_ms: 0
compute_logderivative_inverse/perm_main_mem_ind_addr_a_ms: 0
compute_logderivative_inverse/perm_main_mem_ind_addr_b_ms: 0
compute_logderivative_inverse/perm_main_mem_ind_addr_c_ms: 0
compute_logderivative_inverse/perm_main_mem_ind_addr_d_ms: 0
compute_logderivative_inverse/perm_main_pedersen_ms: 0
compute_logderivative_inverse/perm_main_pos2_perm_ms: 0
compute_logderivative_inverse/range_check_da_gas_hi_ms: 0
compute_logderivative_inverse/range_check_da_gas_lo_ms: 0
compute_logderivative_inverse/range_check_l2_gas_hi_ms: 0
compute_logderivative_inverse/range_check_l2_gas_lo_ms: 0
proving/log_derivative_inverse_round_ms: 82
proving/pcs_rounds_ms: 158
proving/relation_check_rounds_ms: 66
proving/wire_commitments_round_ms: 193

Copy link
Contributor Author

fcarreiro commented Jul 2, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @fcarreiro and the rest of your teammates on Graphite Graphite

@AztecBot
Copy link
Collaborator

AztecBot commented Jul 2, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:mint_public): 72.3 (+34%)
  • protocol_circuit_witness_generation_time_in_ms (private-kernel-init): 452 (+18%)
  • protocol_circuit_witness_generation_time_in_ms (private-kernel-inner): 895 (+19%)
Detailed results

All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.

This benchmark source data is available in JSON format on S3 here.

Proof generation

Each column represents the number of threads used in proof generation.

Metric 1 threads 4 threads 16 threads 32 threads 64 threads
proof_construction_time_sha256_ms 5,756 (+1%) 1,562 (+1%) 713 (+1%) 755 784 (+2%)
proof_construction_time_sha256_30_ms 12,045 (+3%) 3,191 (+2%) 1,425 (+2%) 1,434 (+1%) 1,479 (+1%)
proof_construction_time_sha256_100_ms 44,148 (+1%) 11,923 (+2%) 5,509 (+1%) 5,463 (+1%) 5,403 (+1%)
proof_construction_time_poseidon_hash_ms 79.0 (+1%) 34.0 34.0 (-23%) 57.0 89.0 (+1%)
proof_construction_time_poseidon_hash_30_ms 1,528 (+1%) 420 (+1%) 201 229 (+1%) 264 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,797 (+1%) 1,582 (+2%) 727 797 (+4%) 800 (+2%)

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 4 txs 8 txs 16 txs
l1_rollup_calldata_size_in_bytes 1,412 1,412 1,412
l1_rollup_calldata_gas 9,476 9,470 9,464
l1_rollup_execution_gas 611,215 611,360 611,505
l2_block_processing_time_in_ms 756 (-2%) 1,440 (+2%) 2,712 (-1%)
l2_block_building_time_in_ms 21,609 (+3%) 42,639 (+2%) 86,833 (+6%)
l2_block_rollup_simulation_time_in_ms 21,609 (+3%) 42,638 (+2%) 86,833 (+6%)
l2_block_public_tx_process_time_in_ms 18,553 (+4%) 39,385 (+2%) 82,587 (+5%)

L2 chain processing

Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric 3 blocks 5 blocks
node_history_sync_time_in_ms 7,183 (+3%) 10,114 (+3%)
node_database_size_in_bytes 12,251,216 16,154,704
pxe_database_size_in_bytes 16,254 26,813

Circuits stats

Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit simulation_time_in_ms witness_generation_time_in_ms proving_time_in_ms input_size_in_bytes output_size_in_bytes proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 102 (+1%) ⚠️ 452 (+18%) 12,400 (-2%) 19,482 54,134 73,920 2,243 524,288
private-kernel-inner 312 (+1%) ⚠️ 895 (+19%) 49,143 80,694 54,134 73,920 2,243 2,097,152
private-kernel-tail 1,112 (+2%) 2,627 (+3%) 44,845 (-10%) 61,457 62,057 14,912 399 2,097,152
base-parity 6.25 (+2%) 1,511 2,626 (-1%) 128 64.0 2,208 2.00 131,072
root-parity 49.0 65.6 (-1%) 40,310 (-4%) 27,100 64.0 2,720 18.0 2,097,152
base-rollup 6,771 (+3%) 4,799 (-1%) 89,614 (-2%) 170,330 728 3,648 47.0 4,194,304
root-rollup 112 (+2%) 79.8 (+3%) 22,646 (-8%) 25,253 620 3,456 41.0 1,048,576
public-kernel-setup 535 2,323 (-3%) 42,643 (+1%) 102,121 80,278 106,912 3,274 2,097,152
public-kernel-app-logic 510 (+2%) 3,314 43,856 (+2%) 102,121 80,278 106,912 3,274 2,097,152
public-kernel-tail 1,180 (+3%) 26,017 (-4%) 183,077 (+4%) 399,014 10,014 14,912 399 8,388,608
private-kernel-reset-small 469 1,076 (+1%) 26,077 (-10%) 109,233 54,134 73,920 2,243 1,048,576
public-kernel-teardown 488 3,325 (-1%) 42,649 102,121 80,278 106,912 3,274 2,097,152
merge-rollup 29.7 (+1%) N/A N/A 16,486 728 N/A N/A N/A
private-kernel-tail-to-public N/A 8,271 (-2%) 51,074 (-2%) N/A N/A 106,912 3,274 2,097,152

Stats on running time collected for app circuits

Function input_size_in_bytes output_size_in_bytes witness_generation_time_in_ms proof_size_in_bytes proving_time_in_ms size_in_gates num_public_inputs
ContractClassRegisterer:register 1,344 8,792 406 N/A N/A N/A N/A
ContractInstanceDeployer:deploy 1,408 8,792 38.6 N/A N/A N/A N/A
MultiCallEntrypoint:entrypoint 1,920 8,792 1,191 (+1%) N/A N/A N/A N/A
GasToken:deploy 1,376 8,792 896 N/A N/A N/A N/A
SchnorrAccount:constructor 1,312 8,792 486 N/A N/A N/A N/A
SchnorrAccount:entrypoint 2,304 8,792 1,633 (+1%) 14,720 54,028 (-1%) 2,097,152 393
Token:privately_mint_private_note 1,280 8,792 625 (+2%) N/A N/A N/A N/A
FPC:fee_entrypoint_public 1,344 8,792 268 (-1%) 14,720 11,646 (+4%) 524,288 393
Token:transfer 1,312 8,792 1,774 14,720 12,102 (-2%) 524,288 393
AuthRegistry:set_authorized (avm) 19,226 N/A N/A 91,264 1,345 (-1%) N/A N/A
FPC:prepare_fee (avm) 26,668 N/A N/A 91,328 2,765 (-4%) N/A N/A
Token:transfer_public (avm) 42,918 N/A N/A 91,328 3,783 (-1%) N/A N/A
AuthRegistry:consume (avm) 33,104 N/A N/A 91,264 2,746 (-2%) N/A N/A
FPC:pay_refund (avm) 36,833 N/A N/A 91,296 22,822 (-3%) N/A N/A
Benchmarking:create_note 1,344 8,792 483 (+1%) N/A N/A N/A N/A
SchnorrAccount:verify_private_authwit 1,280 8,792 71.5 N/A N/A N/A N/A
Token:unshield 1,376 8,792 1,529 N/A N/A N/A N/A
FPC:fee_entrypoint_private 1,376 8,792 2,115 N/A N/A N/A N/A

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
GasToken:_increase_public_balance 66.0 (-3%) 13,790
GasToken:set_portal 22.5 (+5%) 3,339
Token:constructor 94.5 (+2%) 23,692
FPC:constructor 63.9 (+3%) 13,592
GasToken:mint_public 51.5 10,158
Token:mint_public ⚠️ 72.3 (+34%) 19,034
Token:assert_minter_and_mint 173 (+1%) 12,925
AuthRegistry:set_authorized 32.4 (-2%) 7,812
FPC:prepare_fee 108 15,062
Token:transfer_public 56.4 (+29%) 31,218
FPC:pay_refund 130 (-4%) 25,260
Benchmarking:increment_balance 2,244 (+2%) 15,267
Token:_increase_public_balance 56.4 (+3%) 15,006
FPC:pay_refund_with_shielded_rebate 122 (+3%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.161 (+3%)

Tree insertion stats

The duration to insert a fixed batch of leaves into each tree type.

Metric 1 leaves 16 leaves 64 leaves 128 leaves 256 leaves 512 leaves 1024 leaves
batch_insert_into_append_only_tree_16_depth_ms 10.6 (+2%) 17.2 (+3%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.8 31.7 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.614 (+2%) 0.528 (+3%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 48.8 (+1%) 76.3 131 (-2%) 249 (+2%) 469 (-1%)
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 95.9 159 287 543 1,055
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A 0.499 (+1%) 0.469 0.450 (-1%) 0.452 (+2%) 0.438 (-1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 60.4 (+1%) 112 183 (-1%) 357 (+1%) 691 (-1%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 109 207 355 691 1,363
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.509 (+1%) 0.503 0.483 (-1%) 0.483 (+1%) 0.473 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 73.4 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 133 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.523 N/A N/A N/A N/A

Miscellaneous

Transaction sizes based on how many contract classes are registered in the tx.

Metric 0 registered classes 1 registered classes
tx_size_in_bytes 74,057 667,850

Transaction size based on fee payment method

| Metric | |
| - | |

Copy link
Contributor

@jeanmon jeanmon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic job and very clean code! Please look at my feedback.
Long term I am wondering if this would be preferable for external audits if we could remove the stats related code from the generated cpp. On the other hand, it introduces simple wrapper. Alternatively, code auditor could review after preprocessor run.

barretenberg/cpp/src/barretenberg/bb/main.cpp Outdated Show resolved Hide resolved
barretenberg/cpp/src/barretenberg/vm/avm_trace/stats.hpp Outdated Show resolved Hide resolved
barretenberg/cpp/src/barretenberg/vm/avm_trace/stats.cpp Outdated Show resolved Hide resolved
barretenberg/cpp/src/barretenberg/vm/avm_trace/stats.cpp Outdated Show resolved Hide resolved
Copy link
Contributor Author

fcarreiro commented Jul 3, 2024

Merge activity

@fcarreiro fcarreiro merged commit adf2331 into master Jul 3, 2024
92 checks passed
@fcarreiro fcarreiro deleted the fc/avm-stats branch July 3, 2024 14:34
rahul-kothari pushed a commit that referenced this pull request Jul 4, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>aztec-package: 0.45.1</summary>

##
[0.45.1](aztec-package-v0.45.0...aztec-package-v0.45.1)
(2024-07-04)


### Miscellaneous

* **aztec-package:** Synchronize aztec-packages versions
</details>

<details><summary>barretenberg.js: 0.45.1</summary>

##
[0.45.1](barretenberg.js-v0.45.0...barretenberg.js-v0.45.1)
(2024-07-04)


### Miscellaneous

* **barretenberg.js:** Synchronize aztec-packages versions
</details>

<details><summary>aztec-packages: 0.45.1</summary>

##
[0.45.1](aztec-packages-v0.45.0...aztec-packages-v0.45.1)
(2024-07-04)


### Features

* Add support for fieldable in events
([#7310](#7310))
([694cebc](694cebc)),
closes
[#6951](#6951)
* **avm:** Use template engine for codegen
([#7299](#7299))
([d4359a3](d4359a3))
* Build releases for `aarch64-unknown-linux-gnu` target
(noir-lang/noir#5289)
([2ae17f2](2ae17f2))
* Create codeql.yml
([#7318](#7318))
([11fcfd2](11fcfd2))
* Deploy l1 contracts on devnet
([#7306](#7306))
([b8eef86](b8eef86))
* Implement trait dispatch in the comptime interpreter
(noir-lang/noir#5376)
([ccfa69c](ccfa69c))
* Lsp "find all references"
(noir-lang/noir#5395)
([10076d9](10076d9))
* Lsp rename struct (noir-lang/noir#5380)
([2ae17f2](2ae17f2))
* **lsp:** Allow function rename
(noir-lang/noir#4294)
([ccfa69c](ccfa69c))
* Remove note hash nullifier counter.
([#7294](#7294))
([c0c9144](c0c9144))
* Sync from aztec-packages (noir-lang/noir#5387)
([ccfa69c](ccfa69c))
* Sync from aztec-packages (noir-lang/noir#5401)
([10076d9](10076d9))


### Bug Fixes

* Correctly detect signed/unsigned integer overflows/underflows
(noir-lang/noir#5375)
([10076d9](10076d9))
* **docs:** Fix broken docs link to gihtub
(noir-lang/noir#5398)
([10076d9](10076d9))
* **docs:** Fix colour leak
([#7289](#7289))
([d3388d4](d3388d4))
* Don't panic when using undefined variables in the interpreter
(noir-lang/noir#5381)
([10076d9](10076d9))
* Go to definition from `use` statement
(noir-lang/noir#5390)
([2ae17f2](2ae17f2))
* Go to definition from aliased use
(noir-lang/noir#5396)
([10076d9](10076d9))
* ICE when using a comptime let variable in runtime code
(noir-lang/noir#5391)
([10076d9](10076d9))
* Include artifacts in noir-contracts package.json
([#7339](#7339))
([7dd87c7](7dd87c7))
* Only create d.ts files for contract artifacts
([#7307](#7307))
([b5e2a67](b5e2a67))
* Remove event selector from unencrypted log
([#7309](#7309))
([c6eb734](c6eb734))
* Remove panics in the interpreter when a builtin fails to type check
(noir-lang/noir#5382)
([ccfa69c](ccfa69c))
* Replace expects in interpreter with errors
(noir-lang/noir#5383)
([ccfa69c](ccfa69c))
* Replace std::HashMap with FxHashMap to fix frontend indeterminism
(noir-lang/noir#5385)
([ccfa69c](ccfa69c))
* Truncate flamegraph text to the right
([#7333](#7333))
([b7c6593](b7c6593))


### Miscellaneous

* Add bb-pilcom to rust analyzer
([#7317](#7317))
([694e68e](694e68e))
* ARGS_HASH constants 64 -&gt; 16
([#7284](#7284))
([c19029a](c19029a))
* **avm:** Basic stat collection
([#7283](#7283))
([adf2331](adf2331))
* **avm:** Less code in prover and verifier
([#7302](#7302))
([f401a9a](f401a9a))
* **avm:** Migrate lookups and permutations
([#7335](#7335))
([56fe4fe](56fe4fe))
* **avm:** Migrate to template engine
([#7316](#7316))
([0fbfe11](0fbfe11))
* **avm:** Re-ordering routines by opcode order
([#7298](#7298))
([4bb512d](4bb512d))
* **avm:** Remove shifts from full row
([#7327](#7327))
([4d641ee](4d641ee))
* Charge for more l2 gas costs
([#7157](#7157))
([3ab00c4](3ab00c4))
* **docs:** Remove persona boxes from the landing page
(noir-lang/noir#5400)
([10076d9](10076d9))
* Nuking "new" from names
([#7273](#7273))
([b12c6cb](b12c6cb))
* Refactor conversion between `FieldElement` and signed integers
(noir-lang/noir#5397)
([10076d9](10076d9))
* Replace relative paths to noir-protocol-circuits
([0124665](0124665))
* Replace relative paths to noir-protocol-circuits
([4007885](4007885))
* Update flamegraph script link
([#7329](#7329))
([0ec83ee](0ec83ee))
* Use `mod.nr` files in stdlib
(noir-lang/noir#5379)
([ccfa69c](ccfa69c))
</details>

<details><summary>barretenberg: 0.45.1</summary>

##
[0.45.1](barretenberg-v0.45.0...barretenberg-v0.45.1)
(2024-07-04)


### Features

* **avm:** Use template engine for codegen
([#7299](#7299))
([d4359a3](d4359a3))


### Miscellaneous

* **avm:** Basic stat collection
([#7283](#7283))
([adf2331](adf2331))
* **avm:** Less code in prover and verifier
([#7302](#7302))
([f401a9a](f401a9a))
* **avm:** Migrate lookups and permutations
([#7335](#7335))
([56fe4fe](56fe4fe))
* **avm:** Migrate to template engine
([#7316](#7316))
([0fbfe11](0fbfe11))
* **avm:** Re-ordering routines by opcode order
([#7298](#7298))
([4bb512d](4bb512d))
* **avm:** Remove shifts from full row
([#7327](#7327))
([4d641ee](4d641ee))
* Nuking "new" from names
([#7273](#7273))
([b12c6cb](b12c6cb))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
AztecBot added a commit to AztecProtocol/barretenberg that referenced this pull request Jul 5, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>aztec-package: 0.45.1</summary>

##
[0.45.1](AztecProtocol/aztec-packages@aztec-package-v0.45.0...aztec-package-v0.45.1)
(2024-07-04)


### Miscellaneous

* **aztec-package:** Synchronize aztec-packages versions
</details>

<details><summary>barretenberg.js: 0.45.1</summary>

##
[0.45.1](AztecProtocol/aztec-packages@barretenberg.js-v0.45.0...barretenberg.js-v0.45.1)
(2024-07-04)


### Miscellaneous

* **barretenberg.js:** Synchronize aztec-packages versions
</details>

<details><summary>aztec-packages: 0.45.1</summary>

##
[0.45.1](AztecProtocol/aztec-packages@aztec-packages-v0.45.0...aztec-packages-v0.45.1)
(2024-07-04)


### Features

* Add support for fieldable in events
([#7310](AztecProtocol/aztec-packages#7310))
([694cebc](AztecProtocol/aztec-packages@694cebc)),
closes
[#6951](AztecProtocol/aztec-packages#6951)
* **avm:** Use template engine for codegen
([#7299](AztecProtocol/aztec-packages#7299))
([d4359a3](AztecProtocol/aztec-packages@d4359a3))
* Build releases for `aarch64-unknown-linux-gnu` target
(noir-lang/noir#5289)
([2ae17f2](AztecProtocol/aztec-packages@2ae17f2))
* Create codeql.yml
([#7318](AztecProtocol/aztec-packages#7318))
([11fcfd2](AztecProtocol/aztec-packages@11fcfd2))
* Deploy l1 contracts on devnet
([#7306](AztecProtocol/aztec-packages#7306))
([b8eef86](AztecProtocol/aztec-packages@b8eef86))
* Implement trait dispatch in the comptime interpreter
(noir-lang/noir#5376)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
* Lsp "find all references"
(noir-lang/noir#5395)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* Lsp rename struct (noir-lang/noir#5380)
([2ae17f2](AztecProtocol/aztec-packages@2ae17f2))
* **lsp:** Allow function rename
(noir-lang/noir#4294)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
* Remove note hash nullifier counter.
([#7294](AztecProtocol/aztec-packages#7294))
([c0c9144](AztecProtocol/aztec-packages@c0c9144))
* Sync from aztec-packages (noir-lang/noir#5387)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
* Sync from aztec-packages (noir-lang/noir#5401)
([10076d9](AztecProtocol/aztec-packages@10076d9))


### Bug Fixes

* Correctly detect signed/unsigned integer overflows/underflows
(noir-lang/noir#5375)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* **docs:** Fix broken docs link to gihtub
(noir-lang/noir#5398)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* **docs:** Fix colour leak
([#7289](AztecProtocol/aztec-packages#7289))
([d3388d4](AztecProtocol/aztec-packages@d3388d4))
* Don't panic when using undefined variables in the interpreter
(noir-lang/noir#5381)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* Go to definition from `use` statement
(noir-lang/noir#5390)
([2ae17f2](AztecProtocol/aztec-packages@2ae17f2))
* Go to definition from aliased use
(noir-lang/noir#5396)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* ICE when using a comptime let variable in runtime code
(noir-lang/noir#5391)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* Include artifacts in noir-contracts package.json
([#7339](AztecProtocol/aztec-packages#7339))
([7dd87c7](AztecProtocol/aztec-packages@7dd87c7))
* Only create d.ts files for contract artifacts
([#7307](AztecProtocol/aztec-packages#7307))
([b5e2a67](AztecProtocol/aztec-packages@b5e2a67))
* Remove event selector from unencrypted log
([#7309](AztecProtocol/aztec-packages#7309))
([c6eb734](AztecProtocol/aztec-packages@c6eb734))
* Remove panics in the interpreter when a builtin fails to type check
(noir-lang/noir#5382)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
* Replace expects in interpreter with errors
(noir-lang/noir#5383)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
* Replace std::HashMap with FxHashMap to fix frontend indeterminism
(noir-lang/noir#5385)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
* Truncate flamegraph text to the right
([#7333](AztecProtocol/aztec-packages#7333))
([b7c6593](AztecProtocol/aztec-packages@b7c6593))


### Miscellaneous

* Add bb-pilcom to rust analyzer
([#7317](AztecProtocol/aztec-packages#7317))
([694e68e](AztecProtocol/aztec-packages@694e68e))
* ARGS_HASH constants 64 -&gt; 16
([#7284](AztecProtocol/aztec-packages#7284))
([c19029a](AztecProtocol/aztec-packages@c19029a))
* **avm:** Basic stat collection
([#7283](AztecProtocol/aztec-packages#7283))
([adf2331](AztecProtocol/aztec-packages@adf2331))
* **avm:** Less code in prover and verifier
([#7302](AztecProtocol/aztec-packages#7302))
([f401a9a](AztecProtocol/aztec-packages@f401a9a))
* **avm:** Migrate lookups and permutations
([#7335](AztecProtocol/aztec-packages#7335))
([56fe4fe](AztecProtocol/aztec-packages@56fe4fe))
* **avm:** Migrate to template engine
([#7316](AztecProtocol/aztec-packages#7316))
([0fbfe11](AztecProtocol/aztec-packages@0fbfe11))
* **avm:** Re-ordering routines by opcode order
([#7298](AztecProtocol/aztec-packages#7298))
([4bb512d](AztecProtocol/aztec-packages@4bb512d))
* **avm:** Remove shifts from full row
([#7327](AztecProtocol/aztec-packages#7327))
([4d641ee](AztecProtocol/aztec-packages@4d641ee))
* Charge for more l2 gas costs
([#7157](AztecProtocol/aztec-packages#7157))
([3ab00c4](AztecProtocol/aztec-packages@3ab00c4))
* **docs:** Remove persona boxes from the landing page
(noir-lang/noir#5400)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* Nuking "new" from names
([#7273](AztecProtocol/aztec-packages#7273))
([b12c6cb](AztecProtocol/aztec-packages@b12c6cb))
* Refactor conversion between `FieldElement` and signed integers
(noir-lang/noir#5397)
([10076d9](AztecProtocol/aztec-packages@10076d9))
* Replace relative paths to noir-protocol-circuits
([0124665](AztecProtocol/aztec-packages@0124665))
* Replace relative paths to noir-protocol-circuits
([4007885](AztecProtocol/aztec-packages@4007885))
* Update flamegraph script link
([#7329](AztecProtocol/aztec-packages#7329))
([0ec83ee](AztecProtocol/aztec-packages@0ec83ee))
* Use `mod.nr` files in stdlib
(noir-lang/noir#5379)
([ccfa69c](AztecProtocol/aztec-packages@ccfa69c))
</details>

<details><summary>barretenberg: 0.45.1</summary>

##
[0.45.1](AztecProtocol/aztec-packages@barretenberg-v0.45.0...barretenberg-v0.45.1)
(2024-07-04)


### Features

* **avm:** Use template engine for codegen
([#7299](AztecProtocol/aztec-packages#7299))
([d4359a3](AztecProtocol/aztec-packages@d4359a3))


### Miscellaneous

* **avm:** Basic stat collection
([#7283](AztecProtocol/aztec-packages#7283))
([adf2331](AztecProtocol/aztec-packages@adf2331))
* **avm:** Less code in prover and verifier
([#7302](AztecProtocol/aztec-packages#7302))
([f401a9a](AztecProtocol/aztec-packages@f401a9a))
* **avm:** Migrate lookups and permutations
([#7335](AztecProtocol/aztec-packages#7335))
([56fe4fe](AztecProtocol/aztec-packages@56fe4fe))
* **avm:** Migrate to template engine
([#7316](AztecProtocol/aztec-packages#7316))
([0fbfe11](AztecProtocol/aztec-packages@0fbfe11))
* **avm:** Re-ordering routines by opcode order
([#7298](AztecProtocol/aztec-packages#7298))
([4bb512d](AztecProtocol/aztec-packages@4bb512d))
* **avm:** Remove shifts from full row
([#7327](AztecProtocol/aztec-packages#7327))
([4d641ee](AztecProtocol/aztec-packages@4d641ee))
* Nuking "new" from names
([#7273](AztecProtocol/aztec-packages#7273))
([b12c6cb](AztecProtocol/aztec-packages@b12c6cb))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants