diff --git a/crates/torii/grpc/src/server/mod.rs b/crates/torii/grpc/src/server/mod.rs index 5e50e95b37..bcd9888275 100644 --- a/crates/torii/grpc/src/server/mod.rs +++ b/crates/torii/grpc/src/server/mod.rs @@ -323,7 +323,7 @@ impl DojoWorld { .iter() .map(|bytes| { if bytes.is_empty() { - return Ok("%".to_string()); + return Ok("0x%".to_string()); } Ok(FieldElement::from_byte_slice_be(bytes) .map(|felt| format!("{felt:#x}")) @@ -416,7 +416,7 @@ impl DojoWorld { .iter() .map(|bytes| { if bytes.is_empty() { - return Ok("%".to_string()); + return Ok("0x%".to_string()); } Ok(FieldElement::from_byte_slice_be(bytes)