Skip to content

Commit

Permalink
fix: fix broken e2e_pending_note_hashes (#9748)
Browse files Browse the repository at this point in the history
Was broken due to not all tests being ran when using e2e all when
implementing tagging outgoing logs.
  • Loading branch information
sklppy88 authored Nov 5, 2024
1 parent 5cf3a2a commit 9d3b351
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -97,7 +97,7 @@ contract PendingNoteHashes {
&mut context,
outgoing_viewer_ovpk_m,
owner,
context.msg_sender(),
outgoing_viewer,
));
}

Expand All @@ -122,7 +122,7 @@ contract PendingNoteHashes {
&mut context,
outgoing_viewer_ovpk_m,
owner,
context.msg_sender(),
outgoing_viewer,
));
}

Expand All @@ -143,15 +143,15 @@ contract PendingNoteHashes {
&mut context,
outgoing_viewer_ovpk_m,
owner,
context.msg_sender(),
outgoing_viewer,
));

// Emit note again
emission.emit(encode_and_encrypt_note(
&mut context,
outgoing_viewer_ovpk_m,
owner,
context.msg_sender(),
outgoing_viewer,
));
}

Expand Down Expand Up @@ -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
Expand All @@ -386,7 +386,7 @@ contract PendingNoteHashes {
&mut context,
outgoing_viewer_ovpk_m,
owner,
context.msg_sender(),
outgoing_viewer,
));
}

Expand All @@ -407,7 +407,7 @@ contract PendingNoteHashes {
context,
outgoing_viewer_ovpk_m,
owner,
context.msg_sender(),
outgoing_viewer,
));
}
}
Expand Down

0 comments on commit 9d3b351

Please sign in to comment.