mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Return latest known relay chain block number in on_initialize etc (#2862)
This changes `RelaychainDataProvider` to return the latest known relay chain block number in `on_initialize` et all, aka when the `validation_data` wasn't yet set by the inherent. --------- Co-authored-by: Dónal Murray <donal.murray@parity.io>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
title: Return latest known relay chain block number in `on_initialize` etc.
|
||||
|
||||
doc:
|
||||
- audience: Runtime Dev
|
||||
description: |
|
||||
`RelaychainDataProvider` and `RelaychainBlockNumberProvider` will now return the latest known
|
||||
relay chain block number in `on_initialize`, aka when `validation_data` wasn't yet set by
|
||||
the inherent.
|
||||
|
||||
crates:
|
||||
- name: "cumulus-pallet-parachain-system"
|
||||
Reference in New Issue
Block a user