referrerpolicy=no-referrer-when-downgrade
pub type RelaychainBlockNumberProvider<T> = RelaychainDataProvider<T>;
👎Deprecated: Use RelaychainDataProvider instead
Expand description

Implements [BlockNumberProvider] that returns relay chain block number fetched from validation data.

When validation data is not available (e.g. within on_initialize), it will fallback to use Pallet::last_relay_block_number().

NOTE: This has been deprecated, please use RelaychainDataProvider

Aliased Type§

struct RelaychainBlockNumberProvider<T>(/* private fields */);