pub fn get_all_uids(
fully_annotated_layout: &MoveTypeLayout,
bcs_bytes: &[u8],
) -> Result<BTreeSet<ObjectID>, String>
Expand description
WARNING! This function assumes that the bcs bytes have already been validated, and it will give an invariant violation otherwise. In short, we are relying on the invariant that the bytes are valid for objects in storage. We do not need this invariant for dev-inspect, as the programmable transaction execution will validate the bytes before we get to this point.