Skip to content

Commit

Permalink
Update options.rs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
HoverCatz authored Feb 7, 2025
1 parent cd39e0b commit 88ab83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion air/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 88ab83d

Please sign in to comment.