Skip to main content

apply

pub(super) async fn apply(
    db: &Database,
    writes: &[Write],
    action: Action,
) -> Result<Applied>
Expand description

Publishes a candidate’s planned writes and verifies them.

A move that fails verification is restored to its exact preimage, while a purge that fails is an error.