mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-15 06:28:20 +00:00
17 lines
402 B
Go
17 lines
402 B
Go
|
package params
|
||
|
|
||
|
import (
|
||
|
"path"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/bazelbuild/rules_go/go/tools/bazel"
|
||
|
"github.com/prysmaticlabs/prysm/shared/testutil/require"
|
||
|
)
|
||
|
|
||
|
func testnetConfigFilePath(t *testing.T, network string) string {
|
||
|
filepath, err := bazel.Runfile("external/eth2_networks")
|
||
|
require.NoError(t, err)
|
||
|
configFilePath := path.Join(filepath, "shared", network, "config.yaml")
|
||
|
return configFilePath
|
||
|
}
|