mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 01:32:18 +00:00
fb8be4d555
* refactor BLS to expose an interface rather than a single implementation * Split up tests, gofmt, goimports, docs * godoc for signature.Copy() * more godocs * revert gomod / deps changes * rm newline * revert proto changes * rename bls12 to herumi for clarity
13 lines
223 B
Go
13 lines
223 B
Go
package herumi
|
|
|
|
import "github.com/herumi/bls-eth-go-binary/bls"
|
|
|
|
func init() {
|
|
if err := bls.Init(bls.BLS12_381); err != nil {
|
|
panic(err)
|
|
}
|
|
if err := bls.SetETHmode(bls.EthModeDraft07); err != nil {
|
|
panic(err)
|
|
}
|
|
}
|