maci icon indicating copy to clipboard operation
maci copied to clipboard

batchUstVerifier and qvtVerifier on the MACI contract are inaccessible externally

Open yuetloo opened this issue 2 years ago • 1 comments

Hi,

Is it possible to make these accessible publicly? It'll be useful for debugging purposes. These can still be accessed today using getStorageAt, making them public will make it easier to get the values.

   // Verifier Contracts
    SnarkVerifier internal batchUstVerifier;
    SnarkVerifier internal qvtVerifier;

https://github.com/privacy-scaling-explorations/maci/blob/master/contracts/sol/MACI.sol#L31-L32

yuetloo avatar Jun 03 '22 16:06 yuetloo

I'll investigate if we can support this for v1.0 as well

corydickson avatar Jun 07 '22 21:06 corydickson

I'm closing this as it applies to 0.x, feel free to re open if there is a similar need in the v1.x code.

ctrlc03 avatar Oct 23 '23 09:10 ctrlc03