@@ -385,8 +385,6 @@ mod test {
385385 . move_to_terminal_block ( )
386386 . unwrap ( ) ;
387387
388- // println!("Beacon node spec: {:?}", beacon_node.harness.chain.spec);
389-
390388 Self {
391389 exit_config : None ,
392390 src_import_builder : None ,
@@ -417,8 +415,6 @@ mod test {
417415 . await ;
418416 let mut builder = ImportTestBuilder :: new_with_vc ( vc) . await ;
419417
420- // println!("Validator client spec: {:?}", builder.vc.spec);
421-
422418 self . vc_token =
423419 Some ( fs:: read_to_string ( builder. get_import_config ( ) . vc_token_path ) . unwrap ( ) ) ;
424420
@@ -450,14 +446,6 @@ mod test {
450446
451447 let beacon_url = SensitiveUrl :: parse ( self . beacon_node . client . as_ref ( ) ) . unwrap ( ) ;
452448
453- println ! (
454- "Validator pubkey on beacon chain = {:?}" ,
455- index_of_validators_to_exit
456- . iter( )
457- . map( |& index| & self . beacon_node. harness. validator_keypairs[ index] . pk)
458- . collect:: <Vec <_>>( )
459- ) ;
460-
461449 let validators_to_exit = index_of_validators_to_exit
462450 . iter ( )
463451 . map ( |& index| {
@@ -483,8 +471,6 @@ mod test {
483471 )
484472 . unwrap ( ) ;
485473
486- //println!("{:?}", builder.get_import_config());
487-
488474 self . exit_config = Some ( ExitConfig {
489475 vc_url : import_config. vc_url ,
490476 vc_token_path : import_config. vc_token_path ,
@@ -518,7 +504,6 @@ mod test {
518504 }
519505
520506 let path = self . exit_config . clone ( ) . unwrap ( ) . vc_token_path ;
521- let url = self . exit_config . clone ( ) . unwrap ( ) . vc_url ;
522507 let parent = path. parent ( ) . unwrap ( ) ;
523508
524509 fs:: create_dir_all ( parent) . expect ( "Was not able to create parent directory" ) ;
@@ -533,17 +518,9 @@ mod test {
533518 . write_all ( self . vc_token . clone ( ) . unwrap ( ) . as_bytes ( ) )
534519 . unwrap ( ) ;
535520
536- let ( _, validators) = vc_http_client ( url, path) . await . unwrap ( ) ;
537- println ! ( "Validators pubkey on VC = {:?}" , validators) ;
538-
539521 // Advance beacon chain
540522 self . beacon_node . harness . advance_slot ( ) ;
541523
542- println ! (
543- "current slot_first_advance_slot: {:?}" ,
544- self . beacon_node. harness. get_current_slot( )
545- ) ;
546-
547524 self . beacon_node
548525 . harness
549526 . extend_chain (
@@ -553,35 +530,6 @@ mod test {
553530 )
554531 . await ;
555532
556- println ! (
557- "current slot_extend_chain: {:?}" ,
558- self . beacon_node. harness. get_current_slot( )
559- ) ;
560-
561- self . beacon_node . harness . advance_slot ( ) ;
562-
563- println ! (
564- "current slot_second_advance_slot: {:?}" ,
565- self . beacon_node. harness. get_current_slot( )
566- ) ;
567-
568- let validator_to_exit = self . exit_config . as_ref ( ) . unwrap ( ) . validators_to_exit [ 0 ] ;
569- println ! ( "Attempting to exit validator {:?}" , validator_to_exit) ;
570-
571- let mut current_state = self . beacon_node . harness . get_current_state ( ) ;
572- let validator_index = current_state
573- . get_validator_index ( & validator_to_exit)
574- . expect ( "should find validator" ) ;
575- let validator = & current_state
576- . validators ( )
577- . get ( validator_index. unwrap ( ) )
578- . expect ( "validator should exist" ) ;
579-
580- println ! (
581- "validator status: activation_epoch={},exit_epoch{}" ,
582- validator. activation_epoch, validator. exit_epoch
583- ) ;
584-
585533 let result = run :: < E > ( self . exit_config . clone ( ) . unwrap ( ) ) . await ;
586534
587535 if result. is_ok ( ) {
0 commit comments