mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-06 22:33:59 -05:00
**Motivation** As noted in https://github.com/ChainSafe/lodestar/pull/8680#discussion_r2624026653 we cannot sync through bellatrix anymore. While I don't think it's a big deal it's simple enough to keep that functionality as that code is pretty isolated and won't get in our way during refactors and with gloas won't be part of the block processing pipeline anymore due to block/payload separation. **Description** Restore code required to perform sync through bellatrix - re-added `isExecutionEnabled()` and `isMergeTransitionComplete()` checks during block processing - enabled some spec tests again that were previously skipped - mostly copied original code removed in [#8680](https://github.com/ChainSafe/lodestar/pull/8680) but cleaned up some comments and simplified a bit
lodestar-fork-choice
This package is part of ChainSafe's Lodestar project
Lodestar implementation of the Ethereum Consensus fork choice.
Usage
See usage in the lodestar package here:
0cf18e3bed/packages/lodestar/src/chain/forkChoice/forkChoice.ts (L17)
License
Apache-2.0 ChainSafe Systems