Skip to main content

diff_sync_committee

Function diff_sync_committee 

Source
pub fn diff_sync_committee(
    base_ssz: &[u8],
    target_ssz: &[u8],
) -> SyncCommitteeDiff
Expand description

Computes the delta between two sync committees.

Expects the raw SSZ bytes of the SyncCommittee containers (including the 4-byte SSZ length prefix if serialized as a list, though SyncCommittee is typically serialized as a fixed-size struct).