prysm-pulse/beacon-chain/db/kv/init_test.go

13 lines
251 B
Go
Raw Normal View History

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