Skip to content

Commit

Permalink
Update constraint counts.
Browse files Browse the repository at this point in the history
  • Loading branch information
acoglio committed Oct 27, 2023
1 parent 532033f commit b886930
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 72 deletions.
12 changes: 6 additions & 6 deletions circuit/program/src/data/literal/cast_lossy/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ mod tests {
fn test_field_to_address() {
check_cast_lossy::<Address<Circuit>, console_root::types::Address<Testnet3>>(
Mode::Constant,
count_less_than!(551, 0, 0, 0),
count_less_than!(4303, 0, 0, 0),
);
check_cast_lossy::<Address<Circuit>, console_root::types::Address<Testnet3>>(
Mode::Public,
count_is!(277, 0, 899, 904),
count_is!(2029, 0, 6745, 6750),
);
check_cast_lossy::<Address<Circuit>, console_root::types::Address<Testnet3>>(
Mode::Private,
count_is!(277, 0, 899, 904),
count_is!(2029, 0, 6745, 6750),
);
}

Expand Down Expand Up @@ -184,15 +184,15 @@ mod tests {
fn test_field_to_group() {
check_cast_lossy::<Group<Circuit>, console_root::types::Group<Testnet3>>(
Mode::Constant,
count_less_than!(551, 0, 0, 0),
count_less_than!(4303, 0, 0, 0),
);
check_cast_lossy::<Group<Circuit>, console_root::types::Group<Testnet3>>(
Mode::Public,
count_is!(277, 0, 899, 904),
count_is!(2029, 0, 6745, 6750),
);
check_cast_lossy::<Group<Circuit>, console_root::types::Group<Testnet3>>(
Mode::Private,
count_is!(277, 0, 899, 904),
count_is!(2029, 0, 6745, 6750),
);
}

Expand Down
Loading

0 comments on commit b886930

Please sign in to comment.