From ba3ae98d17868b7982104a96369a1e1850cc89b3 Mon Sep 17 00:00:00 2001 From: petercover Date: Thu, 23 Jan 2025 13:42:17 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: petercover --- core/vm/eof_validation_test.go | 2 +- tests/fuzzers/bls12381/bls12381_fuzz.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vm/eof_validation_test.go b/core/vm/eof_validation_test.go index afb856a32c..f7b0e78f26 100644 --- a/core/vm/eof_validation_test.go +++ b/core/vm/eof_validation_test.go @@ -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. diff --git a/tests/fuzzers/bls12381/bls12381_fuzz.go b/tests/fuzzers/bls12381/bls12381_fuzz.go index a3e0e9f72b..e5d96cd5b8 100644 --- a/tests/fuzzers/bls12381/bls12381_fuzz.go +++ b/tests/fuzzers/bls12381/bls12381_fuzz.go @@ -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++ {