fix: uint size for higher powers in PLONK verifier sol

This commit is contained in:
prabal-banerjee 2022-01-11 20:50:27 +05:30
parent 3db91a10d4
commit dd88958f24

@ -23,7 +23,7 @@ pragma solidity >=0.7.0 <0.9.0;
contract PlonkVerifier {
uint16 constant n = <%=2**power%>;
uint<%=2**Math.ceil(Math.log2(power))%> constant n = <%=2**power%>;
uint16 constant nPublic = <%=nPublic%>;
uint16 constant nLagrange = <%=Math.max(nPublic, 1)%>;