prysm-pulse/beacon-chain/rpc/eth/beacon/init_test.go

13 lines
255 B
Go
Raw Normal View History

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