lighthouse/lcli/src
Mac L 20941bc0f7 Fix off-by-one in block packing lcli (#2878)
## Issue Addressed

The current `lcli` block packing code has an off-by-one where it would include an extra slot (the oldest slot) of attestations as "available" (this means there would be 33 slots of "available" attestations instead of 32).
There is typically only single-digit attestations remaining from that slot and as such does not cause a significant change to the results although every efficiency will have been very slightly under-reported.

## Proposed Changes

Prune the `available_attestation_set` before writing out the data instead of after.

## Additional Info

This `lcli` code will soon be deprecated by a Lighthouse API (#2879)  which will run significantly faster and will be used to hook into our upcoming monitoring platform #2873.
2022-01-07 05:32:29 +00:00
..
etl Fix off-by-one in block packing lcli (#2878) 2022-01-07 05:32:29 +00:00
change_genesis_time.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
check_deposit_data.rs Update testnet tooling (#1001) 2020-04-19 02:20:43 +00:00
create_payload_header.rs Fix Uint256 deserialization (#2786) 2021-12-02 14:26:55 +11:00
deploy_deposit_contract.rs Fix local testnet scripts (#2229) 2021-03-30 05:17:58 +00:00
eth1_genesis.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
generate_bootnode_enr.rs Additional networking metrics (#2549) 2021-12-22 06:17:14 +00:00
insecure_validators.rs Fix local testnet scripts (#2229) 2021-03-30 05:17:58 +00:00
interop_genesis.rs v1.1.1 spec updates (#2684) 2021-12-02 14:26:54 +11:00
main.rs v1.1.1 spec updates (#2684) 2021-12-02 14:26:54 +11:00
new_testnet.rs v1.1.1 spec updates (#2684) 2021-12-02 14:26:54 +11:00
parse_ssz.rs Implement checkpoint sync (#2244) 2021-09-22 00:37:28 +00:00
replace_state_pubkeys.rs Update lcli pubkey replace command (#2677) 2021-12-02 14:26:53 +11:00
skip_slots.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
transition_blocks.rs Add configurable block replayer (#2863) 2021-12-21 06:30:52 +00:00