mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Gate the withdrawal sweep optimization (using min of validator count and MaxValidatorsPerWithdrawalsSweep) behind a hidden feature flag that defaults to false. Enable the flag for spectests to match consensus spec. The backported changes were from [4788](https://github.com/ethereum/consensus-specs/pull/4788) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
1008 B
Python
34 lines
1008 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
testonly = True,
|
|
srcs = [
|
|
"config.go",
|
|
"utils.go",
|
|
],
|
|
importpath = "github.com/OffchainLabs/prysm/v7/testing/spectest/utils",
|
|
visibility = ["//testing/spectest:__subpackages__"],
|
|
deps = [
|
|
"//config/features:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//io/file:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"@com_github_ghodss_yaml//:go_default_library",
|
|
"@com_github_json_iterator_go//:go_default_library",
|
|
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["config_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|