prysm-pulse/shared/params/testnet_prater_config_test.go
Preston Van Loon 3d6fad3121
Update Prater config to include Altair fork epoch (#9467)
* Update Prater config after https://github.com/eth2-clients/eth2-networks/pull/58. Add tests to enforce compliance.

* gofmt

* spec: true

* fix test

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-08-25 17:18:29 +00:00

13 lines
292 B
Go

package params
import (
"testing"
)
func TestPraterConfigMatchesUpstreamYaml(t *testing.T) {
configFP := testnetConfigFilePath(t, "prater")
LoadChainConfigFile(configFP)
fields := fieldsFromYaml(t, configFP)
assertYamlFieldsMatch(t, "prater", fields, BeaconConfig(), PraterConfig())
}