pub async fn build_fake_view_with_leaf_and_state<V: Versions>(
leaf: Leaf2<TestTypes>,
state: TestValidatedState,
_upgrade_lock: &UpgradeLock<TestTypes, V>,
epoch_height: u64,
) -> View<TestTypes>Expand description
This function will create a fake View from a provided [Leaf] and state.