Skip to content

chore(backport-to-v4): fix: released contract artifact aztec version (#23470)#23851

Merged
aminsammara merged 1 commit into
v4from
as/backport-23470-to-v4
Jun 4, 2026
Merged

chore(backport-to-v4): fix: released contract artifact aztec version (#23470)#23851
aminsammara merged 1 commit into
v4from
as/backport-23470-to-v4

Conversation

@aminsammara
Copy link
Copy Markdown
Contributor

Summary

Backport of #23470 (by @benesjan) from v4-next to v4.

This is needed to unblock the v4.3.1 release. The v4.3.0 release shipped contract artifact JSONs with aztec_version: "dev" baked in (because REF_NAME wasn't correctly populated during release-image build), which causes ci-compat-e2e on v4 to fail with Artifact version mismatch: expected 4.3.0 but got dev. The same failure was blocking v4.3.1 publish.

The fix re-stamps the version into the artifact later in the release process where the actual version is reliably available.

Cherry-pick details

  • Original commit on v4-next: a2d104a1b4 (merge commit of fix: released contract artifact aztec version #23470)
  • Cherry-picked with -m 1 (parent 1 = v4-next mainline) — applied cleanly with no conflicts.
  • Files touched (4):
    • ci3/release_prep_package_json (+10)
    • noir-projects/noir-contracts/bootstrap.sh (+11 / -10)
    • release-image/Dockerfile (+12)
    • yarn-project/end-to-end/src/fixtures/setup.ts (+9)
  • Diff stats match the v4-next commit exactly (40+/12-).

After merging

  1. Update the v4.3.1 CHANGELOG entry on v4 to include this fix.
  2. Force-move the v4.3.1 git tag to the new v4 HEAD (safe — nothing has been published as 4.3.1 yet: npm has only 4.3.0, Docker Hub returns 404 for aztec:4.3.1, GitHub Release for v4.3.1 doesn't exist).
  3. Re-trigger v4 CI — compat should now pass, ci-release-publish should run for real.

Test plan

  • CI green (specifically ci-compat-e2e)
  • Verify a built artifact JSON contains the actual release version, not "dev"

@aminsammara aminsammara requested a review from a team June 4, 2026 09:28
@aminsammara aminsammara requested a review from charlielye as a code owner June 4, 2026 09:28
@aminsammara aminsammara merged commit 7d80b2d into v4 Jun 4, 2026
11 checks passed
@aminsammara aminsammara deleted the as/backport-23470-to-v4 branch June 4, 2026 09:52
aminsammara added a commit that referenced this pull request Jun 4, 2026
## Summary

Adds the third bug fix that landed on `v4` (via backport PR #23851 of
#23470) to the existing `## [4.3.1]` `CHANGELOG.md` entry so the section
reflects what v4.3.1 actually ships.

Single-line change in `CHANGELOG.md` only — no version-file or manifest
changes. Manifest stays at 4.3.1.

## What v4.3.1 contains after this lands

- `prover: wait for previous epoch to be proven` (#23457)
- `stdlib: guard tip-store finalize against deleting live tips`
(backport of #23295, via #23505)
- `release-image: re-stamp aztec_version into released noir-contracts
artifacts` (backport of #23470, via #23851) — **new entry, fixes the
v4.3.1 ci-compat-e2e failure**

## After merging

Force-move the `v4.3.1` tag to the merge commit of this PR (safe —
nothing has been published as 4.3.1 yet: npm has only 4.3.0, Docker Hub
returns 404 for `aztec:4.3.1`, GitHub Release for v4.3.1 doesn't exist).

## Test plan

- [ ] Visual check that the `## [4.3.1]` section in `CHANGELOG.md` lists
all three fixes
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