some changes to get unit tests to pass

This commit is contained in:
Kevin Jue
2023-05-15 13:16:19 -07:00
parent 06727934c3
commit dde8b31d22
3 changed files with 2 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ impl<F: RichField + Extendable<D>, const D: usize> Gate<F, D> for U32AddManyGate
}
fn serialize(&self, dst: &mut Vec<u8>) -> IoResult<()> {
dst.write_usize(self.num_addends);
dst.write_usize(self.num_addends)?;
dst.write_usize(self.num_ops)
}

View File

@@ -14,7 +14,6 @@ impl WriteU32 for Vec<u8> {
}
}
#[cfg(feature = "std")]
pub trait ReadU32 {
fn read_target_u32(&mut self) -> IoResult<U32Target>;
}