async fn decide_epoch_root<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
decided_leaf: &Leaf2<TYPES>,
epoch_height: u64,
membership: &Arc<RwLock<TYPES::Membership>>,
storage: &I::Storage,
consensus: &OuterConsensus<TYPES>,
upgrade_lock: &UpgradeLock<TYPES, V>,
)
Expand description
Handles calling add_epoch_root and sync_l1 on Membership if necessary.