lodestar
lodestar copied to clipboard
🌟 TypeScript Implementation of Ethereum Consensus
**Describe the bug** Function `getEffectiveBalanceIncrementsZeroInactive` says https://github.com/ChainSafe/lodestar/blob/0de01443f1f4cfa6efc12783c5783f0035e4e29f/packages/state-transition/src/util/balance.ts#L57-L58 But immediately after mutates the balances setting them to zero https://github.com/ChainSafe/lodestar/blob/0de01443f1f4cfa6efc12783c5783f0035e4e29f/packages/state-transition/src/util/balance.ts#L66-L67 So the .slice() **MUST** copy the array as it will be mutated...
**Motivation** Adds ability for a lodestar full node to serve light client related data via p2p. Implements the [Altair Light Client -- Networking](https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/light-client/p2p-interface.md) spec **Description** - [x] Implement the Req/Resp...
**Describe the bug** From 0.41.0 (or even before that time), gossipsub score is not great **Expected behavior** Average gossipsub score should be close to 0
**Motivation** - Spin-off from https://github.com/ChainSafe/lodestar/pull/4345 with a useful change **Description** - Reduce one pipe level in ReqResp handler - Move timeout test to main ReqResp handler function
**Motivation** We want to get the latest libp2p, gossipsub, etc updates. **Description** TODO: - more type errors - [x] https://github.com/multiformats/js-multiaddr/pull/247 - not needed - [x] https://github.com/libp2p/js-libp2p-interfaces/issues/227 - [x] merge conflicts...
**Motivation** Post merge, engine can give optimistic `syncing` status on fcU heads which can (should be) eventually resolved into `valid`/`invalid`. This need to be propagated to forkchoice and remove the...
**Motivation** Having archive logic far away from BeaconChain class has the negative side-effect of complicating logic and making it harder to provide flow control guarantees that don't break prunning. The...
**Is your feature request related to a problem? Please describe.** In other to further harmonise the REST endpoint for light client, prefix the paths with `beacon`. That is ` /eth2/v1/light_client...
**Is your feature request related to a problem? Please describe.** I observed recently that some code was pushed without proper linting to the PR, which result in the failure of...
**Motivation** - Very similar motivation to https://github.com/ChainSafe/lodestar/pull/4379 The current code organization of this files is extremely old (from almost 3y ago), and requires many dependencies of BeaconChain to be made...