2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-10-15 18:00:49 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-05-25 01:02:01 +00:00
|
|
|
srcs = [
|
|
|
|
"enums.go",
|
2021-07-27 20:42:14 +00:00
|
|
|
"v1alpha1_to_v1.go",
|
2021-12-01 17:39:43 +00:00
|
|
|
"v1alpha1_to_v2.go",
|
2021-05-25 01:02:01 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/proto/migration",
|
2020-10-15 18:00:49 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-08-26 15:22:06 +00:00
|
|
|
"//proto/eth/v2:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-10-15 18:00:49 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2021-03-01 13:52:07 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-05-25 01:02:01 +00:00
|
|
|
srcs = [
|
|
|
|
"enums_test.go",
|
2021-07-27 20:42:14 +00:00
|
|
|
"v1alpha1_to_v1_test.go",
|
2021-05-25 01:02:01 +00:00
|
|
|
],
|
2021-03-01 13:52:07 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-06-02 23:49:52 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-03-01 13:52:07 +00:00
|
|
|
],
|
|
|
|
)
|