mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
c94ba40db2
* config: ensure config matches altair presets * gofmt Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Radosław Kapka <rkapka@wp.pl>
19 lines
499 B
Go
19 lines
499 B
Go
package params_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/config/params"
|
|
)
|
|
|
|
func TestPraterConfigMatchesUpstreamYaml(t *testing.T) {
|
|
presetFPs := presetsFilePath(t, "mainnet")
|
|
for _, fp := range presetFPs {
|
|
params.LoadChainConfigFile(fp)
|
|
}
|
|
configFP := testnetConfigFilePath(t, "prater")
|
|
params.LoadChainConfigFile(configFP)
|
|
fields := fieldsFromYamls(t, append(presetFPs, configFP))
|
|
assertYamlFieldsMatch(t, "prater", fields, params.BeaconConfig(), params.PraterConfig())
|
|
}
|