Many fixes

This commit is contained in:
Eitan Seri-Levi
2026-05-09 18:58:08 +03:00
parent 2356bdd256
commit 1b2cf3ba01
45 changed files with 667 additions and 1328 deletions

View File

@@ -749,7 +749,11 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
.get_bytes(SignedExecutionPayloadEnvelope::<E>::db_column(), key)?
{
Some(bytes) => {
let envelope = SignedExecutionPayloadEnvelope::from_ssz_bytes(&bytes)?;
// TODO(heze): determine fork from slot when Gloas/Heze SSZ formats diverge
let envelope = SignedExecutionPayloadEnvelope::from_ssz_bytes_by_fork(
&bytes,
ForkName::Gloas,
)?;
Ok(Some(envelope))
}
None => Ok(None),