Function validate_solution_set_dry_run

Source
pub async fn validate_solution_set_dry_run(
    conn_pool: &ConnectionPool,
    contract_registry: &ContentAddress,
    program_registry: &ContentAddress,
    solution_set: SolutionSet,
) -> Result<ValidateOutcome, ValidationError>
Expand description

Validates a solution without adding it to the database. Creates a block at the next block number and current timestamp with the given solution set and validates it.

Returns a ValidationResult if no ValidationError occurred that prevented the solution set from being validated.