mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
c21e43e4c5
* Move necessary functions beacon-chain/core/time -> time/slots * Fix fuzz * Fix build * Update slot_epoch.go
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["fork.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/network/forks",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["fork_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
],
|
|
)
|