mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 09:01:32 +01:00
small refactor of names
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
. "gnark-ed25519/goldilocks"
|
||||
. "gnark-ed25519/field"
|
||||
"math/big"
|
||||
|
||||
"github.com/consensys/gnark/frontend"
|
||||
@@ -26,8 +26,8 @@ func StrArrayToFrontendVariableArray(input []string) []frontend.Variable {
|
||||
return output
|
||||
}
|
||||
|
||||
func Uint64ArrayToGoldilocksElementArray(input []uint64) []GoldilocksElement {
|
||||
var output []GoldilocksElement
|
||||
func Uint64ArrayToFArray(input []uint64) []F {
|
||||
var output []F
|
||||
for i := 0; i < len(input); i++ {
|
||||
output = append(output, emulated.NewElement[emulated.Goldilocks](input[i]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user