Files
prysm/runtime/version/BUILD.bazel
terencechain d17996f8b0 Update to V4 🚀 (#12134)
* Update V3 from V4

* Fix build v3 -> v4

* Update ssz

* Update beacon_chain.pb.go

* Fix formatter import

* Update update-mockgen.sh comment to v4

* Fix conflicts. Pass build and tests

* Fix test
2023-03-17 18:52:56 +00:00

29 lines
771 B
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"fork.go",
"metrics.go",
"version.go",
],
importpath = "github.com/prysmaticlabs/prysm/v4/runtime/version",
visibility = ["//visibility:public"],
x_defs = {
"gitCommit": "{STABLE_GIT_COMMIT}",
"buildDate": "{DATE}",
"buildDateUnix": "{DATE_UNIX}",
"gitTag": "{STABLE_GIT_TAG}",
},
deps = [
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["fork_test.go"],
embed = [":go_default_library"],
)