diff --git a/build/src/lib.rs b/build/src/lib.rs index f9a2e204..ffc9a897 100644 --- a/build/src/lib.rs +++ b/build/src/lib.rs @@ -109,7 +109,7 @@ pub fn generate_image_id_sol(guests: &[GuestListEntry]) -> Result> { .iter() .map(|guest| { let name = guest.name.to_uppercase().replace('-', "_"); - let image_id = hex::encode(Digest::from(guest.image_id)); + let image_id = hex::encode(guest.image_id); format!("bytes32 public constant {name}_ID = bytes32(0x{image_id});") }) .collect();