Skip to content

Commit

Permalink
sozo
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Feb 4, 2025
1 parent 4fa9c5a commit 533d0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sozo/ops/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ fn get_name_from_schema(schema: &Ty) -> String {
Primitive::U64(_) => "u64".to_string(),
Primitive::U128(_) => "u128".to_string(),
Primitive::U256(_) => "u256".to_string(),
Primitive::USize(_) => "usize".to_string(),
Primitive::Bool(_) => "bool".to_string(),
Primitive::Felt252(_) => "felt252".to_string(),
Primitive::ClassHash(_) => "ClassHash".to_string(),
Primitive::ContractAddress(_) => "ContractAddress".to_string(),
Primitive::EthAddress(_) => "EthAddress".to_string(),

Check warning on line 199 in crates/sozo/ops/src/model.rs

View check run for this annotation

Codecov / codecov/patch

crates/sozo/ops/src/model.rs#L199

Added line #L199 was not covered by tests
},
Ty::Tuple(t) => {
format!("({})", t.iter().map(get_name_from_schema).collect::<Vec<_>>().join(", "))
Expand Down

0 comments on commit 533d0c6

Please sign in to comment.