From 9d3b351d1ef79bce0fe0a9a06eacab75985ff5f2 Mon Sep 17 00:00:00 2001 From: esau <152162806+sklppy88@users.noreply.github.com> Date: Tue, 5 Nov 2024 14:22:16 +0000 Subject: [PATCH] fix: fix broken e2e_pending_note_hashes (#9748) Was broken due to not all tests being ran when using e2e all when implementing tagging outgoing logs. --- .../pending_note_hashes_contract/src/main.nr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/noir-projects/noir-contracts/contracts/pending_note_hashes_contract/src/main.nr b/noir-projects/noir-contracts/contracts/pending_note_hashes_contract/src/main.nr index f1211f87b3b..eb3016cfe62 100644 --- a/noir-projects/noir-contracts/contracts/pending_note_hashes_contract/src/main.nr +++ b/noir-projects/noir-contracts/contracts/pending_note_hashes_contract/src/main.nr @@ -47,7 +47,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); let options = NoteGetterOptions::with_filter(filter_notes_min_sum, amount); @@ -97,7 +97,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); } @@ -122,7 +122,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); } @@ -143,7 +143,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); // Emit note again @@ -151,7 +151,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); } @@ -372,7 +372,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); // We will emit a note log with an incorrect preimage to ensure the pxe throws @@ -386,7 +386,7 @@ contract PendingNoteHashes { &mut context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); } @@ -407,7 +407,7 @@ contract PendingNoteHashes { context, outgoing_viewer_ovpk_m, owner, - context.msg_sender(), + outgoing_viewer, )); } }