adjust for testing

This commit is contained in:
Cassandra Heart 2024-06-06 14:42:05 -05:00
parent fd0e1449a5
commit ebff8ecf3a
No known key found for this signature in database
GPG Key ID: 6352152859385958
2 changed files with 5 additions and 5 deletions

View File

@ -176,7 +176,7 @@ func (k *KZGInclusionProver) ProveAggregate(
return nil, errors.Wrap(err, "prove aggregate")
}
for i := 0; i < 128-len(poly); i++ {
for i := 0; i < 1024-len(poly); i++ {
poly = append(
poly,
curves.BLS48581G1().Scalar.Zero().(curves.PairingScalar),
@ -188,7 +188,7 @@ func (k *KZGInclusionProver) ProveAggregate(
*curves.BLS48581(
curves.BLS48581G1().NewGeneratorPoint(),
),
128,
1024,
false,
)
if err != nil {
@ -387,7 +387,7 @@ func (k *KZGInclusionProver) VerifyFrame(
return errors.Wrap(err, "verify frame")
}
for i := 0; i < 128-len(poly); i++ {
for i := 0; i < 1024-len(poly); i++ {
poly = append(
poly,
curves.BLS48581G1().Scalar.Zero().(curves.PairingScalar),
@ -399,7 +399,7 @@ func (k *KZGInclusionProver) VerifyFrame(
*curves.BLS48581(
curves.BLS48581G1().NewGeneratorPoint(),
),
128,
1024,
false,
)
if err != nil {

View File

@ -520,7 +520,7 @@ func runPerfGrinder() {
// simulate a random chunk of data
b := make([]byte, 65536)
rand.Read(b)
commit, err := prover.Commit(b, protobufs.IntrinsicExecutionOutputType)
commit, err := prover.Commit(b, protobufs.ExecutionContextType)
if err != nil {
panic(err)
}