@@ -60,26 +60,28 @@ impl PrivateKernelInnerCircuitPrivateInputs {
60
60
start_private_call_stack_length
61
61
- 1 ];
62
62
63
- private_call_data_validator .verify_proof (false /* is_first_app */ );
64
- private_call_data_validator .validate_common (
65
- self .previous_kernel .public_inputs .constants .protocol_contract_tree_root ,
66
- );
67
- private_call_data_validator .validate_against_call_request (call_request );
68
- private_call_data_validator .validate_against_previous_kernel (self .previous_kernel .public_inputs );
69
-
70
- // Generate output.
71
- // Safety: The output is validated below by PrivateKernelCircuitOutputValidator.
72
- let output = unsafe { self .generate_output () };
73
-
74
- // Validate output.
75
- if dep::types::validate:: should_validate_output () {
76
- PrivateKernelCircuitOutputValidator ::new (output ).validate_as_inner_call (
63
+ private_call_data_validator .verify_proof (false /* is_first_app */ );
64
+ private_call_data_validator .validate_common (
65
+ self .previous_kernel .public_inputs .constants .protocol_contract_tree_root ,
66
+ );
67
+ private_call_data_validator .validate_against_call_request (call_request );
68
+ private_call_data_validator .validate_against_previous_kernel (
77
69
self .previous_kernel .public_inputs ,
78
- self .private_call ,
79
70
);
71
+
72
+ // Generate output.
73
+ // Safety: The output is validated below by PrivateKernelCircuitOutputValidator.
74
+ let output = unsafe { self .generate_output () };
75
+
76
+ // Validate output.
77
+ if dep::types::validate:: should_validate_output () {
78
+ PrivateKernelCircuitOutputValidator ::new (output ).validate_as_inner_call (
79
+ self .previous_kernel .public_inputs ,
80
+ self .private_call ,
81
+ );
82
+ }
83
+ output
80
84
}
81
- output
82
- }
83
85
}
84
86
85
87
mod tests {
0 commit comments