From b511eef84832e9464a6ac72fe13a465586550580 Mon Sep 17 00:00:00 2001 From: Nishant Das Date: Thu, 10 Aug 2023 22:51:19 +0800 Subject: [PATCH] Update BLST to v0.3.11 (#12717) * add changes * Remove server.c exclusion in headers --------- Co-authored-by: Preston Van Loon --- deps.bzl | 6 +++--- go.mod | 2 +- go.sum | 3 ++- third_party/blst/blst.BUILD | 3 +-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deps.bzl b/deps.bzl index 986b3bc92..ccaed081b 100644 --- a/deps.bzl +++ b/deps.bzl @@ -3824,11 +3824,11 @@ def prysm_deps(): http_archive( name = "com_github_supranational_blst", urls = [ - "https://github.com/supranational/blst/archive/61758ce4e1d18e6929658ac3a29fa39ad91cd294.tar.gz", + "https://github.com/supranational/blst/archive/3dd0f804b1819e5d03fb22ca2e6fac105932043a.tar.gz", ], - strip_prefix = "blst-61758ce4e1d18e6929658ac3a29fa39ad91cd294", + strip_prefix = "blst-3dd0f804b1819e5d03fb22ca2e6fac105932043a", build_file = "//third_party:blst/blst.BUILD", - sha256 = "acc022ddcf6181f8f402365d6382ea66c4352a10fe5490defd53b0db89739c42", + sha256 = "132124c074e59ead77e1828cc54b587a182ea67b781b72198e802af4696d78fe", ) go_repository( name = "com_github_syndtr_goleveldb", diff --git a/go.mod b/go.mod index a3cc2cd5f..f6443e26c 100644 --- a/go.mod +++ b/go.mod @@ -68,7 +68,7 @@ require ( github.com/sirupsen/logrus v1.9.0 github.com/status-im/keycard-go v0.2.0 github.com/stretchr/testify v1.8.2 - github.com/supranational/blst v0.3.8-0.20220526154634-513d2456b344 + github.com/supranational/blst v0.3.11 github.com/thomaso-mirodin/intmath v0.0.0-20160323211736-5dc6d854e46e github.com/trailofbits/go-mutexasserts v0.0.0-20230328101604-8cdbc5f3d279 github.com/tyler-smith/go-bip39 v1.1.0 diff --git a/go.sum b/go.sum index ac3506b00..9baca9bf6 100644 --- a/go.sum +++ b/go.sum @@ -1208,8 +1208,9 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/supranational/blst v0.3.8-0.20220526154634-513d2456b344 h1:m+8fKfQwCAy1QjzINvKe/pYtLjo2dl59x2w9YSEJxuY= github.com/supranational/blst v0.3.8-0.20220526154634-513d2456b344/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= +github.com/supranational/blst v0.3.11 h1:LyU6FolezeWAhvQk0k6O/d49jqgO52MSDDfYgbeoEm4= +github.com/supranational/blst v0.3.11/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d h1:vfofYNRScrDdvS342BElfbETmL1Aiz3i2t0zfRj16Hs= github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48= diff --git a/third_party/blst/blst.BUILD b/third_party/blst/blst.BUILD index e80ddd823..8d9c2ddd6 100644 --- a/third_party/blst/blst.BUILD +++ b/third_party/blst/blst.BUILD @@ -16,7 +16,7 @@ go_library( name = "go_default_library", srcs = [ "bindings/go/blst.go", - "bindings/go/server.c", + "bindings/go/cgo_server.c", ], cgo = True, copts = [ @@ -111,7 +111,6 @@ cc_library( "src/*.h", ], exclude = [ - "src/server.c", "src/client_*.c", ], ),