lighthouse/beacon_node/http_api/tests
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
..
common.rs Support for Ipv6 (#4046) 2023-03-14 01:13:34 +00:00
fork_tests.rs Broadcast address changes at Capella (#3919) 2023-02-07 17:13:49 +11:00
interactive_tests.rs Optimise payload attributes calculation and add SSE (#4027) 2023-03-05 23:43:30 +00:00
main.rs Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
tests.rs Add finalized to HTTP API responses (#3753) 2023-03-30 06:08:37 +00:00