pub fn replay_retirement_writer_ids(
store_root_hash: ObjectHash,
current_device_state: &ResolvedStoreDeviceState,
current_registrations: &BTreeMap<StoreDeviceId, ReferencedStoreDeviceRegistration>,
membership: &MembershipChain,
) -> Result<BTreeSet<StoreDeviceId>, StoreProtocolError>