Function check_and_compute_solution_set

Source
pub fn check_and_compute_solution_set<S>(
    state: &S,
    solution_set: SolutionSet,
    get_predicate: impl GetPredicate + Sync,
    get_program: impl 'static + Clone + GetProgram + Send + Sync,
    config: Arc<CheckPredicateConfig>,
    run_mode: RunMode,
    cache: &mut HashMap<SolutionIndex, Cache>,
) -> Result<(Gas, SolutionSet), PredicatesError<S::Error>>
where S: Clone + StateReads + Send + Sync + 'static, S::Error: Send,
Expand description

Check the given solution set against the given predicates and and compute the post state mutations for this set.