bug: private kernel always pushes the current contract to new_contracts (even if is_contract_deployment=false
)
#684
Labels
C-protocol-circuits
Component: Protocol circuits (kernel & rollup)
T-bug
Type: Bug. Something is broken.
From slack:
Jean:
If I move the following code region:
https://github.com/AztecProtocol/aztec-packages/blob/db-jm/intial-private-kernel/circuits/cpp/src/aztec3/circuits/kernel/private/common.cpp#L129-L143
into the
if (is_contract_deployment)
clause just afterwards, a cpp unit test will fail.Is this really expected that we might have new contract data to push into
public_inputs.end.new_contracts
even when the booleanis_contract_deployment
isfalse
?David:
I think this is a bug. It should be moved into the if statement and should not fail.
The text was updated successfully, but these errors were encountered: