mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 09:01:32 +01:00
expanded fri_test.go and implemented more for the fri verifier
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package field
|
||||
|
||||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/consensys/gnark-crypto/ecc"
|
||||
"github.com/consensys/gnark/frontend"
|
||||
"github.com/consensys/gnark/std/math/emulated"
|
||||
@@ -28,3 +30,9 @@ func NewFieldAPI(api frontend.API) frontend.API {
|
||||
}
|
||||
return field
|
||||
}
|
||||
|
||||
var r EmulatedField
|
||||
|
||||
func EmulatedFieldModulus() *big.Int {
|
||||
return r.Modulus()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user