2022-03-21 19:43:41 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"configfork.go",
|
|
|
|
"fieldspec.go",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/encoding/ssz/detect",
|
2022-03-21 19:43:41 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-09-16 22:17:46 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-05-02 18:32:37 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//network/forks:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//runtime/version:go_default_library",
|
|
|
|
"//time/slots:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2022-06-28 13:03:24 +00:00
|
|
|
"@com_github_prysmaticlabs_fastssz//:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"configfork_test.go",
|
|
|
|
"fieldspec_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-05-02 18:32:37 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-03-21 19:43:41 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//runtime/version:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
|
|
|
"//time/slots:go_default_library",
|
|
|
|
],
|
|
|
|
)
|