Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/history/note/test.nr
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ unconstrained fn succeeds_on_blocks_after_creation_and_before_nullification() {
});
}

#[test(should_fail_with = "Proving nullifier non-inclusion failed")]
#[test(should_fail_with = "Cannot prove nullifier non-inclusion")]
unconstrained fn fails_on_blocks_after_note_nullification() {
let (env, hinted_note) = test::create_note_and_nullify_it();

Expand Down
4 changes: 2 additions & 2 deletions noir-projects/aztec-nr/aztec/src/history/nullifier/test.nr
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ unconstrained fn note_not_nullified_succeeds_in_blocks_before_note_nullification
);
}

#[test(should_fail_with = "Proving nullifier non-inclusion failed")]
#[test(should_fail_with = "Cannot prove nullifier non-inclusion")]
unconstrained fn note_not_nullified_fails_in_blocks_after_note_nullification_fails() {
let (env, hinted_note) = test::create_note_and_nullify_it();

Expand All @@ -100,7 +100,7 @@ unconstrained fn nullifier_non_inclusion_succeeds_in_blocks_before_nullifier_cre
});
}

#[test(should_fail_with = "Proving nullifier non-inclusion failed")]
#[test(should_fail_with = "Cannot prove nullifier non-inclusion")]
unconstrained fn nullifier_non_inclusion_fails_in_blocks_after_nullifier_creation() {
let env = TestEnvironment::new();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ unconstrained fn assert_contract_was_initialized_by_before_initialization_fails(
);
}

#[test(should_fail_with = "Proving nullifier non-inclusion failed")]
#[test(should_fail_with = "Cannot prove nullifier non-inclusion")]
unconstrained fn assert_contract_bytecode_was_not_published_by_of_deployed_fails() {
let (env, contract_address, _owner) = setup();

Expand All @@ -119,7 +119,7 @@ unconstrained fn assert_contract_bytecode_was_not_published_by_of_deployed_fails
);
}

#[test(should_fail_with = "Proving nullifier non-inclusion failed")]
#[test(should_fail_with = "Cannot prove nullifier non-inclusion")]
unconstrained fn assert_contract_was_not_initialized_by_of_initialized_fails() {
let (env, contract_address, _owner) = setup();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ unconstrained fn packed_delayed_public_mutable_values_match_typescript() {
let pre_value = MockStruct { a: 1, b: 2 };
let post_value = MockStruct { a: 3, b: 4 };

let sdc = ScheduledDelayChange::<0u64>::new(Option::some(1), Option::some(50), 2);
let sdc = ScheduledDelayChange::<0_u64>::new(Option::some(1), Option::some(50), 2);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatter kept changing this locally for me

let svc = ScheduledValueChange::new(pre_value, post_value, 50);
let dpmv = DelayedPublicMutableValues::new(svc, sdc);

Expand Down
Loading