chore: fix some comments

Signed-off-by: petercover <raowanxiang@outlook.com>
This commit is contained in:
petercover 2025-01-23 13:42:17 +08:00
parent a840e9b59f
commit ba3ae98d17
2 changed files with 2 additions and 2 deletions

View file

@ -363,7 +363,7 @@ func BenchmarkEOFValidation(b *testing.B) {
}
}
// BenchmarkEOFValidation tries to benchmark the code validation for the CALLF/RETF operation.
// BenchmarkEOFValidation2 tries to benchmark the code validation for the CALLF/RETF operation.
// For this we set up code that calls into 1024 code sections which
// - contain calls to some other code sections.
// We can't have all code sections calling each other, otherwise we would exceed 48KB.

View file

@ -396,7 +396,7 @@ func multiExpG1Gnark(gs []gnark.G1Affine, scalars []fr.Element) gnark.G1Affine {
return res
}
// multiExpG1Gnark is a naive implementation of G1 multi-exponentiation
// multiExpG2Gnark is a naive implementation of G2 multi-exponentiation
func multiExpG2Gnark(gs []gnark.G2Affine, scalars []fr.Element) gnark.G2Affine {
res := gnark.G2Affine{}
for i := 0; i < len(gs); i++ {