pub trait HashProducer { type Error; // Required method fn generate_hash(&self) -> Result<Felt, Self::Error>; }