From 88ab83de424a3cb72a8d4a536fed485a880c0bf7 Mon Sep 17 00:00:00 2001 From: HoverCatz <1442391+HoverCatz@users.noreply.github.com> Date: Fri, 7 Feb 2025 01:23:23 +0100 Subject: [PATCH] Update options.rs Fixed a bug in the serializer. It was writing the batching_deep variable in the wrong place, compared to the deserializer. Tested and seems to work. --- air/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/air/src/options.rs b/air/src/options.rs index 1feef85a0..3dee3820e 100644 --- a/air/src/options.rs +++ b/air/src/options.rs @@ -292,9 +292,9 @@ impl Serializable for ProofOptions { target.write(self.field_extension); target.write_u8(self.fri_folding_factor); target.write_u8(self.fri_remainder_max_degree); + target.write(self.batching_deep); target.write_u8(self.partition_options.num_partitions); target.write_u8(self.partition_options.hash_rate); - target.write(self.batching_deep); } }