diff --git a/crates/rpc/src/pathfinder/methods/get_proof.rs b/crates/rpc/src/pathfinder/methods/get_proof.rs index f3cbc5029b..3f7ebbac08 100644 --- a/crates/rpc/src/pathfinder/methods/get_proof.rs +++ b/crates/rpc/src/pathfinder/methods/get_proof.rs @@ -198,7 +198,6 @@ impl crate::dto::serialize::SerializeForVersion for GetProofOutput { ) -> Result { let mut serializer = serializer.serialize_struct()?; serializer.serialize_optional("state_commitment", self.state_commitment)?; - serializer.serialize_optional("class_commitment", self.class_commitment)?; serializer.serialize_field("contract_proof", &self.contract_proof)?; serializer.serialize_optional("contract_data", self.contract_data.clone())?; serializer.end() @@ -217,7 +216,6 @@ impl crate::dto::serialize::SerializeForVersion for GetClassProofOutput { serializer: crate::dto::serialize::Serializer, ) -> Result { let mut serializer = serializer.serialize_struct()?; - serializer.serialize_optional("class_commitment", self.class_commitment)?; serializer.serialize_field("class_proof", &self.class_proof)?; serializer.end() }