59ec6b71b8
## Issue Addressed Closes https://github.com/sigp/lighthouse/issues/2371 ## Proposed Changes Backport some changes from `tree-states` that remove duplicated calculations of the `proposer_index`. With this change the proposer index should be calculated only once for each block, and then plumbed through to every place it is required. ## Additional Info In future I hope to add more data to the consensus context that is cached on a per-epoch basis, like the effective balances of validators and the base rewards. There are some other changes to remove indexing in tests that were also useful for `tree-states` (the `tree-states` types don't implement `Index`). |
||
---|---|---|
.. | ||
block_root.rs | ||
change_genesis_time.rs | ||
check_deposit_data.rs | ||
create_payload_header.rs | ||
deploy_deposit_contract.rs | ||
eth1_genesis.rs | ||
generate_bootnode_enr.rs | ||
indexed_attestations.rs | ||
insecure_validators.rs | ||
interop_genesis.rs | ||
main.rs | ||
new_testnet.rs | ||
parse_ssz.rs | ||
replace_state_pubkeys.rs | ||
skip_slots.rs | ||
transition_blocks.rs |