pub fn bytecode_from_slice(artifact_name: &str, contents: &[u8]) -> Vec<u8>