chore: merge v4 into v4-next (resolve conflicts)#21493
chore: merge v4 into v4-next (resolve conflicts)#21493
Conversation
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
New v4 changes pushed. A fresh sync branch |
|
(this is in theory stale and replaced by #21702) |
## Summary Merges v4 into v4-next, resolving the conflict in `getBlockHashMembershipWitness` in `server.ts`. The conflict was between v4-next's simple passthrough to `getWorldState(referenceBlock)` and v4's off-by-one bugfix that uses `getWorldState(BlockNumber(referenceBlockNumber - 1))`. The v4 fix is correct: the Noir circuit checks the archive membership proof against `anchor_block_header.last_archive.root`, which is the archive tree root BEFORE the anchor block was added, so we need the world state at block N-1. Resolution: took the v4 bugfix, adapted to use v4-next's `getWorldState` (protected) instead of v4's `#getWorldState` (private). Replaces #21493 which had stale conflict markers. ClaudeBox log: https://claudebox.work/s/d4b96d5b355d7fba?run=1 Co-authored-by: Jan Beneš <janbenes1234@gmail.com> Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com> Co-authored-by: Phil Windle <philip.windle@gmail.com> Co-authored-by: Santiago Palladino <santiago@aztecprotocol.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: ludamad <adam.domurad@gmail.com> Co-authored-by: Alex Gherghisan <alexghr@users.noreply.github.com>
This PR was created because merging
v4intov4-nextresulted in conflicts.Please resolve the conflicts and merge this PR to keep
v4-nextup to date.This PR was auto-generated by the
pull-v4-into-v4-nextworkflow.