mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-20 15:15:18 +00:00
adjust for testing
This commit is contained in:
parent
fd0e1449a5
commit
ebff8ecf3a
@ -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 {
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user