mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-06 22:23:56 -05:00
* Update to Go 1.23 * Update bazel version * Update rules_go * Use toolchains_protoc * Update go_honnef_go_tools * Update golang.org/x/tools * Fix violations of SA3000 * Update errcheck by re-exporting the upstream repo * Remove problematic ginkgo and gomega test helpers. Rewrote tests without these test libraries. * Update go to 1.23.5 * gofmt with go1.23.5 * Revert Patch * Unclog * Update for go 1.23 support * Fix Lint Issues * Gazelle * Fix Build * Fix Lint * no lint * Fix lint * Fix lint * Disable intrange * Preston's review --------- Co-authored-by: Preston Van Loon <preston@pvl.dev>
19 lines
358 B
Go
19 lines
358 B
Go
package epoch_processing
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/config/params"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
prevConfig := params.BeaconConfig().Copy()
|
|
defer params.OverrideBeaconConfig(prevConfig)
|
|
c := params.BeaconConfig().Copy()
|
|
c.MinGenesisActiveValidatorCount = 16384
|
|
params.OverrideBeaconConfig(c)
|
|
|
|
os.Exit(m.Run())
|
|
}
|