2021-09-21 15:02:48 +00:00
|
|
|
package params_test
|
2021-08-25 17:18:29 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
2021-09-21 15:02:48 +00:00
|
|
|
|
|
|
|
"github.com/prysmaticlabs/prysm/shared/params"
|
2021-08-25 17:18:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestPraterConfigMatchesUpstreamYaml(t *testing.T) {
|
|
|
|
configFP := testnetConfigFilePath(t, "prater")
|
2021-09-21 15:02:48 +00:00
|
|
|
params.LoadChainConfigFile(configFP)
|
2021-08-25 17:18:29 +00:00
|
|
|
fields := fieldsFromYaml(t, configFP)
|
2021-09-21 15:02:48 +00:00
|
|
|
assertYamlFieldsMatch(t, "prater", fields, params.BeaconConfig(), params.PraterConfig())
|
2021-08-25 17:18:29 +00:00
|
|
|
}
|