Merge pull request #117 from prabal-banerjee/master
fix: uint size for higher powers in PLONK verifier sol
This commit is contained in:
commit
4583d3c3b0
@ -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)%>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user