Closed CPerezz closed 2 years ago
@CPerezz maybe the issue #364 related to you 😸.
Hey @DreamWuGit no, I don't think so. The issue is not related to debug values inside of the CS or Cells but rather the Error not being enough expressive when the copy constraints haven't been enabled.
At least I think so.
Hello mantainers.
Today while debugging a circuit with @therealyingtong we encountered a case that implied the usage of constraining an
Advice
to public inputs.When you add
region.assign_advice_from_instance(....)
in yourCustomConfig
but you don't add themeta.enable_equality(COLUMN_INVOLVED_IN_COPY_CONSTRAINT)
theMockProver
fails with error:When indeed the error could be more specific and reflect that it's due to the fact that the copy constraints have not been enabled using
meta.enable_equality
in theCircuit::configure()
.Maybe the error handling could be more specific and improved in that regard? Something like:
Maybe even add a small description pointing to the
meta.enable_equalty()
function or something similar would be nice.Thanks for this awesome piece of software BTW :smile: