From 0f7ced5920cd78dc19461a1ebcfc92c14649ed07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Wed, 10 Apr 2024 17:22:35 +0000 Subject: [PATCH] Add missing aztec-address tests --- .../crates/types/src/address/aztec_address.nr | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr b/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr index 605b291b1081..86a1fb4549db 100644 --- a/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr +++ b/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr @@ -131,13 +131,11 @@ fn compute_address_from_partial_and_pubkey() { #[test] fn from_field_to_field() { let address = AztecAddress { inner: 37 }; - // TODO: uncomment this test once https://github.com/noir-lang/noir/issues/4635 is fixed - // assert_eq(FromField::from_field(address.to_field()), address); + assert_eq(FromField::from_field(address.to_field()), address); } #[test] fn serde() { let address = AztecAddress { inner: 37 }; - // TODO: uncomment this test once https://github.com/noir-lang/noir/issues/4635 is fixed - // assert_eq(Deserialize::deserialize(address.serialize()), address); + assert_eq(Deserialize::deserialize(address.serialize()), address); }