@@ -283,7 +283,7 @@ impl ValidatorClientHttpClient {
283283
284284 /// `GET lighthouse/version`
285285 pub async fn get_lighthouse_version ( & self ) -> Result < GenericResponse < VersionData > , Error > {
286- let mut path = self . server . full . clone ( ) ;
286+ let mut path = self . server . expose_full ( ) . clone ( ) ;
287287
288288 path. path_segments_mut ( )
289289 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -295,7 +295,7 @@ impl ValidatorClientHttpClient {
295295
296296 /// `GET lighthouse/health`
297297 pub async fn get_lighthouse_health ( & self ) -> Result < GenericResponse < Health > , Error > {
298- let mut path = self . server . full . clone ( ) ;
298+ let mut path = self . server . expose_full ( ) . clone ( ) ;
299299
300300 path. path_segments_mut ( )
301301 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -309,7 +309,7 @@ impl ValidatorClientHttpClient {
309309 pub async fn get_lighthouse_spec < T : Serialize + DeserializeOwned > (
310310 & self ,
311311 ) -> Result < GenericResponse < T > , Error > {
312- let mut path = self . server . full . clone ( ) ;
312+ let mut path = self . server . expose_full ( ) . clone ( ) ;
313313
314314 path. path_segments_mut ( )
315315 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -323,7 +323,7 @@ impl ValidatorClientHttpClient {
323323 pub async fn get_lighthouse_validators (
324324 & self ,
325325 ) -> Result < GenericResponse < Vec < ValidatorData > > , 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 ( ) ) ) ?
@@ -338,7 +338,7 @@ impl ValidatorClientHttpClient {
338338 & self ,
339339 validator_pubkey : & PublicKeyBytes ,
340340 ) -> Result < Option < GenericResponse < ValidatorData > > , Error > {
341- let mut path = self . server . full . clone ( ) ;
341+ let mut path = self . server . expose_full ( ) . clone ( ) ;
342342
343343 path. path_segments_mut ( )
344344 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -354,7 +354,7 @@ impl ValidatorClientHttpClient {
354354 & self ,
355355 validators : Vec < ValidatorRequest > ,
356356 ) -> Result < GenericResponse < PostValidatorsResponseData > , Error > {
357- let mut path = self . server . full . clone ( ) ;
357+ let mut path = self . server . expose_full ( ) . clone ( ) ;
358358
359359 path. path_segments_mut ( )
360360 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -369,7 +369,7 @@ impl ValidatorClientHttpClient {
369369 & self ,
370370 request : & CreateValidatorsMnemonicRequest ,
371371 ) -> Result < GenericResponse < Vec < CreatedValidator > > , Error > {
372- let mut path = self . server . full . clone ( ) ;
372+ let mut path = self . server . expose_full ( ) . clone ( ) ;
373373
374374 path. path_segments_mut ( )
375375 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -385,7 +385,7 @@ impl ValidatorClientHttpClient {
385385 & self ,
386386 request : & KeystoreValidatorsPostRequest ,
387387 ) -> Result < GenericResponse < ValidatorData > , Error > {
388- let mut path = self . server . full . clone ( ) ;
388+ let mut path = self . server . expose_full ( ) . clone ( ) ;
389389
390390 path. path_segments_mut ( )
391391 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -401,7 +401,7 @@ impl ValidatorClientHttpClient {
401401 & self ,
402402 request : & [ Web3SignerValidatorRequest ] ,
403403 ) -> Result < ( ) , Error > {
404- let mut path = self . server . full . clone ( ) ;
404+ let mut path = self . server . expose_full ( ) . clone ( ) ;
405405
406406 path. path_segments_mut ( )
407407 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -424,7 +424,7 @@ impl ValidatorClientHttpClient {
424424 prefer_builder_proposals : Option < bool > ,
425425 graffiti : Option < GraffitiString > ,
426426 ) -> Result < ( ) , Error > {
427- let mut path = self . server . full . clone ( ) ;
427+ let mut path = self . server . expose_full ( ) . clone ( ) ;
428428
429429 path. path_segments_mut ( )
430430 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -451,7 +451,7 @@ impl ValidatorClientHttpClient {
451451 & self ,
452452 req : & DeleteKeystoresRequest ,
453453 ) -> Result < ExportKeystoresResponse , Error > {
454- let mut path = self . server . full . clone ( ) ;
454+ let mut path = self . server . expose_full ( ) . clone ( ) ;
455455
456456 path. path_segments_mut ( )
457457 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
@@ -462,7 +462,7 @@ impl ValidatorClientHttpClient {
462462 }
463463
464464 fn make_keystores_url ( & self ) -> Result < Url , Error > {
465- let mut url = self . server . full . clone ( ) ;
465+ let mut url = self . server . expose_full ( ) . clone ( ) ;
466466 url. path_segments_mut ( )
467467 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
468468 . push ( "eth" )
@@ -472,7 +472,7 @@ impl ValidatorClientHttpClient {
472472 }
473473
474474 fn make_remotekeys_url ( & self ) -> Result < Url , Error > {
475- let mut url = self . server . full . clone ( ) ;
475+ let mut url = self . server . expose_full ( ) . clone ( ) ;
476476 url. path_segments_mut ( )
477477 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
478478 . push ( "eth" )
@@ -482,7 +482,7 @@ impl ValidatorClientHttpClient {
482482 }
483483
484484 fn make_fee_recipient_url ( & self , pubkey : & PublicKeyBytes ) -> Result < Url , Error > {
485- let mut url = self . server . full . clone ( ) ;
485+ let mut url = self . server . expose_full ( ) . clone ( ) ;
486486 url. path_segments_mut ( )
487487 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
488488 . push ( "eth" )
@@ -494,7 +494,7 @@ impl ValidatorClientHttpClient {
494494 }
495495
496496 fn make_graffiti_url ( & self , pubkey : & PublicKeyBytes ) -> Result < Url , Error > {
497- let mut url = self . server . full . clone ( ) ;
497+ let mut url = self . server . expose_full ( ) . clone ( ) ;
498498 url. path_segments_mut ( )
499499 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
500500 . push ( "eth" )
@@ -506,7 +506,7 @@ impl ValidatorClientHttpClient {
506506 }
507507
508508 fn make_gas_limit_url ( & self , pubkey : & PublicKeyBytes ) -> Result < Url , Error > {
509- let mut url = self . server . full . clone ( ) ;
509+ let mut url = self . server . expose_full ( ) . clone ( ) ;
510510 url. path_segments_mut ( )
511511 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
512512 . push ( "eth" )
@@ -519,7 +519,7 @@ impl ValidatorClientHttpClient {
519519
520520 /// `GET lighthouse/auth`
521521 pub async fn get_auth ( & self ) -> Result < AuthResponse , Error > {
522- let mut url = self . server . full . clone ( ) ;
522+ let mut url = self . server . expose_full ( ) . clone ( ) ;
523523 url. path_segments_mut ( )
524524 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
525525 . push ( "lighthouse" )
@@ -635,7 +635,7 @@ impl ValidatorClientHttpClient {
635635 pubkey : & PublicKeyBytes ,
636636 epoch : Option < Epoch > ,
637637 ) -> Result < GenericResponse < SignedVoluntaryExit > , Error > {
638- let mut path = self . server . full . clone ( ) ;
638+ let mut path = self . server . expose_full ( ) . clone ( ) ;
639639
640640 path. path_segments_mut ( )
641641 . map_err ( |( ) | Error :: InvalidUrl ( self . server . clone ( ) ) ) ?
0 commit comments