pub trait ParachainPieceConfig {
    type SetRelayParentNumberStorage: SetRelayParentNumberStorage;

    const PARA_ID: u32 = 2_000u32;
}
Expand description

Options to configure the timestamp piece when it is aggregated or used in a runtime.

Required Associated Types§

source

type SetRelayParentNumberStorage: SetRelayParentNumberStorage

A means of setting an ambiently available relay parent number. This value WILL be used when the collator calls the collation API after the block is authored and also in validate_block. Additionally, it MAY be used by any other pieces in the runtime who have access to it.

Provided Associated Constants§

source

const PARA_ID: u32 = 2_000u32

The Parachain Id of this chain. This is currently a copmile time constant, which is simple but not that flexible.

The default value is set to 2_000 to match the first available id in the rococo-local runtime.

Object Safety§

This trait is not object safe.

Implementors§