pub(crate) type DidUpdate<T: Config> = StorageValue<_GeneratedPrefixForStorageDidUpdate<T>, bool, ValueQuery>;
Expand description

Whether the timestamp has been updated in this block.

This value is updated to true upon successful submission of a timestamp by a node. It is then checked at the end of each block execution in the on_finalize hook.

Storage type is [StorageValue] with value type bool.

Aliased Type§

struct DidUpdate<T: Config>(PhantomData<(_GeneratedPrefixForStorageDidUpdate<T>, bool, ValueQuery, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageDidUpdate<T>, bool, ValueQuery, GetDefault)>