Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions acvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ pub enum Language {
PLONKCSat { width: usize },
}

#[deprecated]
pub fn hash_constraint_system(cs: &Circuit) -> [u8; 32] {
let mut bytes = Vec::new();
cs.write(&mut bytes).expect("could not serialize circuit");
Expand All @@ -242,6 +243,7 @@ pub fn hash_constraint_system(cs: &Circuit) -> [u8; 32] {
hasher.finalize_fixed().into()
}

#[deprecated]
pub fn checksum_constraint_system(cs: &Circuit) -> u32 {
let mut bytes = Vec::new();
cs.write(&mut bytes).expect("could not serialize circuit");
Expand Down