Merge remote-tracking branch 'origin/unstable' into tree-states-update

This commit is contained in:
Michael Sproul
2024-03-11 15:29:03 +11:00
78 changed files with 1517 additions and 1601 deletions

View File

@@ -31,10 +31,6 @@ impl Case for BlsEthAggregatePubkeys {
{
return Ok(());
}
#[cfg(feature = "milagro")]
Err(bls::Error::MilagroError(_)) if self.output.is_none() => {
return Ok(());
}
Err(e) => return Err(Error::FailedToParseTest(format!("{:?}", e))),
};

View File

@@ -71,9 +71,7 @@ where
f(&bytes).map_err(|e| {
match e {
// NOTE: this is a bit hacky, but seemingly better than the alternatives
ssz::DecodeError::BytesInvalid(message)
if message.contains("Blst") || message.contains("Milagro") =>
{
ssz::DecodeError::BytesInvalid(message) if message.contains("Blst") => {
Error::InvalidBLSInput(message)
}
e => Error::FailedToParseTest(format!(