Skip to content

Missing Timestamp Validation #9723

@apopiak

Description

@apopiak

The validation logic no longer includes the timestamp check inherents:

#[docify::export(register_validate_block)]
cumulus_pallet_parachain_system::register_validate_block! {
Runtime = Runtime,
BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
}

But it still includes pallet timestamp:

pub type Timestamp = pallet_timestamp;

We should either remove pallet timestamp or make use of the new consensus hook to check it, otherwise builders might rely on unvalidated timestamps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions