mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-04 00:44:27 +00:00
44f9d07434
* beacon-chain/core/blocks/spectest tests updated * beacon-chain/core/blocks tests updated * beacon-chain/core/epoch tests updated * Merge branch 'master' into apply-testutils-assertions-to-core * beacon-chain/core/helpers tests updated * beacon-chain/core/validators tests updated * beacon-chain/core/state/spectest tests updated * beacon-chain/core/state tests updated * Merge refs/heads/master into apply-testutils-assertions-to-core * Merge refs/heads/master into apply-testutils-assertions-to-core * Merge refs/heads/master into apply-testutils-assertions-to-core * Merge refs/heads/master into apply-testutils-assertions-to-core * Merge refs/heads/master into apply-testutils-assertions-to-core
32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["validator_index_map.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/state/stateutils",
|
|
visibility = [
|
|
"//beacon-chain:__subpackages__",
|
|
"//shared/testutil:__pkg__",
|
|
],
|
|
deps = [
|
|
"//shared/bytesutil:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["validator_index_map_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//beacon-chain/state:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
],
|
|
)
|