You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ensure all the checks and public inputs are set correctly for the hiding circuit #1156
We should get some clarity (in collab with @arielgabizon) on what exactly we need to do here and/or what we want to do if there are multiple valid solutions
This depends on details of the tail circuit, which I'm not sure are 100% finalized?
So, especially as we're doing it now in Noir, we should construct the hiding circuit in coordination with @LeilaWang to make sure we're doing all the needed checks on the inputs from the tail circuit.
It seems checks that I mentioned like that the function stack is empty are already checked in the tail circuit.
So I would guess it's enough in the hiding circuit to check
the vk belongs to the tail circuit
the notes and nullifiers, and other fields passed to the rollup from the public input of the tail circuit, are correctly copied to the public input of the hiding circuit
What @arielgabizon said is totally correct! That’s all we need to do in the hiding circuit. The tail checks everything and composes the public inputs that won't leak any private information, so the hiding only needs to make sure the previous one is tail (or tail_to_public) by checking the vk, and pass on the exact public inputs.
Activity
ledwards2225 commentedon Jul 3, 2025
We should get some clarity (in collab with @arielgabizon) on what exactly we need to do here and/or what we want to do if there are multiple valid solutions
arielgabizon commentedon Jul 11, 2025
This depends on details of the tail circuit, which I'm not sure are 100% finalized?
So, especially as we're doing it now in Noir, we should construct the hiding circuit in coordination with @LeilaWang to make sure we're doing all the needed checks on the inputs from the tail circuit.
From looking at the description of the tail circuit here https://github.com/AztecProtocol/aztec-packages/blob/af0787fc71973d3389a22dffc572fc7cf062176e/docs/docs/protocol-specs/circuits/private-kernel-tail.md?plain=1#L25
It seems checks that I mentioned like that the function stack is empty are already checked in the tail circuit.
So I would guess it's enough in the hiding circuit to check
But we should run this through Leila.
LeilaWang commentedon Aug 12, 2025
What @arielgabizon said is totally correct! That’s all we need to do in the hiding circuit. The tail checks everything and composes the public inputs that won't leak any private information, so the hiding only needs to make sure the previous one is tail (or tail_to_public) by checking the vk, and pass on the exact public inputs.