Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix broken e2e_pending_note_hashes #9748

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading