prysm-pulse/beacon-chain/rpc/eth/beacon/init_test.go
2021-08-16 13:11:25 +02:00

13 lines
255 B
Go

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