prysm-pulse/beacon-chain/powchain/init_test.go

13 lines
257 B
Go
Raw Normal View History

package powchain
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)
}