Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
chore: add note to test_program_serialization.rs on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jul 27, 2023
1 parent 954bb0e commit daf3480
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions acir/tests/test_program_serialization.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//! This integration test defines a set of circuits which are used in order to test the acvm_js package.
//!
//! The acvm_js test suite contains serialized [circuits][`Circuit`] which must be kept in sync with the format
//! outputted from the [ACIR crate][acir].
//! Breaking changes to the serialization format then require refreshing acvm_js's test suite.
//! This file contains Rust definitions of these circuits and outputs the updated serialized format.
//!
//! These tests also check this circuit serialization against an expected value, erroring if the serialization changes.
//! Generally in this situation we just need to refresh the `expected_serialization` variables to match the
//! actual output, **HOWEVER** note that this results in a breaking change to the ACIR format.

use std::collections::BTreeSet;

use acir::{
Expand Down

0 comments on commit daf3480

Please sign in to comment.