diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c88f09c954..62259069c7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -89,6 +89,11 @@ jobs: # Use blst tag to allow go and bazel builds for blst. run: go build -v ./... + # fuzz and blst_disabled leverage go tag based stubs at compile time. + # Building with these tags should be checked and enforced at pre-submit. + - name: Build for fuzzing + run: go build -tags=fuzz,blst_disabled ./... + # Tests run via Bazel for now... # - name: Test # run: go test -v ./... diff --git a/crypto/bls/blst/stub.go b/crypto/bls/blst/stub.go index 818f1fbb41..4c56584769 100644 --- a/crypto/bls/blst/stub.go +++ b/crypto/bls/blst/stub.go @@ -104,6 +104,11 @@ func SignatureFromBytes(_ []byte) (Signature, error) { panic(err) } +// MultipleSignaturesFromBytes -- stub +func MultipleSignaturesFromBytes(multiSigs [][]byte) ([]common.Signature, error) { + panic(err) +} + // AggregatePublicKeys -- stub func AggregatePublicKeys(_ [][]byte) (PublicKey, error) { panic(err)