2020-01-08 20:31:35 +00:00
|
|
|
package build
|
|
|
|
|
2021-05-28 06:52:19 +00:00
|
|
|
import (
|
|
|
|
_ "embed"
|
|
|
|
)
|
|
|
|
|
|
|
|
//go:embed proof-params/parameters.json
|
|
|
|
var params []byte
|
2020-01-08 20:31:35 +00:00
|
|
|
|
2020-05-27 20:53:20 +00:00
|
|
|
func ParametersJSON() []byte {
|
2021-05-28 06:52:19 +00:00
|
|
|
return params
|
2020-01-30 22:50:24 +00:00
|
|
|
}
|
2021-03-10 15:16:44 +00:00
|
|
|
|
|
|
|
func SrsJSON() []byte {
|
|
|
|
return rice.MustFindBox("proof-params").MustBytes("srs-inner-product.json")
|
|
|
|
}
|