diff --git a/ast/src/leo.pest b/ast/src/leo.pest index 6042d350c2..119f9dbad3 100644 --- a/ast/src/leo.pest +++ b/ast/src/leo.pest @@ -228,7 +228,7 @@ group_tuple = !{"(" ~ value_number ~ "," ~ value_number ~ ")"} group_single_or_tuple = {value_number | group_tuple} // Declared in values/address.rs -address = @{ "aleo" ~ ASCII_DIGIT ~ (LOWERCASE_LETTER | ASCII_DIGIT){58} } +address = @{ "aleo1" ~ (LOWERCASE_LETTER | ASCII_DIGIT){58} } // Declared in values/address_value.rs value_address = ${ type_address ~ "(" ~ address ~ ")" } diff --git a/ast/tests/serialization/json.rs b/ast/tests/serialization/json.rs index 488ea9de0c..f4844121e4 100644 --- a/ast/tests/serialization/json.rs +++ b/ast/tests/serialization/json.rs @@ -19,7 +19,5 @@ fn test_serialize() { // Serializes the abstract syntax tree into JSON format. let serialized_ast = LeoAst::to_json_string(&ast).unwrap(); - // println!("{:#?}", serialized_ast); - assert_eq!(expected, serialized_ast); }