prysm-pulse/beacon-chain
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
..
blockchain Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
cache Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
core Core/deposit: refactor blocks.ProcessDeposit for less complex altair implementation (#9305) 2021-07-31 23:42:07 +00:00
db Reduce memory overhead during DB migrations (#9298) 2021-07-30 08:38:54 -05:00
forkchoice Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
gateway Eliminate Proto V2 Namespace (#9297) 2021-07-28 21:23:44 +00:00
interop-cold-start Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
node Show error in logs if passing invalid flags in yaml (#9033) 2021-08-01 03:26:24 +00:00
operations Fix more duplicated import prefix (#9306) 2021-07-30 18:05:38 +00:00
p2p Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
package Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
powchain Only Create Deposit Proofs Pre-Genesis (#9289) 2021-07-30 18:33:31 +00:00
rpc Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
server Retrieve validators through v1 API in e2e (#9117) 2021-06-29 09:47:59 -05:00
slasher/types Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
state Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
sync Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.