Skip to content

Commit 97b232b

Browse files
paritytech-release-backport-bot[bot]iulianbarbugithub-actions[bot]
authored
[stable2506] Backport #9102 (#9110)
Backport #9102 into `stable2506` from iulianbarbu. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Iulian Barbu <[email protected]> Co-authored-by: Iulian Barbu <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d95e3c3 commit 97b232b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

cumulus/polkadot-omni-node/lib/src/nodes/aura.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ where
128128
let spawner = task_manager.spawn_essential_handle();
129129

130130
let relay_chain_verifier =
131-
Box::new(RelayChainVerifier::new(client.clone(), |_, _| async { Ok(()) }));
131+
Box::new(RelayChainVerifier::new(client.clone(), inherent_data_providers));
132132

133133
let equivocation_aura_verifier =
134134
EquivocationVerifier::<<AuraId as AppCrypto>::Pair, _, _, _>::new(

prdoc/pr_9102.prdoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title: '`polkadot-omni-node`: pass timestamp inherent data for block import'
2+
doc:
3+
- audience: [ Runtime Dev, Node Dev ]
4+
description: |-
5+
This should allow aura runtimes to check timestamp inherent data when syncing/importing blocks
6+
that include timestamp inherent data.
7+
8+
Runtime developers can check timestamp inherent data while using `polkadot-omni-node-lib`/`polkadot-omni-node`/`polkadot-parachain` binaries.
9+
This change is backwards compatible and doesn't require runtimes to check the timestamp inherent, but they are able to do it now if needed.
10+
crates:
11+
- name: polkadot-omni-node-lib
12+
bump: minor

0 commit comments

Comments
 (0)