Skip to content

Commit cfbcf0f

Browse files
committed
note on removal of phase change check
1 parent 3d2f38f commit cfbcf0f

File tree

1 file changed

+3
-0
lines changed
  • noir-projects/noir-contracts/contracts/protocol/auth_registry_contract/src

1 file changed

+3
-0
lines changed

noir-projects/noir-contracts/contracts/protocol/auth_registry_contract/src/main.nr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ pub contract AuthRegistry {
236236
authorize: bool,
237237
) -> return_data aztec::protocol::abis::private_circuit_public_inputs::PrivateCircuitPublicInputs {
238238
// MACRO CODE START
239+
// Note that the macros originally injected a phase check here as we enqueue a call to a public function. In
240+
// this I have removed that check because the enqueued public function is in this contract and does not change
241+
// phase.
239242
assert_compatible_oracle_version();
240243

241244
let mut serialized_params: [Field; 3] = [0; 3];

0 commit comments

Comments
 (0)