prysm-pulse/beacon-chain/core/helpers
terence tsao 7ad2929f0f
Revamp proposer cache to fix lookahead bug (#7442)
* Add and test proposer indices cache

* Remove proposer indices usages from committee cache

* Adopt the new proposer indices cache

* Add comments on why genesis epoch is skipped

* Fix the failing tests

* Update beacon-chain/blockchain/process_block.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/core/helpers/committee.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/core/helpers/slot_epoch.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/core/helpers/slot_epoch.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/core/helpers/slot_epoch_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/core/helpers/validators.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Address additional feedbacks from @prestonvanloon

* Add comments on why genesis epoch is skipped

* Refactor EndSlot to use StartSlot within

* Add proposer indices disabled

* Add libfuzz tags

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-10-07 17:25:08 +00:00
..
spectest Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
attestation_test.go Remove unused SlotSignature function (#7447) 2020-10-06 23:55:37 +00:00
attestation.go Remove unused SlotSignature function (#7447) 2020-10-06 23:55:37 +00:00
block_test.go Applies assertion funcs to beacon-chain/core/* tests (#6940) 2020-08-10 10:34:33 +00:00
block.go Add overflow check for StartSlot (#7149) 2020-09-02 02:52:36 +00:00
BUILD.bazel Replace Roughtime With Timeutils Across Prysm (#7301) 2020-09-22 19:49:58 +08:00
committee_test.go Revamp proposer cache to fix lookahead bug (#7442) 2020-10-07 17:25:08 +00:00
committee.go Revamp proposer cache to fix lookahead bug (#7442) 2020-10-07 17:25:08 +00:00
randao_test.go Applies assertion funcs to beacon-chain/core/* tests (#6940) 2020-08-10 10:34:33 +00:00
randao.go Remove duplicated randao mix copy (#6420) 2020-06-26 18:27:48 +00:00
rewards_penalties_test.go Applies assertion funcs to beacon-chain/core/* tests (#6940) 2020-08-10 10:34:33 +00:00
rewards_penalties.go Address spec adherence feedbacks (#6365) 2020-06-24 03:14:44 +00:00
shuffle_test.go Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
shuffle.go Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
signing_root_test.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
signing_root.go Miscellaneous code quality improvements (#7414) 2020-10-04 15:03:10 +00:00
slot_epoch_test.go Revamp proposer cache to fix lookahead bug (#7442) 2020-10-07 17:25:08 +00:00
slot_epoch.go Revamp proposer cache to fix lookahead bug (#7442) 2020-10-07 17:25:08 +00:00
validators_test.go Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
validators.go Revamp proposer cache to fix lookahead bug (#7442) 2020-10-07 17:25:08 +00:00