mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
cbb4361c64
* Update spectests to v1.1.0 * ignore placeholder fields, fix spec config check
17 lines
469 B
Go
17 lines
469 B
Go
package params_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/config/params"
|
|
)
|
|
|
|
func TestPraterConfigMatchesUpstreamYaml(t *testing.T) {
|
|
presetFP := presetsFilePath(t, "mainnet")
|
|
params.LoadChainConfigFile(presetFP)
|
|
configFP := testnetConfigFilePath(t, "prater")
|
|
params.LoadChainConfigFile(configFP)
|
|
fields := fieldsFromYamls(t, []string{configFP, presetFP})
|
|
assertYamlFieldsMatch(t, "prater", fields, params.BeaconConfig(), params.PraterConfig())
|
|
}
|