Skip to content

Commit 2571eaf

Browse files
committedJan 17, 2025
Fix some warnings
1 parent dde01d7 commit 2571eaf

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎noir-projects/aztec-nr/aztec/src/test/mocks/mock_struct.nr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use dep::protocol_types::traits::{Deserialize, Serialize};
22

3-
pub(crate) struct MockStruct {
4-
pub(crate) a: Field,
5-
pub(crate) b: Field,
3+
pub struct MockStruct {
4+
pub a: Field,
5+
pub b: Field,
66
}
77

88
impl MockStruct {
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pub(crate) mod mock_note;
2-
pub(crate) mod mock_struct;
1+
mod mock_note;
2+
mod mock_struct;

‎noir-projects/noir-contracts/contracts/test_contract/src/main.nr

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ contract Test {
1919
use dep::aztec::protocol_types::{
2020
constants::{MAX_NOTE_HASH_READ_REQUESTS_PER_CALL, PRIVATE_LOG_SIZE_IN_FIELDS},
2121
point::Point,
22-
traits::{Deserialize, Serialize},
22+
traits::{Deserialize, Hash, Serialize},
2323
utils::arrays::array_concat,
2424
};
2525

‎noir-projects/noir-contracts/contracts/test_contract/src/test.nr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use dep::aztec::note::note_interface::NoteInterface;
21
use crate::{Test, test_note::TestNote};
2+
use dep::aztec::note::note_interface::NoteInterface;
33
use dep::uint_note::uint_note::UintNote;
44
use dep::value_note::value_note::ValueNote;
55

0 commit comments

Comments
 (0)