barretenberg
barretenberg copied to clipboard
Reinstate flexibility in use of Relations
It is often useful to consider only a subset of relations when running certain tests. This used to be possible by simply commenting out specific relations in the relevant Flavor class. With the introduction of protogalaxy, there are numerous static asserts and hard coded magic numbers that make it so the code will not even build if the relations change.
By extension, this will also create a lot of pain for the next person who goes to add or update a relation, particularly if the max relation length stats change. It's nice to have tests that indicate important changes, but they should simply fail at runtime, not prevent building altogether. It should also not be the responsibility of someone adding a relation to go into a bunch of hard coded tests and update them accordingly.