2021-08-13 05:11:11 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-04-19 02:32:53 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["fork.go"],
|
2021-09-17 19:20:50 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/network/forks",
|
2020-04-19 02:32:53 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-09-03 20:10:31 +00:00
|
|
|
"//beacon-chain/core:go_default_library",
|
2020-04-19 02:32:53 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-08-13 05:11:11 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-04-19 02:32:53 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-04-19 02:32:53 +00:00
|
|
|
],
|
|
|
|
)
|
2021-08-13 05:11:11 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["fork_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-08-13 05:11:11 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|