Merge pull request #117 from prabal-banerjee/master

fix: uint size for higher powers in PLONK verifier sol
This commit is contained in:
Jordi Baylina 2022-01-12 10:50:48 +01:00 committed by GitHub
commit 4583d3c3b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)%>;