Skip to content

fix: add @aztec/accounts to backwards compatibility test infra#22490

Merged
benesjan merged 1 commit into
merge-train/fairiesfrom
be/add-accounts-to-back-compat
Apr 13, 2026
Merged

fix: add @aztec/accounts to backwards compatibility test infra#22490
benesjan merged 1 commit into
merge-train/fairiesfrom
be/add-accounts-to-back-compat

Conversation

@benesjan

Copy link
Copy Markdown
Contributor

Summary

  • Adds @aztec/accounts to the REDIRECTED array in the legacy Jest resolver so that account contract artifacts (e.g., SchnorrAccount.json) are also redirected when running backwards compatibility tests with CONTRACT_ARTIFACTS_VERSION.
  • Without this, e2e_fees/account_init.test.ts fails because the @aztec/accounts artifacts were not being swapped to the legacy versions.

Test plan

  • Run CONTRACT_ARTIFACTS_VERSION=<last-nightly> yarn workspace @aztec/end-to-end test:e2e src/e2e_fees/account_init.test.ts and verify it passes
  • Verify resolver logs show @aztec/accounts being installed and its artifacts redirected

🤖 Generated with Claude Code

The legacy Jest resolver was only redirecting artifacts for
@aztec/noir-contracts.js and @aztec/noir-test-contracts.js but not
@aztec/accounts, causing e2e_fees/account_init.test.ts to fail when
running with CONTRACT_ARTIFACTS_VERSION set.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@benesjan benesjan merged commit b6b7f20 into merge-train/fairies Apr 13, 2026
17 of 22 checks passed
@benesjan benesjan deleted the be/add-accounts-to-back-compat branch April 13, 2026 04:59
@AztecBot

Copy link
Copy Markdown
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #22492.

github-merge-queue Bot pushed a commit that referenced this pull request Apr 13, 2026
BEGIN_COMMIT_OVERRIDE
fix: add @aztec/accounts to backwards compatibility test infra (#22490)
END_COMMIT_OVERRIDE
AztecBot added a commit that referenced this pull request Apr 13, 2026
BEGIN_COMMIT_OVERRIDE
cherry-pick: chore: Update Noir to nightly-2026-04-10 (#22393)
chore: backport #22393 (Update Noir to nightly-2026-04-10) to v4-next
(#22485)
fix: add @aztec/accounts to backwards compatibility test infra (#22490)
fix(aztec-nr): check_notes_order lexicographic multi-key sort (#21973)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants