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",
|
2022-03-21 19:43:41 +00:00
|
|
|
srcs = [
|
|
|
|
"errors.go",
|
|
|
|
"fork.go",
|
|
|
|
"ordered.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-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots: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",
|
2022-03-21 19:43:41 +00:00
|
|
|
srcs = [
|
|
|
|
"fork_test.go",
|
|
|
|
"ordered_test.go",
|
|
|
|
],
|
2021-08-13 05:11:11 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-09-27 16:19:20 +00:00
|
|
|
"//beacon-chain/core/signing: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",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
"//testing/require:go_default_library",
|
2021-08-13 05:11:11 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|