pub fn write_attachment_commitments_to_memory() -> Vec<Word>
Writes attachment commitments to memory and returns them as protocol words.