mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-01 05:37:05 +00:00
Many fixes
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user