Skip to content

Commit ffe70ec

Browse files
authored
chore: fix some more imports (#8804)
Continuation of #8760 and #8748. We still get some private exports due to noir-lang/noir#6154, but hopefully those will be fixed soon.
1 parent 99bac95 commit ffe70ec

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

noir-projects/aztec-nr/aztec/src/context/public_context.nr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use dep::protocol_types::constants::MAX_FIELD_VALUE;
44
use dep::protocol_types::traits::{Serialize, Deserialize, Empty};
55
use dep::protocol_types::abis::function_selector::FunctionSelector;
66
use crate::context::gas::GasOpts;
7-
use crate::hash::ArgsHasher;
87

98
pub struct PublicContext {
109
args_hash: Option<Field>,
@@ -204,7 +203,6 @@ fn gas_for_call(user_gas: GasOpts) -> [Field; 2] {
204203
}
205204

206205
// Unconstrained opcode wrappers (do not use directly).
207-
// TODO(https://github.com/AztecProtocol/aztec-packages/issues/6420): reconsider.
208206
unconstrained fn address() -> AztecAddress {
209207
address_opcode()
210208
}

noir-projects/aztec-nr/aztec/src/test/mocks/mock_note.nr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use crate::{
2-
context::PrivateContext, generators::Ga1 as G_val, hash::poseidon2_hash_with_separator,
2+
context::PrivateContext, generators::Ga1 as G_val,
33
note::{note_header::NoteHeader, note_interface::NoteInterface, utils::compute_note_hash_for_nullify}
44
};
55

6-
use dep::protocol_types::{address::AztecAddress, constants::GENERATOR_INDEX__NOTE_NULLIFIER, traits::Eq};
6+
use dep::protocol_types::{address::AztecAddress, constants::GENERATOR_INDEX__NOTE_NULLIFIER, hash::poseidon2_hash_with_separator};
77
use dep::std::{embedded_curve_ops::multi_scalar_mul, hash::from_field_unsafe};
88
use crate::note::note_interface::NullifiableNote;
99

noir-projects/noir-protocol-circuits/crates/types/src/utils/arrays/assert_combined_sorted_transformed_value_array/get_combined_order_hints.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::{
33
utils::arrays::{array_length, sort_by_counter::compare_by_counter_empty_padded_asc, get_sorted_tuple::get_sorted_tuple}
44
};
55

6-
pub(crate) struct CombinedOrderHint {
6+
pub struct CombinedOrderHint {
77
counter: u32,
88
original_index: u32,
99
}

0 commit comments

Comments
 (0)