Skip to content

Commit f6593cf

Browse files
committed
fixes after rebase
1 parent 1358480 commit f6593cf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

noir-projects/aztec-nr/aztec/src/encrypted_logs/encrypted_note_emission.nr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::{
22
context::PrivateContext, note::{note_emission::NoteEmission, note_interface::NoteInterface},
3-
encrypted_logs::payload::compute_encrypted_note_log, oracle::logs_traits::LensForEncryptedLog,
4-
keys::getters::get_ovsk_app
3+
keys::getters::{get_current_public_keys, get_ovsk_app},
4+
encrypted_logs::payload::compute_encrypted_note_log, oracle::logs_traits::LensForEncryptedLog
55
};
66
use dep::protocol_types::{
77
hash::sha256_to_field, address::AztecAddress, point::Point, abis::note_hash::NoteHash,

noir-projects/aztec-nr/aztec/src/keys/getters/mod.nr

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ pub fn get_nsk_app(npk_m_hash: Field) -> Field {
3030
get_key_validation_request(npk_m_hash, NULLIFIER_INDEX).sk_app
3131
}
3232

33+
// TODO(#6543)
34+
pub fn get_ovsk_app(ovpk_m_hash: Field) -> Field {
35+
get_key_validation_request(ovpk_m_hash, OUTGOING_INDEX).sk_app
36+
}
37+
3338
// Returns all current public keys for a given account, applying proper constraints to the context. We read all
3439
// keys at once since the constraints for reading them all are actually fewer than if we read them one at a time - any
3540
// read keys that are not required by the caller can simply be discarded.

0 commit comments

Comments
 (0)