mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-29 10:54:24 +00:00
Rename eip4844 to deneb (#4129)
* rename 4844 to deneb * rename 4844 to deneb * move excess data gas field * get EF tests working * fix ef tests lint * fix the blob identifier ef test * fix accessed files ef test script * get beacon chain tests passing
This commit is contained in:
@@ -940,7 +940,7 @@ impl ForkVersionDeserialize for SsePayloadAttributes {
|
||||
ForkName::Merge => serde_json::from_value(value)
|
||||
.map(Self::V1)
|
||||
.map_err(serde::de::Error::custom),
|
||||
ForkName::Capella | ForkName::Eip4844 => serde_json::from_value(value)
|
||||
ForkName::Capella | ForkName::Deneb => serde_json::from_value(value)
|
||||
.map(Self::V2)
|
||||
.map_err(serde::de::Error::custom),
|
||||
ForkName::Base | ForkName::Altair => Err(serde::de::Error::custom(format!(
|
||||
@@ -1306,7 +1306,7 @@ impl<T: EthSpec, Payload: AbstractExecPayload<T>> ForkVersionDeserialize
|
||||
D,
|
||||
>(value, fork_name)?))
|
||||
}
|
||||
ForkName::Eip4844 => Ok(BlockContents::BlockAndBlobSidecars(
|
||||
ForkName::Deneb => Ok(BlockContents::BlockAndBlobSidecars(
|
||||
BeaconBlockAndBlobSidecars::deserialize_by_fork::<'de, D>(value, fork_name)?,
|
||||
)),
|
||||
}
|
||||
@@ -1369,7 +1369,7 @@ impl<T: EthSpec, Payload: AbstractExecPayload<T>> From<SignedBeaconBlock<T, Payl
|
||||
| SignedBeaconBlock::Merge(_)
|
||||
| SignedBeaconBlock::Capella(_) => SignedBlockContents::Block(block),
|
||||
//TODO: error handling, this should be try from
|
||||
SignedBeaconBlock::Eip4844(_block) => todo!(),
|
||||
SignedBeaconBlock::Deneb(_block) => todo!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user