-
Notifications
You must be signed in to change notification settings - Fork 909
Open
Labels
dasData Availability SamplingData Availability SamplingfuluRequired for the upcoming Fulu hard forkRequired for the upcoming Fulu hard fork
Description
Description
When publishing a block, we check if any of the block and blobs are slashable here:
lighthouse/beacon_node/http_api/src/publish_blocks.rs
Lines 540 to 547 in ed7cd3b
/// Check if any of the blobs or the block are slashable. Returns `BlockError::Slashable` if so. | |
fn check_slashable<T: BeaconChainTypes>( | |
chain_clone: &BeaconChain<T>, | |
blobs_opt: &Option<BlobSidecarList<T::EthSpec>>, | |
block_root: Hash256, | |
block_clone: &SignedBeaconBlock<T::EthSpec, FullPayload<T::EthSpec>>, | |
log_clone: &Logger, | |
) -> Result<(), BlockError> { |
We need to add the equivalent check for data column sidecars here too.
Metadata
Metadata
Assignees
Labels
dasData Availability SamplingData Availability SamplingfuluRequired for the upcoming Fulu hard forkRequired for the upcoming Fulu hard fork