Expand description
§Snapshot diff
Off-chain symmetric of hopper-core::diff. Given the raw before and
after blobs of a Hopper account, this module produces a structured
field-level diff using the layout manifest.
Indexers care about this because receipts only tell them which fields changed by index. This module answers what they changed to.
Structs§
- Field
Delta - One field’s before/after value, as raw bytes.
Enums§
- Diff
Error - Error surface for diff operations.
Functions§
- field_
change_ mask - Bitmask version. same scan but returns a
u64whoseith bit is set when theith field differs. Useful when comparing to thechanged_fieldsmask from a receipt. - fixed_
size_ diff - Compute a fixed-size diff (no resize). Returns a list of
FieldDeltas . one per changed field.