Function validate_dry_run

Source
pub async fn validate_dry_run(
    conn_pool: &ConnectionPool,
    contract_registry: &ContentAddress,
    program_registry: &ContentAddress,
    block: &Block,
) -> Result<ValidateOutcome, ValidationError>
Expand description

Validates a block without adding the block to the database.

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