Files
prysm/third_party/com_github_ethereum_c_kzg_4844_v2.patch
Preston Van Loon 1a936e2ffa Update go-ethereum to v1.16.8 (security fix release) (#16252)
**What type of PR is this?**

Other

**What does this PR do? Why is it needed?**

Updating our internal geth dependency after today's release.

**Which issues(s) does this PR fix?**

**Other notes for review**

No known security issues in Prysm. 

**Acknowledgements**

- [x] I have read
[CONTRIBUTING.md](https://github.com/prysmaticlabs/prysm/blob/develop/CONTRIBUTING.md).
- [x] I have included a uniquely named [changelog fragment
file](https://github.com/prysmaticlabs/prysm/blob/develop/CONTRIBUTING.md#maintaining-changelogmd).
- [x] I have added a description with sufficient context for reviewers
to understand this PR.
- [x] I have tested that my changes work as expected and I added a
testing plan to the PR description (if applicable).
2026-01-14 20:48:44 +00:00

45 lines
1.4 KiB
Diff

diff --git a/bindings/go/BUILD.bazel b/bindings/go/BUILD.bazel
index 7e49df7..1d476f7 100644
--- a/bindings/go/BUILD.bazel
+++ b/bindings/go/BUILD.bazel
@@ -4,10 +4,14 @@ load("@prysm//tools/go:def.bzl", "go_library")
go_library(
name = "go",
srcs = ["main.go"],
+ cdeps = [
+ "@com_github_supranational_blst//:blst",
+ "//src:kzg",
+ ],
cgo = True,
copts = [
- "-Ibindings/go/src",
- "-Ibindings/go/bindings/go/blst_headers",
+ "-Iexternal/com_github_ethereum_c_kzg_4844_v2/src",
+ "-Iexternal/com_github_supranational_blst/bindings/blst_headers",
],
importpath = "github.com/ethereum/c-kzg-4844/v2/bindings/go",
importpath_aliases = ["github.com/ethereum/c-kzg-4844/bindings/go"],
visibility = ["//visibility:public"],
diff --git a/bindings/go/blst_headers/BUILD.bazel b/bindings/go/blst_headers/BUILD.bazel
new file mode 100644
index 0000000..82cad2c
--- /dev/null
+++ b/bindings/go/blst_headers/BUILD.bazel
@@ -0,0 +1,5 @@
+cc_library(
+ name = "hdrs",
+ hdrs = glob(["*.h"]),
+ visibility = ["//visibility:public"],
+)
diff --git a/src/BUILD.bazel b/src/BUILD.bazel
new file mode 100644
index 0000000..b3f845d
--- /dev/null
+++ b/src/BUILD.bazel
@@ -0,0 +1,5 @@
+cc_library(
+ name = "kzg",
+ hdrs = glob(["ckzg.*", "*/*.c", "*/*.h"]),
+ visibility = ["//visibility:public"],
+)