fix: uint size for higher powers in PLONK verifier sol
This commit is contained in:
parent
3db91a10d4
commit
dd88958f24
@ -23,7 +23,7 @@ pragma solidity >=0.7.0 <0.9.0;
|
|||||||
|
|
||||||
contract PlonkVerifier {
|
contract PlonkVerifier {
|
||||||
|
|
||||||
uint16 constant n = <%=2**power%>;
|
uint<%=2**Math.ceil(Math.log2(power))%> constant n = <%=2**power%>;
|
||||||
uint16 constant nPublic = <%=nPublic%>;
|
uint16 constant nPublic = <%=nPublic%>;
|
||||||
uint16 constant nLagrange = <%=Math.max(nPublic, 1)%>;
|
uint16 constant nLagrange = <%=Math.max(nPublic, 1)%>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user