mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 10:41:19 +00:00
8bab55d88e
* Create block generation util in testutil * Gazelle * Fix deps * Fix imports * Change tests to use config and fix integer division * Remove logs * Fix build * Add test to ensure finalization occurs * Add check for finalization * Add comment for incrementing the state * Fix test * Fix tes * Fix testutil us * Fix tests * Change var name * Add regression test for bug with large validator count * Fix bazel test
28 lines
778 B
Python
28 lines
778 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "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 = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["validator_index_map_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//proto/eth/v1alpha1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
],
|
|
)
|