ginger-lib icon indicating copy to clipboard operation
ginger-lib copied to clipboard

Expand SemanticallyValid trait

Open 95DDB opened this issue 4 years ago • 0 comments

Would be nice to have, for this trait:

  • Derive macros, calling is_valid() on each of the members of a given struct;
  • An additional function that allows checking for semantic validity of self given also external data that might be necessary to perform checks otherwise not doable (e.g. if we'd had the circuit associated to a given Marlin pk/vk we would be able to check too that indeed they are the pk/vk associated to that circuit)

95DDB avatar Jul 07 '21 14:07 95DDB