Function hotshot_testing::helpers::build_fake_view_with_leaf
source ยท pub async fn build_fake_view_with_leaf<V: Versions>(
leaf: Leaf2<TestTypes>,
upgrade_lock: &UpgradeLock<TestTypes, V>,
epoch_height: u64,
) -> View<TestTypes>
Expand description
This function will create a fake View
from a provided [Leaf
].