lighthouse/beacon_node/http_api/src
Daniel Ramirez Chiquillo 036b797b2c Add finalized to HTTP API responses (#3753)
## Issue Addressed

#3708 

## Proposed Changes
- Add `is_finalized_block` method to `BeaconChain` in `beacon_node/beacon_chain/src/beacon_chain.rs`.
- Add `is_finalized_state` method to `BeaconChain` in `beacon_node/beacon_chain/src/beacon_chain.rs`.
- Add `fork_and_execution_optimistic_and_finalized` in `beacon_node/http_api/src/state_id.rs`.
- Add `ExecutionOptimisticFinalizedForkVersionedResponse` type in `consensus/types/src/fork_versioned_response.rs`.
- Add `execution_optimistic_finalized_fork_versioned_response`function in  `beacon_node/http_api/src/version.rs`.
- Add `ExecutionOptimisticFinalizedResponse` type in `common/eth2/src/types.rs`.
- Add `add_execution_optimistic_finalized` method in  `common/eth2/src/types.rs`.
- Update API response methods to include finalized.
- Remove `execution_optimistic_fork_versioned_response`

Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2023-03-30 06:08:37 +00:00
..
attestation_performance.rs improve error message (#4141) 2023-03-28 22:07:05 +00:00
attester_duties.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
block_id.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
block_packing_efficiency.rs Separate execution payloads in the DB (#3157) 2022-05-12 00:42:17 +00:00
block_rewards.rs compile 2022-10-03 21:48:02 -04:00
database.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
lib.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
metrics.rs Reduce false positive logging for late builder blocks (#4073) 2023-03-17 00:44:03 +00:00
proposer_duties.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
publish_blocks.rs Reduce false positive logging for late builder blocks (#4073) 2023-03-17 00:44:03 +00:00
standard_block_rewards.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
state_id.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
sync_committee_rewards.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
sync_committees.rs Don't return errors on HTTP API for already-known messages (#3341) 2022-08-10 07:52:57 +00:00
ui.rs Cache validator balances and allow them to be served over the HTTP API (#3863) 2023-02-21 20:54:55 +00:00
validator_inclusion.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00
version.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00