diff --git a/node/crypto/kzg_inclusion_prover.go b/node/crypto/kzg_inclusion_prover.go index c940bbe..70cfd74 100644 --- a/node/crypto/kzg_inclusion_prover.go +++ b/node/crypto/kzg_inclusion_prover.go @@ -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 { diff --git a/node/main.go b/node/main.go index 8c2010d..beec731 100644 --- a/node/main.go +++ b/node/main.go @@ -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) }