pub(crate) async fn compute_state_update( parent_state: &ValidatedState, instance: &NodeState, peers: &impl StateCatchup, parent_leaf: &Leaf2, proposed_leaf: &Leaf2, ) -> Result<(ValidatedState, Delta)>