async fn reward_header_dependencies(
instance: &NodeState,
leaves: impl IntoIterator<Item = &Leaf2>,
) -> Result<HashSet<RewardAccountV2>>
Expand description
Identifies all reward accounts required to replay the State Transition Function for the given leaf proposals. These accounts should be present in the Merkle tree before applying the STF to avoid recursive catchup (i.e., STF triggering another catchup).