prysm-pulse/config/params/testnet_prater_config_test.go

15 lines
367 B
Go
Raw Normal View History

package params_test
import (
"testing"
"github.com/prysmaticlabs/prysm/config/params"
)
func TestPraterConfigMatchesUpstreamYaml(t *testing.T) {
configFP := testnetConfigFilePath(t, "prater")
params.LoadChainConfigFile(configFP)
fields := fieldsFromYaml(t, configFP)
assertYamlFieldsMatch(t, "prater", fields, params.BeaconConfig(), params.PraterConfig())
}