-
Notifications
You must be signed in to change notification settings - Fork 789
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
2 changed files
with
29 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |