mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
chore: fix some comments
Signed-off-by: petercover <raowanxiang@outlook.com>
This commit is contained in:
parent
a840e9b59f
commit
ba3ae98d17
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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++ {
|
||||
|
|
|
|||
Loading…
Reference in a new issue