@@ -173,7 +173,7 @@ pub struct DepositLog {
173173impl BeaconNodeHttpClient {
174174 /// `GET lighthouse/health`
175175 pub async fn get_lighthouse_health ( & self ) -> Result < GenericResponse < Health > , Error > {
176- let mut path = self . server . full . clone ( ) ;
176+ let mut path = self . server . expose_full ( ) . clone ( ) ;
177177
178178 path. path_segments_mut ( )
179179 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -185,7 +185,7 @@ impl BeaconNodeHttpClient {
185185
186186 /// `GET lighthouse/syncing`
187187 pub async fn get_lighthouse_syncing ( & self ) -> Result < GenericResponse < SyncState > , Error > {
188- let mut path = self . server . full . clone ( ) ;
188+ let mut path = self . server . expose_full ( ) . clone ( ) ;
189189
190190 path. path_segments_mut ( )
191191 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -197,7 +197,7 @@ impl BeaconNodeHttpClient {
197197
198198 /// `GET lighthouse/custody/info`
199199 pub async fn get_lighthouse_custody_info ( & self ) -> Result < CustodyInfo , Error > {
200- let mut path = self . server . full . clone ( ) ;
200+ let mut path = self . server . expose_full ( ) . clone ( ) ;
201201
202202 path. path_segments_mut ( )
203203 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -210,7 +210,7 @@ impl BeaconNodeHttpClient {
210210
211211 /// `POST lighthouse/custody/backfill`
212212 pub async fn post_lighthouse_custody_backfill ( & self ) -> Result < ( ) , Error > {
213- let mut path = self . server . full . clone ( ) ;
213+ let mut path = self . server . expose_full ( ) . clone ( ) ;
214214
215215 path. path_segments_mut ( )
216216 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -231,7 +231,7 @@ impl BeaconNodeHttpClient {
231231
232232 /// `GET lighthouse/proto_array`
233233 pub async fn get_lighthouse_proto_array ( & self ) -> Result < GenericResponse < ProtoArray > , Error > {
234- let mut path = self . server . full . clone ( ) ;
234+ let mut path = self . server . expose_full ( ) . clone ( ) ;
235235
236236 path. path_segments_mut ( )
237237 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -246,7 +246,7 @@ impl BeaconNodeHttpClient {
246246 & self ,
247247 epoch : Epoch ,
248248 ) -> Result < GenericResponse < GlobalValidatorInclusionData > , Error > {
249- let mut path = self . server . full . clone ( ) ;
249+ let mut path = self . server . expose_full ( ) . clone ( ) ;
250250
251251 path. path_segments_mut ( )
252252 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -264,7 +264,7 @@ impl BeaconNodeHttpClient {
264264 epoch : Epoch ,
265265 validator_id : ValidatorId ,
266266 ) -> Result < GenericResponse < Option < ValidatorInclusionData > > , Error > {
267- let mut path = self . server . full . clone ( ) ;
267+ let mut path = self . server . expose_full ( ) . clone ( ) ;
268268
269269 path. path_segments_mut ( )
270270 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -278,7 +278,7 @@ impl BeaconNodeHttpClient {
278278
279279 /// `POST lighthouse/database/reconstruct`
280280 pub async fn post_lighthouse_database_reconstruct ( & self ) -> Result < String , Error > {
281- let mut path = self . server . full . clone ( ) ;
281+ let mut path = self . server . expose_full ( ) . clone ( ) ;
282282
283283 path. path_segments_mut ( )
284284 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -291,7 +291,7 @@ impl BeaconNodeHttpClient {
291291
292292 /// `POST lighthouse/add_peer`
293293 pub async fn post_lighthouse_add_peer ( & self , req : AdminPeer ) -> Result < ( ) , Error > {
294- let mut path = self . server . full . clone ( ) ;
294+ let mut path = self . server . expose_full ( ) . clone ( ) ;
295295
296296 path. path_segments_mut ( )
297297 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -303,7 +303,7 @@ impl BeaconNodeHttpClient {
303303
304304 /// `POST lighthouse/remove_peer`
305305 pub async fn post_lighthouse_remove_peer ( & self , req : AdminPeer ) -> Result < ( ) , Error > {
306- let mut path = self . server . full . clone ( ) ;
306+ let mut path = self . server . expose_full ( ) . clone ( ) ;
307307
308308 path. path_segments_mut ( )
309309 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -323,7 +323,7 @@ impl BeaconNodeHttpClient {
323323 start_slot : Slot ,
324324 end_slot : Slot ,
325325 ) -> Result < Vec < BlockReward > , Error > {
326- let mut path = self . server . full . clone ( ) ;
326+ let mut path = self . server . expose_full ( ) . clone ( ) ;
327327
328328 path. path_segments_mut ( )
329329 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -344,7 +344,7 @@ impl BeaconNodeHttpClient {
344344 start_epoch : Epoch ,
345345 end_epoch : Epoch ,
346346 ) -> Result < Vec < BlockPackingEfficiency > , Error > {
347- let mut path = self . server . full . clone ( ) ;
347+ let mut path = self . server . expose_full ( ) . clone ( ) ;
348348
349349 path. path_segments_mut ( )
350350 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -366,7 +366,7 @@ impl BeaconNodeHttpClient {
366366 end_epoch : Epoch ,
367367 target : String ,
368368 ) -> Result < Vec < AttestationPerformance > , Error > {
369- let mut path = self . server . full . clone ( ) ;
369+ let mut path = self . server . expose_full ( ) . clone ( ) ;
370370
371371 path. path_segments_mut ( )
372372 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
0 commit comments