update_status

Documentation for eth_defi.erc_4626.deposit_probe.update_status function.

update_status(path, key, result)

Atomically store one durable, hash-free probe result in local state.

Re-reading under the lock preserves concurrent writers. Current-attempt fields are rebuilt from result so evidence from an older attempt cannot leak into a later failure or success.

Parameters
  • path (pathlib.Path) – Status-file destination.

  • key (str) – Canonical vault key.

  • result (dict[str, object]) – Current attempt result without fork-local transaction identifiers.

Raises

ValueError – If a successful result does not identify a positive integer fork block.

Return type

None