Nishant Das
97f6143a43
Add Remaining Gossip Changes ( #9553 )
...
* add changes
* add changes here in
* rem duplicate import
* fix topic not being set in test
* terence's review
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-09-10 02:36:31 +00:00
Preston Van Loon
b586d3784b
Rename beacon-chain/core/state to beacon-chain/core/transition pkg ( #9530 )
...
* Move, refactor, fix
* @rkapka PR feedback: revert irrelevant changes
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-08 10:41:47 +00:00
Nishant Das
ee28dc3d4f
Add in Fork Digest For Subscribers ( #9538 )
...
* add in digest
* radek's review
* raul's review
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-09-07 16:58:24 +00:00
Preston Van Loon
4beb352e6f
Move Slot and Epoch functions from helpers to core pkg ( #9519 )
...
* Move Slot and Epoch functions from helpers to core
* limited viz
* goimports
* fix fuzz build
* fix fuzz build
* fix
* fix
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-03 20:10:31 +00:00
Nishant Das
30b2adc5d6
Add in Sync Contribution And Proof Pubsub Validator ( #9475 )
...
* add contribution handlers
* fix it
* fmt
* fix more
* add clean up
* Apply suggestions from code review
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/sync/validate_sync_contribution_proof.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* use validation pipeline
* deepsource
* fix all tests
* clean up
* comment
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-09-03 04:06:54 +00:00
Marcin Górzyński
02966e64d8
Feature lru cache wrapper 2 ( #9511 )
...
* Add Wrapper to LRU Cache to handle Invalid Parameters #9461
* Regenerate BUILD.bazel and simplify tests using lru.Cache
* Fix: fuzz_exports.go build error
* Fix: block_fuzz.go
* Revert lru.Cache interface
* Remove redundant err check in pending_attestations_queue_test.go
* Add tests for lru wrapper
* Use lru package in prysm/shared instead of lruwrpr
* Fix: goimports
* Fix: BUILD.bazel
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2021-09-02 18:36:54 +08:00
Raul Jordan
2cd2bc87d0
Sync Committee Message P2P Validations ( #9481 )
...
* add in handlers
* add topic switch
* begin refactor
* build
* revert change to sub file
* reordered
* add in handlers
* add topic switch
* fmt
* begin refactor
* build
* revert change to sub file
* reordered
* rationale for cache size
* simplify
* deep source
* kasey feedback
* ignore if not in committee
* add more unit tests
* more cov
* code review commentary
* pass tests
* commentary
* terence comments
* terence feedback on key for cache
Co-authored-by: nisdas <nishdas93@gmail.com>
2021-09-02 02:26:38 +00:00