prysm-pulse/beacon-chain/state/stategen/init_test.go

13 lines
257 B
Go
Raw Normal View History

package stategen
import (
"github.com/prysmaticlabs/prysm/config/params"
)
func init() {
// Override network name so that hardcoded genesis files are not loaded.
cfg := params.BeaconConfig()
cfg.ConfigName = "test"
params.OverrideBeaconConfig(cfg)
}