@@ -4265,36 +4265,6 @@ pub fn serve<T: BeaconChainTypes>(
4265
4265
} ,
4266
4266
) ;
4267
4267
4268
- // GET lighthouse/beacon/states/{state_id}/ssz
4269
- let get_lighthouse_beacon_states_ssz = warp:: path ( "lighthouse" )
4270
- . and ( warp:: path ( "beacon" ) )
4271
- . and ( warp:: path ( "states" ) )
4272
- . and ( warp:: path:: param :: < StateId > ( ) )
4273
- . and ( warp:: path ( "ssz" ) )
4274
- . and ( warp:: path:: end ( ) )
4275
- . and ( task_spawner_filter. clone ( ) )
4276
- . and ( chain_filter. clone ( ) )
4277
- . then (
4278
- |state_id : StateId ,
4279
- task_spawner : TaskSpawner < T :: EthSpec > ,
4280
- chain : Arc < BeaconChain < T > > | {
4281
- task_spawner. blocking_response_task ( Priority :: P1 , move || {
4282
- // This debug endpoint provides no indication of optimistic status.
4283
- let ( state, _execution_optimistic, _finalized) = state_id. state ( & chain) ?;
4284
- Response :: builder ( )
4285
- . status ( 200 )
4286
- . body ( state. as_ssz_bytes ( ) . into ( ) )
4287
- . map ( |res : Response < Body > | add_ssz_content_type_header ( res) )
4288
- . map_err ( |e| {
4289
- warp_utils:: reject:: custom_server_error ( format ! (
4290
- "failed to create response: {}" ,
4291
- e
4292
- ) )
4293
- } )
4294
- } )
4295
- } ,
4296
- ) ;
4297
-
4298
4268
// GET lighthouse/staking
4299
4269
let get_lighthouse_staking = warp:: path ( "lighthouse" )
4300
4270
. and ( warp:: path ( "staking" ) )
@@ -4629,7 +4599,6 @@ pub fn serve<T: BeaconChainTypes>(
4629
4599
. uor ( get_lighthouse_eth1_syncing)
4630
4600
. uor ( get_lighthouse_eth1_block_cache)
4631
4601
. uor ( get_lighthouse_eth1_deposit_cache)
4632
- . uor ( get_lighthouse_beacon_states_ssz)
4633
4602
. uor ( get_lighthouse_staking)
4634
4603
. uor ( get_lighthouse_database_info)
4635
4604
. uor ( get_lighthouse_block_rewards)
0 commit comments