Skip to main content

execute_draft_group

Function execute_draft_group 

Source
pub fn execute_draft_group<S, I, O, E>(
    graph: &ExecutionGraph,
    group: &str,
    input: I,
    state: &mut S,
    execute: impl FnOnce(usize, &str, I, &mut S) -> Result<O, E>,
) -> Result<O, DraftGroupExecutionError<E>>
Expand description

Executes one exact graph identity against the state owned by a target or draft transaction.