prysm-pulse/beacon-chain
kmax.eth 1619d880d4
fix TestSyncHandlers_WaitTillSynced (#10328)
* fix TestLockUnlock_CleansUnused

* fix TestSyncHandlers_WaitTillSynced
The test is failing silently (while go test showing 'PASS') due to panic caused by feed type mismatch. As a result, intended testing logic is not exercised at all. There are a couuple fixes here:
1. fix the feed event type to be pointer
2. add seendCache to avoid nil pointer panic
3. fill block in beaconDB so validateBeaconBlockPubSub gets short cut
4. replace time.Sleep() with deterministic channel waiting

* handle cancel func
2022-03-09 05:42:03 +00:00
..
blockchain Forkchoice featureflag (#10299) 2022-03-09 03:05:51 +00:00
cache Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
core Renaming Random in ExecutionPayloads to PrevRandao (#10283) 2022-02-26 03:47:16 +00:00
db Forkchoice featureflag (#10299) 2022-03-09 03:05:51 +00:00
deterministic-genesis Cleanup Powchain Service (#10259) 2022-02-18 14:13:31 +00:00
forkchoice Forkchoice featureflag (#10299) 2022-03-09 03:05:51 +00:00
gateway Register v1alpha2 endpoints in the gateway (#9768) 2021-10-12 15:13:52 +00:00
monitor Minor cleanups on monitor service (#10013) 2021-12-15 20:42:20 +00:00
node Forkchoice featureflag (#10299) 2022-03-09 03:05:51 +00:00
operations Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
p2p Add Better Error Logs for Context Deadlines (#10310) 2022-03-04 16:21:19 +00:00
package Move Miscellaneous Shared/ Packages Into Semantic Groups (#9624) 2021-09-17 19:20:50 +00:00
powchain RPC: add prepare execution payload (#10311) 2022-03-07 18:43:20 +00:00
rpc Forkchoice featureflag (#10299) 2022-03-09 03:05:51 +00:00
server API Middleware for Keymanager Standard API Endpoints (#9936) 2021-12-07 20:26:21 +00:00
slasher Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
state Remove Support for 2d-list Hashers (#10290) 2022-03-04 15:19:07 +00:00
sync fix TestSyncHandlers_WaitTillSynced (#10328) 2022-03-09 05:42:03 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05: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.