mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
Update geth to 1.12.1 (#12718)
* Update geth to 1.12.1 * Fix //cmd/validator/flags:go_default_test * fix //beacon-chain/node:go_default_test --------- Co-authored-by: Nishant Das <nishdas93@gmail.com>
This commit is contained in:
38
third_party/com_github_ethereum_c_kzg_4844.patch
vendored
Normal file
38
third_party/com_github_ethereum_c_kzg_4844.patch
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
--- a/src/BUILD.bazel 1969-12-31 18:00:00.000000000 -0600
|
||||
+++ b/src/BUILD.bazel 2023-06-14 14:04:30.351403498 -0500
|
||||
@@ -0,0 +1,8 @@
|
||||
+cc_library(
|
||||
+ name = "kzg",
|
||||
+ hdrs = [
|
||||
+ "c_kzg_4844.c",
|
||||
+ "c_kzg_4844.h",
|
||||
+ ],
|
||||
+ visibility = ["//visibility:public"],
|
||||
+)
|
||||
--- a/bindings/go/blst_headers/BUILD.bazel 1969-12-31 18:00:00.000000000 -0600
|
||||
+++ b/bindings/go/blst_headers/BUILD.bazel 2023-06-14 13:24:09.719404241 -0500
|
||||
@@ -0,0 +1,5 @@
|
||||
+cc_library(
|
||||
+ name = "hdrs",
|
||||
+ hdrs = glob(["*.h"]),
|
||||
+ visibility = ["//visibility:public"],
|
||||
+)
|
||||
--- a/bindings/go/BUILD.bazel 2023-06-14 15:06:46.875902949 -0500
|
||||
+++ b/bindings/go/BUILD.bazel 2023-06-14 15:07:05.491898747 -0500
|
||||
@@ -4,10 +4,14 @@
|
||||
go_library(
|
||||
name = "go",
|
||||
srcs = ["main.go"],
|
||||
+ cdeps = [
|
||||
+ "//bindings/go/blst_headers:hdrs",
|
||||
+ "//src:kzg",
|
||||
+ ],
|
||||
cgo = True,
|
||||
copts = [
|
||||
- "-Ibindings/go/src",
|
||||
- "-Ibindings/go/bindings/go/blst_headers",
|
||||
+ "-Iexternal/com_github_ethereum_c_kzg_4844/src",
|
||||
+ "-Iexternal/com_github_ethereum_c_kzg_4844/bindings/go/blst_headers",
|
||||
],
|
||||
importpath = "github.com/ethereum/c-kzg-4844/bindings/go",
|
||||
visibility = ["//visibility:public"],
|
||||
Reference in New Issue
Block a user