prysm-pulse/shared/params/values.go
Preston Van Loon bfdaf8a3f5
Fix config loader tests (#9348)
* don't mutate mainnet config

* add missing minimal config params

* Ensure all yaml fields were set and are correct

* gofmt

* Add sanity check that some empty yaml wasn't given

* Gazelle and deepsource feedback
2021-08-09 18:40:06 +00:00

24 lines
413 B
Go

package params
const (
Mainnet ConfigName = iota
Minimal
EndToEnd
Pyrmont
Toledo
Prater
)
// ConfigNames provides network configuration names.
var ConfigNames = map[ConfigName]string{
Mainnet: "mainnet",
Minimal: "minimal",
EndToEnd: "end-to-end",
Pyrmont: "pyrmont",
Toledo: "toledo",
Prater: "prater",
}
// ConfigName enum describes the type of known network in use.
type ConfigName = int