File tree Expand file tree Collapse file tree 2 files changed +7
-17
lines changed 
lightning-transaction-sync/tests Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
2929#  The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56
3030[ " $RUSTC_MINOR_VERSION " -lt  56 ] &&  cargo update -p quote --precise " 1.0.30" 
3131
32+ #  The syn crate depends on too-new proc-macro2 starting with v2.0.33, i.e., has MSRV of 1.56
33+ [ " $RUSTC_MINOR_VERSION " -lt  56 ] &&  cargo update -p syn:2.0.33 --precise " 2.0.32" 
34+ 
3235#  The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56
3336[ " $RUSTC_MINOR_VERSION " -lt  56 ] &&  cargo update -p proc-macro2 --precise " 1.0.65" 
3437
@@ -120,6 +123,10 @@ if [[ $RUSTC_MINOR_VERSION -gt 67 ]]; then
120123	#  lightning-transaction-sync's MSRV is 1.67
121124	cargo check --verbose --color always --features lightning-transaction-sync
122125else 
126+ 	#  The memchr crate switched to an MSRV of 1.60 starting with v2.6.0
127+ 	#  This is currently only a release dependency via core2, which we intend to work with
128+ 	#  rust-bitcoin to remove soon.
129+ 	[ " $RUSTC_MINOR_VERSION " -lt  60 ] &&  cargo update -p memchr --precise " 2.5.0" 
123130	cargo check --verbose --color always
124131fi 
125132popd 
Original file line number Diff line number Diff line change @@ -321,20 +321,3 @@ async fn test_esplora_syncs() {
321321		_ => panic ! ( "Unexpected event" ) , 
322322	} 
323323} 
324- 
325- #[ tokio:: test]  
326- #[ cfg( any( feature = "esplora-async-https" ,  feature = "esplora-blocking" ) ) ]  
327- async  fn  test_esplora_connects_to_public_server ( )  { 
328- 	let  mut  logger = TestLogger  { } ; 
329- 	let  esplora_url = "https://blockstream.info/api" . to_string ( ) ; 
330- 	let  tx_sync = EsploraSyncClient :: new ( esplora_url,  & mut  logger) ; 
331- 	let  confirmable = TestConfirmable :: new ( ) ; 
332- 
333- 	// Check we connect and pick up on new best blocks 
334- 	assert_eq ! ( confirmable. best_block. lock( ) . unwrap( ) . 1 ,  0 ) ; 
335- 	#[ cfg( feature = "esplora-async-https" ) ]  
336- 	tx_sync. sync ( vec ! [ & confirmable] ) . await . unwrap ( ) ; 
337- 	#[ cfg( feature = "esplora-blocking" ) ]  
338- 	tx_sync. sync ( vec ! [ & confirmable] ) . unwrap ( ) ; 
339- 	assert_ne ! ( confirmable. best_block. lock( ) . unwrap( ) . 1 ,  0 ) ; 
340- } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments