Skip to content

chore: Accumulated backports to v4-next#22416

Merged
AztecBot merged 23 commits intov4-nextfrom
backport-to-v4-next-staging
Apr 9, 2026
Merged

chore: Accumulated backports to v4-next#22416
AztecBot merged 23 commits intov4-nextfrom
backport-to-v4-next-staging

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

@AztecBot AztecBot commented Apr 8, 2026

BEGIN_COMMIT_OVERRIDE
feat(e2e): support running tests against legacy noir contract artifacts (#22388)
chore: deflake p2p client test (#22385)
fix: pass additionalScopes to executeUtility (#22411)
fix(docs): backport PR #22419 — update networks page for Alpha phase, fix contract addresses and unstaking delay (#22424)
chore: Reduce logging verbosity (#22423)
END_COMMIT_OVERRIDE

spalladino and others added 15 commits April 7, 2026 17:35
Already fixed in next, just backporting the fix.
Set CONTRACT_ARTIFACTS_VERSION=<x.y.z> to transparently redirect
@aztec/noir-contracts.js and @aztec/noir-test-contracts.js imports to a
published version installed on demand under
yarn-project/end-to-end/.legacy-contracts/<version>/. Enables verifying
that contracts deployed from previous releases still work against the
current stack.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The jest resolver handles redirection; the Node loader hook was dead code
for our actual use case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Previously required running scripts/ensure_legacy_contracts.mjs before
jest. Moving the install into the resolver itself makes
CONTRACT_ARTIFACTS_VERSION work with any entrypoint (e.g. yarn test:e2e).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The previous resolver redirected the entire @aztec/noir-contracts.js
package, which dragged the legacy @aztec/aztec.js along with it. That
coupled the test to a moving runtime API surface and would fail at
import time on unrelated breaking changes.

Now the resolver lets defaultResolver run first and only swaps JSON
files under .../noir-contracts.js/artifacts/ (and noir-test-contracts.js)
to the legacy cache equivalents. TS wrapper classes load from the
current workspace and use current aztec.js, so the test exercises only
the deployed-contract artifact compatibility surface.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Already fixed in next, just backporting the fix.
Necessary to enable patterns like the `Immutables` macro. Wallets still
need to verify scopes forwarded from the app, so this is harmless and
useful
critesjosh and others added 4 commits April 8, 2026 18:00
Cherry-pick of abdb834
Original PR: #22419

Conflicts in docs/docs/networks.md
Resolved conflict by taking PR #22419's updated addresses:
- Slasher: mainnet 0x64E6e9Bb..., testnet 0xCF750B72...
- Tally Slashing Proposer: mainnet 0xa4a38fD0...
- Honk Verifier: added mainnet 0x70aedda4...
- Slash Payload Cloneable: added mainnet 0xAA43220b...
… fix contract addresses and unstaking delay (#22424)

## Summary

Backport of #22419
to v4-next.

The automatic cherry-pick failed due to conflicts in
`docs/docs/networks.md` — the v4-next branch had different Slasher
mainnet address (`0x91a3745c...`) compared to next (`0x64E6e9Bb...`).

### Conflict resolution
Took PR #22419's updated addresses for all conflicting rows:
- **Slasher**: mainnet `0x64E6e9Bb...`, testnet `0xCF750B72...` (was
showing Rollup address)
- **Tally Slashing Proposer**: mainnet `0xa4a38fD0...` (verified via
Slasher.PROPOSER)
- **Honk Verifier**: added mainnet `0x70aedda4...` (was N/A)
- **Slash Payload Cloneable**: added mainnet `0xAA43220b...` (was N/A)

### Also included (applied cleanly)
- **Reward Booster** mainnet address update
- Unstaking delay: replaced conditional with table showing both networks
- Added governance withdrawal delay info (~38 days mainnet, ~1.6 days
testnet)

ClaudeBox log: https://claudebox.work/s/8697787a37a84540?run=1
PR to simply reduce an annoying logline to debug.
@AztecBot AztecBot enabled auto-merge April 9, 2026 08:29
@AztecBot
Copy link
Copy Markdown
Collaborator Author

AztecBot commented Apr 9, 2026

🤖 Auto-merge enabled after 8 hours of inactivity. This PR will be merged automatically once all checks pass.

benesjan and others added 3 commits April 9, 2026 09:30
…#22254)

Cherry-pick of d8c841d with conflicts in:
- noir-projects/noir-contracts/contracts/protocol/aztec_sublib/src/oracle/version.nr
Resolved conflict in version.nr by accepting the incoming major/minor version
split (ORACLE_VERSION_MAJOR=22, ORACLE_VERSION_MINOR=0), replacing the old
single ORACLE_VERSION=21 constant.
@benesjan benesjan requested a review from nventuro as a code owner April 9, 2026 10:29
@AztecBot AztecBot merged commit c2f0a92 into v4-next Apr 9, 2026
9 checks passed
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.

7 participants