Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 00fa318

Browse files
committed
finish rename
1 parent 67ef6c7 commit 00fa318

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

primitives/aura/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ sp_api::decl_runtime_apis! {
4141
///
4242
/// This should be consistent with the logic the runtime uses when validating blocks to
4343
/// avoid issues.
44+
///
45+
/// When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block
46+
/// whose state we are querying against, this must always return `true` as long as the slot
47+
/// is more recent than the included block itself.
4448
fn can_build_upon(included_hash: Block::Hash, slot: Slot) -> bool;
4549
}
4650
}

0 commit comments

Comments
 (0)