test(escrow): drop the copied TXE private-events oracle - #42
Open
alejoamiras wants to merge 1 commit into
Open
alejoamiras wants to merge 1 commit into
alejoamiras wants to merge 1 commit into
Conversation
This comment has been minimized.
This comment has been minimized.
aztec-nr keeps `txe_oracles::get_private_events` crate-private, so the test_logic crate re-declared the `aztec_txe_getPrivateEvents` oracle and its bounds by hand, and every Aztec bump had to re-sync them (v6 changed the return type). Its only consumer, `share_escrow_success`, asserted the same event that escrow.test.ts already checks end to end through `wallet.getPrivateEvents`. The copy goes; the Noir test still checks that `share_escrow` succeeds, and the bump skill loses the matching gotcha. Upstream request for a public reader: aztec-labs-eng/aztec-node#363. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alejoamiras
force-pushed
the
worktree-drop-txe-event-stub
branch
from
September 29, 2026 20:35
df1c86b to
5e48ae5
Compare
alejoamiras
marked this pull request as ready for review
September 29, 2026 20:36
Benchmark Comparison
Contract: escrow
Contract: logic
Contract: multitoken
Contract: nft
Contract: token
Contract: vault
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Drops our hand-copied
aztec_txe_getPrivateEventsoracle from the escrow test utils. aztec-nr keeps its TXE readerpub(crate), so the copy was the only way to read private events in a contract test - and it breaks whenever the oracle changes shape (it already needed a return-type fix for rc.1).share_escrow's check of the emittedEscrowDetailsLogContent, whichescrow.test.tsalready covers withwallet.getPrivateEvents.get_private_eventsto contract tests on TXE aztec-labs-eng/aztec-node#363🤖 Generated with Claude Code