Function update

Source
pub fn update<F: PrimeField>(path: &str, diff: &Diff<F>) -> Result<()>
Expand description

Takes a valid diff and update the file accordingly, replacing the old values by the new ones at the specified indices ; the indices of the diff are specified by scalars (not by bytes) and the values of the diff are the new scalar value expected for the new data. Note that this only update the file, not the commitment