mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
c69bce5d84
* Use fieldparams for pubkey length * Fix validator tests * fix more tests * fix mock validator * Fix typo * bunch of typos * Update bytes.go * Update BUILD.bazel Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
13 lines
428 B
Go
13 lines
428 B
Go
package common
|
|
|
|
import fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams"
|
|
|
|
// ZeroSecretKey represents a zero secret key.
|
|
var ZeroSecretKey = [32]byte{}
|
|
|
|
// InfinitePublicKey represents an infinite public key (G1 Point at Infinity).
|
|
var InfinitePublicKey = [fieldparams.BLSPubkeyLength]byte{0xC0}
|
|
|
|
// InfiniteSignature represents an infinite signature (G2 Point at Infinity).
|
|
var InfiniteSignature = [96]byte{0xC0}
|