mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* save stuff * fix in v1 * clean up more * fix bugs * add comments and clean up * add flag + test * add tests * fmt * radek's review * gaz * kasey's review * gaz and new conditional * improve naming
21 lines
490 B
Go
21 lines
490 B
Go
package epoch_processing
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/config/features"
|
|
"github.com/prysmaticlabs/prysm/config/params"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
prevConfig := params.BeaconConfig().Copy()
|
|
defer params.OverrideBeaconConfig(prevConfig)
|
|
c := params.BeaconConfig()
|
|
c.MinGenesisActiveValidatorCount = 16384
|
|
params.OverrideBeaconConfig(c)
|
|
resetCfg := features.InitWithReset(&features.Flags{EnableBalanceTrieComputation: true})
|
|
defer resetCfg()
|
|
|
|
m.Run()
|
|
}
|