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

13 lines
259 B
Go
Raw Normal View History

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