Open str4d opened 3 years ago
Hi @str4d I'm thinking about picking up this task as a good first project - is it still relevant?
I think so! I improved the main error type in #338, but there is still more to do. I've updated the top post accordingly.
Things I've noticed:
[ ] Error types should implementPartialEq
(so they can be checked in tests).plonk::Error
now has a case that wrapsstd::io::Error
which doesn't implPartialEq
).std::error::Error
. #338plonk::Error::NotEnoughRowsAvailable
should indicate how many rows are needed (i.e. whatk
value to provide toMockProver::run
orParams::new
).plonk::Error::BoundsFailure
does not distinguish between "too few rows to fit the desired circuit assignments within the usable rows" (which should be fixed by increasing the number of rows) and other bounds failures (due to programming error).plonk::Error::Synthesis
carries no metadata with it, so it's impossible to determine from it where the synthesis error occurred.plonk::Error::Synthesis
is returned when a column is not equality-enabled (e.g.constants[1]
inEccChip
).