Function risc0_zkvm::guest::env::commit
source · pub fn commit<T: Serialize>(data: &T)
Expand description
Serialize the given data and commit it to the journal.
Data in the journal is included in the receipt and is available to the verifier. It is considered “public” data.