Skip to content

Check if any of the data columns are slashable before publishing #6372

Open
@jimmygchen

Description

@jimmygchen

Description

When publishing a block, we check if any of the block and blobs are slashable here:

/// 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

No one assigned

    Labels

    dasData Availability SamplingfuluRequired for the upcoming Fulu hard fork

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions