pub fn get_val() -> <AllocateAndReturnByCodec<Option<Vec<u8>>> as RIType>::Inner
another function TODO: Remove this legacy method once all collators are upgraded