(
min: u64,
max: u64,
params: SmcParamsAndCommitmentKey<E>,
)
| 78 | |
| 79 | impl<E: Pairing> BoundCheckSmc<E> { |
| 80 | pub fn new_statement_from_params( |
| 81 | min: u64, |
| 82 | max: u64, |
| 83 | params: SmcParamsAndCommitmentKey<E>, |
| 84 | ) -> Result<Statement<E>, ProofSystemError> { |
| 85 | validate_bounds(min, max)?; |
| 86 | |
| 87 | Ok(Statement::BoundCheckSmc(Self { |
| 88 | min, |
| 89 | max, |
| 90 | params_and_comm_key: Some(params), |
| 91 | params_and_comm_key_ref: None, |
| 92 | })) |
| 93 | } |
| 94 | |
| 95 | pub fn new_statement_from_params_ref( |
| 96 | min: u64, |
nothing calls this directly
no test coverage detected