Skip to content

chore: upgrade aztec to 4.2.0-nightly.20260408-1#326

Open
xorsal wants to merge 1 commit intodevfrom
chore/upgrade-4.2.0-nightly.20260408-1
Open

chore: upgrade aztec to 4.2.0-nightly.20260408-1#326
xorsal wants to merge 1 commit intodevfrom
chore/upgrade-4.2.0-nightly.20260408-1

Conversation

@xorsal
Copy link
Copy Markdown
Collaborator

@xorsal xorsal commented Apr 9, 2026

Summary

  • Upgrade @aztec/* packages to 4.2.0-nightly.20260408-1
  • Update all Nargo.toml tags to v4.2.0-nightly.20260408-1
  • Update @defi-wonderland/aztec-benchmark to prerelease tarball
  • Fix should_fail_with assertion in transfer_private_to_commitment_wrong_completer (error message changed upstream)

Test plan

  • aztec test --package token_contract — 65/65 passed
  • aztec test --package nft_contract — 61/61 passed
  • aztec test --package vault_contract — 182/182 passed
  • JS integration tests (token, nft, vault, escrow) — passed against local network
  • CI passes

Applied migration fix: updated error message assertion in transfer_private_to_commitment_wrong_completer test.
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 10 files

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Benchmark Comparison

CPU Cores RAM Arch
AMD EPYC 7763 64-Core Processor 16 63 GiB x64

Contract: escrow

🚦 Function Gates DA Gas L2 Gas Proving Time (ms)
Base PR Diff Base PR Diff Base PR Diff Base PR Diff
(partial) withdraw 579,408 579,408 1,312 1,312 495,400 495,400 7,169 7,316 +147 (+2.1%)
withdraw 579,408 579,408 736 736 483,700 483,700 7,140 7,288 +148 (+2.1%)
withdraw_nft 536,373 536,373 736 736 483,700 483,700 6,933 7,195 +262 (+3.8%)

Contract: logic

🚦 Function Gates DA Gas L2 Gas Proving Time (ms)
Base PR Diff Base PR Diff Base PR Diff Base PR Diff
get_escrow 520,851 520,851 128 128 456,000 456,000 6,854 6,962 +108 (+1.6%)
secret_key_to_public_keys 515,935 515,935 128 128 456,000 456,000 6,819 6,911 +92 (+1.3%)
share_escrow 420,067 420,067 704 704 474,500 474,500 6,006 6,101 +95 (+1.6%)

Contract: nft

🚦 Function Gates DA Gas L2 Gas Proving Time (ms)
Base PR Diff Base PR Diff Base PR Diff Base PR Diff
burn_private 455,161 455,161 416 416 671,675 671,675 6,360 6,397 +37 (+0.6%)
burn_public 340,915 340,915 448 448 691,760 691,760 5,360 5,453 +93 (+1.7%)
mint_to_private 472,217 472,217 960 960 662,581 662,581 6,428 6,459 +31 (+0.5%)
mint_to_public 340,915 340,915 448 448 694,916 694,916 5,368 5,403 +35 (+0.7%)
transfer_private_to_private 427,956 427,956 736 736 483,700 483,700 6,112 6,125 +13 (+0.2%)
transfer_private_to_public 455,237 455,237 416 416 666,473 666,473 6,323 6,318 -5 (-0.1%)
transfer_public_to_private 468,858 468,858 960 960 662,665 662,665 6,381 6,456 +75 (+1.2%)
transfer_public_to_public 340,915 340,915 384 384 648,357 648,357 5,379 5,396 +17 (+0.3%)

Contract: token

🚦 Function Gates DA Gas L2 Gas Proving Time (ms)
Base PR Diff Base PR Diff Base PR Diff Base PR Diff
burn_private 486,861 486,861 992 992 687,411 687,411 6,489 6,638 +149 (+2.3%)
burn_public 340,915 340,915 448 448 681,599 681,599 5,340 5,360 +20 (+0.4%)
initialize_transfer_commitment 403,443 403,443 704 704 474,500 474,500 5,898 5,955 +57 (+1.0%)
mint_to_private 473,137 473,137 960 960 656,449 656,449 6,466 6,466
mint_to_public 340,915 340,915 448 448 690,521 690,521 5,364 5,425 +61 (+1.1%)
transfer_private_to_commitment 453,824 450,450 -3,374 (-0.7%) 896 896 495,400 495,400 6,229 6,193 -36 (-0.6%)
transfer_private_to_private 470,985 470,985 1,312 1,312 495,400 495,400 6,274 6,340 +66 (+1.1%)
transfer_private_to_public 486,937 486,937 992 992 690,330 690,330 6,532 6,576 +44 (+0.7%)
transfer_private_to_public_with_commitment 497,197 497,197 1,568 1,568 723,630 723,630 6,568 6,571 +3 (+0.0%)
transfer_public_to_commitment 340,915 340,915 576 576 683,157 683,157 5,399 5,457 +58 (+1.1%)
transfer_public_to_private 469,793 469,793 960 960 659,611 659,611 6,394 6,460 +66 (+1.0%)
transfer_public_to_public 340,915 340,915 448 448 684,065 684,065 5,340 5,421 +81 (+1.5%)

Contract: vault

🚦 Function Gates DA Gas L2 Gas Proving Time (ms)
Base PR Diff Base PR Diff Base PR Diff Base PR Diff
deposit_private_to_private 904,856 904,856 1,280 1,280 894,014 894,014 10,084 10,063 -21 (-0.2%)
deposit_private_to_private_exact 1,017,026 1,017,026 1,856 1,856 936,548 936,548 10,943 11,075 +132 (+1.2%)
deposit_private_to_public 718,982 718,982 768 768 928,555 928,555 8,480 8,474 -6 (-0.1%)
deposit_public_to_private 589,551 589,551 1,344 1,344 959,628 959,628 7,365 7,413 +48 (+0.7%)
deposit_public_to_private_exact 748,093 748,093 1,920 1,920 1,002,324 1,002,324 8,742 8,787 +45 (+0.5%)
deposit_public_to_public 340,915 340,915 832 832 1,000,133 1,000,133 5,346 5,402 +56 (+1.0%)
issue_private_to_private_exact 1,017,026 1,017,026 1,856 1,856 936,824 936,824 10,911 11,064 +153 (+1.4%)
issue_private_to_public_exact 831,162 831,162 1,344 1,344 971,590 971,590 9,391 9,605 +214 (+2.3%)
issue_public_to_private 639,893 639,893 1,344 1,344 968,462 968,462 7,859 7,893 +34 (+0.4%)
issue_public_to_public 340,915 340,915 832 832 1,000,436 1,000,436 5,348 5,478 +130 (+2.4%)
redeem_private_to_private_exact 1,013,679 1,013,679 1,856 1,856 937,055 937,055 10,890 10,973 +83 (+0.8%)
redeem_private_to_public 718,905 718,905 768 768 919,369 919,369 8,410 8,471 +61 (+0.7%)
redeem_public_to_private_exact 698,526 698,526 1,920 1,920 999,453 999,453 8,292 8,394 +102 (+1.2%)
redeem_public_to_public 340,915 340,915 832 832 987,833 987,833 5,346 5,423 +77 (+1.4%)
withdraw_private_to_private 901,509 901,509 1,280 1,280 893,840 893,840 9,985 10,058 +73 (+0.7%)
withdraw_private_to_private_exact 1,013,679 1,013,679 1,856 1,856 936,617 936,617 10,897 11,064 +167 (+1.5%)
withdraw_private_to_public_exact 831,084 831,084 1,344 1,344 962,194 962,194 9,369 9,470 +101 (+1.1%)
withdraw_public_to_private 586,272 586,272 1,344 1,344 955,866 955,866 7,338 7,424 +86 (+1.2%)
withdraw_public_to_public 340,915 340,915 832 832 987,752 987,752 5,362 5,416 +54 (+1.0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant