prysm-pulse/beacon-chain/node
Mohamed Mansour 47c28e6cd6
Show error in logs if passing invalid flags in yaml (#9033)
* Show error in logs if passing invalid flags in yaml

The YAML configs pass if an invalid flag is set, this causes frustration
because the flag could have been mispelled causing a huge mystery.

This will strictly check if the flags are deserialized, if a flag
doesn't exist, it will error out as a Fatal error with appropriate
reasoning which flag is wrong.

* Fix review comments to make some of them non-fatal

* Make yaml.TypeError a pointer

* Remove UnmarshalStrict from spectests since they use a different YAML package

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-08-01 03:26:24 +00:00
..
registration Show error in logs if passing invalid flags in yaml (#9033) 2021-08-01 03:26:24 +00:00
BUILD.bazel Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
config_test.go Fix Interop Mode (#8961) 2021-06-02 02:45:10 +00:00
config.go Fix Interop Mode (#8961) 2021-06-02 02:45:10 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
node_test.go Create node's Powchain registration file (#8754) 2021-04-14 12:54:50 +02:00
node.go Rename AttestationNotifier (#9197) 2021-07-14 18:32:03 -07:00
prometheus.go new prometheus metrics for client-stats metrics (#8834) 2021-04-30 13:37:38 -07:00